Skip to main content

API overview

JSON over HTTPS. One base URL, one bearer header, one error shape. Field names are camelCase.

https://app.jeantechnologies.com/api/v1

The reference pages are generated from the OpenAPI 3.1 document the API publishes, which is itself generated from the routes and schemas the API validates with. Download it, or read it live at /api/v1/openapi.json (no key needed).

Credentials​

Authorization: Bearer jean_sk_...
Content-Type: application/json

Either of two tokens:

  • An API key, jean_sk_…, made by an owner or admin in the Jean app: sign in, then Admin console, API keys. Shown once. See the quickstart.
  • An OAuth access token, issued to an MCP client that a person connected. See MCP.

The key fixes the workspace: no workspace id appears in any path. A key or grant acts as the person who made it, with that person's role at the time of each request; it stops working when it is revoked or that person leaves the workspace.

Scopes​

Every endpoint is one operation, and every operation needs one scope. Each reference page names its scope.

ScopeAllowsIn a new key
studies:readList and read studies, their designs, counts and versions; estimates; folders; imports; methods; example studies; recruiting status and the credit; helpyes
studies:writeDraft studies and change their designs, in words or exactly; apply methods; start a study from an example; duplicate; save personas; folders; import existing interviewsyes
studies:launchLaunch a draft; finish a running studyno
conversations:readList conversations; read a transcript word for word; cleaned transcripts; the answer grid; an import's conversationsyes
results:readRead results, the twins' answer, evidence, method figures and reports; ask questions of the interviews; search answers; segments; personas; past panel questions; follow a synthetic runyes
results:writeWrite results now; build reports; make and revoke public links; decide quality; ask a panel; run synthetic respondentsyes
recruiting:writeRecruit paid participants and spend the workspace's creditno

A valid key without the scope gets 403, with the missing scope named in scope.

Errors​

Errors are application/problem+json (RFC 9457):

{
"type": "about:blank",
"title": "Not found",
"status": 404,
"detail": "No study with that id in this workspace. Use GET /studies to see the ids.",
"requestId": "..."
}

A validation error lists each wrong field in errors: [{ path, message }]. A 403 names the missing scope in scope. Every error names the request in requestId; quote it when you write to us.

StatusMeaning
400The body is not JSON, a field is wrong (listed in errors), a cursor was not one this API gave out, 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.
404No such address, or no study (or conversation) with that id in this workspace. Another workspace's id is answered the same way.
405A known address with another method. Allow lists the ones it takes.
409The study is not in a state that allows this (detail says what to do instead), the Idempotency-Key was used with a different request, or the workspace is short of credit for a synthetic run or panel question (below).
429Too many requests, or the workspace's model limit. Retry-After says when to try again.
500Jean could not complete the request. It is safe to try again once; if it fails again, write to us with the requestId.
503The language model is not available. Try again later.

Short of credit. With billing on, a synthetic run or a synthetic panel question takes a fixed price from the workspace's credit. If the credit does not cover it, nothing starts and the answer is a 409 titled "Not enough credit" with code: "insufficient_credit", the amounts in cents (priceMinor, availableMinor, shortMinor, suggestedTopUpMinor), mayAddCredit (false for a key whose person is not an admin) and addCreditUrl, the address where an admin adds credit. Give that address to whoever can add it.

The checks run in this order, so the first one that fails is the one you see: who is calling (401), the request limit (429), the address (404, 405), the study the path names (404), the scope (403), the Idempotency-Key (400, 409), validation (400), then the operation (409, 503).

Limits​

LimitPerValue
Requests, REST and MCP togetherAPI key or OAuth grant120 a minute
Operations that call the language modelAPI key or OAuth grant60 an hour
Model calls across every key and personWorkspace5,000 an hour, 25,000 a day
Synthetic respondents in one runRun50
Synthetic respondents startedWorkspace150 a day

Interviews in progress are counted apart and never refused. Every authenticated response carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset (seconds) and RateLimit-Policy. A refused request is a 429 with Retry-After. The windows are fixed, so up to twice a limit can pass across a window's edge.

Reference pages say when an operation calls the model.

Idempotency​

Every POST accepts an Idempotency-Key header, 1 to 200 characters. The first successful response is kept for 24 hours and replayed, with Idempotent-Replay: true, for the same key, path and body. The same key with a different path or body is a 409. A failed request is not kept, so it can be retried with the same key. Keys are per workspace.

Launching a study requires one.

curl -X POST "https://app.jeantechnologies.com/api/v1/studies/$STUDY_ID/launch" \
-H "Authorization: Bearer $JEAN_API_KEY" \
-H "Idempotency-Key: launch-$STUDY_ID"

Pagination​

Lists take ?limit= and ?cursor=. A response carries nextCursor when there is another page; on the last page the field is absent. Cursors are opaque.

curl "https://app.jeantechnologies.com/api/v1/studies?limit=25&cursor=$NEXT" \
-H "Authorization: Bearer $JEAN_API_KEY"

Request ids​

Every response carries X-Request-Id, the same id the server logs the request under.

What the API does not do​

Nothing over the API deletes: studies, folders and participants' data are deleted in the app. Keys, webhooks, team members, workspace settings and billing are managed in the app too.