Check an import
/imports/{importId}One import: each file with its status (received: being read; waiting: with Jean's team, a kind of file (such as a PDF, a slide deck or a recording) a person at Jean prepares by hand, which can take some time, and the member is emailed when it is ready; needs_mapping: someone must say who is the interviewer and who the participant, or what the columns are; ready; failed, with the reason; promoted) and each conversation found, with its speakers, how many words the participant said, and why it cannot be used if it cannot. No words of the conversations: preview_import_conversation shows those. Calls no model. (The MCP tool get_import.)
Scope studies:read · Credential a workspace API key (jean_sk_…, make one in the Jean app) or an OAuth access token. See scopes.
curl --fail-with-body "https://app.jeantechnologies.com/api/v1/imports/IMPORT_ID" \
-H "Authorization: Bearer $JEAN_API_KEY"
Path
| Name | Type | Required | Notes |
|---|---|---|---|
importId | string (UUID) | yes |
Response · 200
| Field | Type | Required | Notes |
|---|---|---|---|
import | object | yes | |
import.id | string | yes | |
import.name | string | yes | |
import.status | "open", "promoted" | yes | |
import.source | string | yes | |
import.mayTrain | boolean | yes | True only when a member attested in the app that the people agreed to models being built of them. |
import.studyId | string or null | yes | |
import.files | object | yes | How many files are in each status. |
import.conversations | integer | yes | Conversations that can become interviews: not duplicates, nothing to fix. |
import.createdAt | string | yes | |
import.url | string | yes | |
files[] | object[] | yes | |
files[].id | string | yes | |
files[].name | string | yes | |
files[].status | "received", "waiting", "needs_mapping", "ready", "failed", "promoted" | yes | |
files[].reason | string or null | yes | |
files[].parser | string or null | yes | |
files[].mapping | object or null | yes | |
conversations[] | object[] | yes | |
conversations[].id | string | yes | |
conversations[].fileId | string | yes | |
conversations[].title | string | yes | |
conversations[].speakers[] | string[] | yes | |
conversations[].participantWords | integer | yes | |
conversations[].problem | string or null | yes | |
conversations[].duplicate | boolean | yes | |
conversations[].interviewId | string or null | yes |
The full response schema
{
"type": "object",
"properties": {
"import": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"open",
"promoted"
]
},
"source": {
"type": "string"
},
"mayTrain": {
"type": "boolean",
"description": "True only when a member attested in the app that the people agreed to models being built of them."
},
"studyId": {
"type": [
"string",
"null"
]
},
"files": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "How many files are in each status."
},
"conversations": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Conversations that can become interviews: not duplicates, nothing to fix."
},
"createdAt": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name",
"status",
"source",
"mayTrain",
"studyId",
"files",
"conversations",
"createdAt",
"url"
],
"additionalProperties": false
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"received",
"waiting",
"needs_mapping",
"ready",
"failed",
"promoted"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"parser": {
"type": [
"string",
"null"
]
},
"mapping": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"status",
"reason",
"parser",
"mapping"
],
"additionalProperties": false
}
},
"conversations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"fileId": {
"type": "string"
},
"title": {
"type": "string"
},
"speakers": {
"type": "array",
"items": {
"type": "string"
}
},
"participantWords": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"problem": {
"type": [
"string",
"null"
]
},
"duplicate": {
"type": "boolean"
},
"interviewId": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"fileId",
"title",
"speakers",
"participantWords",
"problem",
"duplicate",
"interviewId"
],
"additionalProperties": false
}
}
},
"required": [
"import",
"files",
"conversations"
],
"additionalProperties": false
}
Errors
| Status | Meaning |
|---|---|
400 | The request is not valid: the body is not JSON, a field is wrong (listed in errors), or a required Idempotency-Key is missing. |
401 | No key or token, or one that is wrong, expired or revoked. |
403 | The key or connection lacks the scope this operation needs. scope names it. |
404 | No such address, or no study (or conversation) with that id in this workspace. Another workspace's id is answered the same way. |
409 | The study is not in a state that allows this (the detail says what to do instead), or the Idempotency-Key was used with a different request. |
429 | Too many requests from this key or connection, or the workspace has reached its hourly or daily limit for model calls (title "Workspace model limit reached", window says which). Retry-After says when to try again. |
503 | The language model is not available. Try again later. |
Every error is application/problem+json, the same shape on every endpoint.