Pause, resume, stop or add places to a listing
/studies/{id}/recruiting/changeChanges a study's live paid listing, as the study page's controls do. pause stops new people arriving for now and resume starts it again: one call each, nothing charged. stop ends recruiting for good and cannot be undone; credit for places nobody filled is given back once nobody is still taking it. It takes two calls: the first changes nothing and returns a code valid 10 minutes, the second, with confirm, stops. add_places adds places (never more than the design wants) and spends: two calls, the first returns the price of the added places and a code bound to that number and price, the second adds them for exactly that price. Show the researcher the first call's answer and ask before the second. With one live listing listingId may be left out; get_recruiting gives the ids. (The MCP tool change_recruiting.)
Scope recruiting: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/studies/STUDY_ID/recruiting/change" \
-H "Authorization: Bearer $JEAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "pause"
}'
An Idempotency-Key header is optional here and makes a retry safe. See idempotency.
Path
| Name | Type | Required | Notes |
|---|---|---|---|
id | string (UUID) | yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
action | "pause", "resume", "stop", "add_places" | yes | |
listingId | string | no | The listing, from get_recruiting. Needed only when the study has more than one live listing. At most 64 characters. |
places | integer | no | For add_places: how many places to add. 1 to 2000. |
confirm | string | no | For stop and add_places: the code the first call returned. At most 100 characters. |
Response · 200
| Field | Type | Required | Notes |
|---|---|---|---|
done | boolean | yes | |
confirmationCode | string or null | yes | |
said | string | yes | |
listing | object or null | yes | |
listing.id | string | yes | |
listing.state | "being prepared", "not published", "being published", "recruiting", "paused", "finished", "stopped", "failed" | yes | |
listing.places | integer | yes | |
listing.rewardMinor | integer | yes | What each person is paid, in US cents. |
listing.minutes | integer | yes | The length the listing advertises. |
listing.priceMinor | integer or null | yes | The listing's price: on Jean's account the one recruiting price; on the workspace's own account what that account pays the panel. |
listing.audienceApplied | string | yes | Who the panel shows the listing to: the filters it applies. |
listing.notApplied[] | object[] | yes | Parts of the audience the panel cannot filter on. |
listing.screenerEnforces | boolean | yes | Whether the study has screening questions, which turn away people who do not fit. |
listing.quality | object or null | yes | The quality bar the listing was made with. Null for none. |
priceMinor | integer or null | yes | For add_places: the price of the added places, as agreed. |
creditAvailableMinor | integer or null | yes | |
consoleUrl | string | yes |
The full response schema
{
"type": "object",
"properties": {
"done": {
"type": "boolean"
},
"confirmationCode": {
"type": [
"string",
"null"
]
},
"said": {
"type": "string"
},
"listing": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"being prepared",
"not published",
"being published",
"recruiting",
"paused",
"finished",
"stopped",
"failed"
]
},
"places": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"rewardMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "What each person is paid, in US cents."
},
"minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "The length the listing advertises."
},
"priceMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "The listing's price: on Jean's account the one recruiting price; on the workspace's own account what that account pays the panel."
},
"audienceApplied": {
"type": "string",
"description": "Who the panel shows the listing to: the filters it applies."
},
"notApplied": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"why": {
"type": "string"
}
},
"required": [
"attribute",
"values",
"why"
],
"additionalProperties": false
},
"description": "Parts of the audience the panel cannot filter on."
},
"screenerEnforces": {
"type": "boolean",
"description": "Whether the study has screening questions, which turn away people who do not fit."
},
"quality": {
"anyOf": [
{
"type": "object",
"properties": {
"minApprovalRate": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Lowest approval rate on the panel, in percent."
},
"minPastStudies": {
"type": "integer",
"minimum": 0,
"maximum": 100000,
"description": "Fewest past approved studies on the panel."
}
},
"required": [
"minApprovalRate",
"minPastStudies"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The quality bar the listing was made with. Null for none."
}
},
"required": [
"id",
"state",
"places",
"rewardMinor",
"minutes",
"priceMinor",
"audienceApplied",
"notApplied",
"screenerEnforces",
"quality"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"priceMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "For add_places: the price of the added places, as agreed."
},
"creditAvailableMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"consoleUrl": {
"type": "string"
}
},
"required": [
"done",
"confirmationCode",
"said",
"listing",
"priceMinor",
"creditAvailableMinor",
"consoleUrl"
],
"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.