Skip to main content

Check an import

GET/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​

NameTypeRequiredNotes
importIdstring (UUID)yes

Response · 200​

FieldTypeRequiredNotes
importobjectyes
import.idstringyes
import.namestringyes
import.status"open", "promoted"yes
import.sourcestringyes
import.mayTrainbooleanyesTrue only when a member attested in the app that the people agreed to models being built of them.
import.studyIdstring or nullyes
import.filesobjectyesHow many files are in each status.
import.conversationsintegeryesConversations that can become interviews: not duplicates, nothing to fix.
import.createdAtstringyes
import.urlstringyes
files[]object[]yes
files[].idstringyes
files[].namestringyes
files[].status"received", "waiting", "needs_mapping", "ready", "failed", "promoted"yes
files[].reasonstring or nullyes
files[].parserstring or nullyes
files[].mappingobject or nullyes
conversations[]object[]yes
conversations[].idstringyes
conversations[].fileIdstringyes
conversations[].titlestringyes
conversations[].speakers[]string[]yes
conversations[].participantWordsintegeryes
conversations[].problemstring or nullyes
conversations[].duplicatebooleanyes
conversations[].interviewIdstring or nullyes
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​

StatusMeaning
400The request is not valid: the body is not JSON, a field is wrong (listed in errors), or a required Idempotency-Key is missing.
401No key or token, or one that is wrong, expired or revoked.
403The key or connection lacks the scope this operation needs. scope names it.
404No such address, or no study (or conversation) with that id in this workspace. Another workspace's id is answered the same way.
409The 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.
429Too 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.
503The language model is not available. Try again later.

Every error is application/problem+json, the same shape on every endpoint.

API overview · OpenAPI document