Skip to main content

List studies

GET/studies

The workspace's studies, newest first, with counts of people.

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/studies" \
-H "Authorization: Bearer $JEAN_API_KEY"

Query​

NameTypeRequiredNotes
status"draft", "running", "finished"no
limitintegernoDefault 25, at most 100.
cursorstringnoThe nextCursor of the previous page.

Response · 200​

FieldTypeRequiredNotes
studies[]object[]yes
studies[].idstringyesA UUID.
studies[].titlestringyes
studies[].status"draft", "running", "finished"yes
studies[].peopleWantedintegeryes
studies[].finishedintegeryesPeople who finished.
studies[].passedintegeryesOf the people who finished, how many passed the quality check.
studies[].heldForReviewintegeryesOf the people who finished, how many are held and wait for review: not yet counted or left out by a person.
studies[].hasResultsbooleanyes
studies[].urlstringyes
totalintegeryes
byStatusobjectyesHow many studies of the kind asked for are in each status, counted over all of them, not this page.
byStatus.draftintegeryes
byStatus.runningintegeryes
byStatus.finishedintegeryes
nextCursorstringnoPresent when there is another page: pass it as ?cursor=. Absent on the last page.
The full response schema
{
"type": "object",
"properties": {
"studies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A UUID."
},
"title": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"draft",
"running",
"finished"
]
},
"peopleWanted": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"finished": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "People who finished."
},
"passed": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Of the people who finished, how many passed the quality check."
},
"heldForReview": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Of the people who finished, how many are held and wait for review: not yet counted or left out by a person."
},
"hasResults": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"title",
"status",
"peopleWanted",
"finished",
"passed",
"heldForReview",
"hasResults",
"url"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"byStatus": {
"type": "object",
"properties": {
"draft": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"running": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"finished": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"draft",
"running",
"finished"
],
"additionalProperties": false,
"description": "How many studies of the kind asked for are in each status, counted over all of them, not this page."
},
"nextCursor": {
"description": "Present when there is another page: pass it as ?cursor=. Absent on the last page.",
"type": "string"
}
},
"required": [
"studies",
"total",
"byStatus"
],
"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