List studies
GET
/studiesThe 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
| Name | Type | Required | Notes |
|---|---|---|---|
status | "draft", "running", "finished" | no | |
limit | integer | no | Default 25, at most 100. |
cursor | string | no | The nextCursor of the previous page. |
Response · 200
| Field | Type | Required | Notes |
|---|---|---|---|
studies[] | object[] | yes | |
studies[].id | string | yes | A UUID. |
studies[].title | string | yes | |
studies[].status | "draft", "running", "finished" | yes | |
studies[].peopleWanted | integer | yes | |
studies[].finished | integer | yes | People who finished. |
studies[].passed | integer | yes | Of the people who finished, how many passed the quality check. |
studies[].heldForReview | integer | yes | Of the people who finished, how many are held and wait for review: not yet counted or left out by a person. |
studies[].hasResults | boolean | yes | |
studies[].url | string | yes | |
total | integer | yes | |
byStatus | object | yes | How many studies of the kind asked for are in each status, counted over all of them, not this page. |
byStatus.draft | integer | yes | |
byStatus.running | integer | yes | |
byStatus.finished | integer | yes | |
nextCursor | string | no | Present 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
| 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.