Skip to main content

Start an import

POST/imports

Starts an import: a batch to bring interviews the workspace already has (call transcripts, interview notes, survey exports with open answers) into Jean. Add conversations with add_import_text, check them with get_import, then promote_import to turn them into a study's interviews. Nothing counts until it is promoted. The people in imported conversations did not consent through Jean: an import carries the right to analyse only; any right to build models of them is attested by a member in the app. Names of speakers and contact details are taken out of the stored text unless switched off. Calls no model. (The MCP tool create_import.)

Scope studies:write · Credential a workspace API key (jean_sk_…, make one in the Jean app) or an OAuth access token. See scopes.

curl --fail-with-body -X POST "https://app.jeantechnologies.com/api/v1/imports" \
-H "Authorization: Bearer $JEAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Churn interviews"
}'

An Idempotency-Key header is optional here and makes a retry safe. See idempotency.

Body​

FieldTypeRequiredNotes
namestringyesWhat the conversations are, for example "Churn calls, October". Becomes the study's title. 1 to 120 characters.
questionstringnoThe research question they were about, if there was one. At most 500 characters.
scrubNamesbooleannoReplace speakers' names in the text with their role. Default true.
scrubContactsbooleannoTake email addresses, phone numbers and long numbers out of the text. Default true.

Response · 200​

FieldTypeRequiredNotes
importIdstringyes
urlstringyes
The full response schema
{
"type": "object",
"properties": {
"importId": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"importId",
"url"
],
"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