Juno
API reference

Set study mode

set_study_mode Requires studies:write · studies:golive when mode=live

Set the established mode wire field. 'test' means Test mode: no credits, analysis, exports, or real participant research. 'live' means Live mode: participant interviews deduct credits and enable analysis and exports; setting it is the API equivalent of Go live. 'paused' and 'closed' are technical collection states. The first Go live runs validation and needs studies:golive; other changes need studies:write. Returns the settled value plus the invite link.

Input

study_id
string <uuid>

Unique study id returned by Juno.

mode
enum("test", "live", "paused", "closed")

Target lifecycle value. 'test' and 'live' map to Test mode and Live mode; setting 'live' is the API equivalent of Go live and needs the studies:golive scope. 'paused' and 'closed' are technical collection states; 'paused' is only valid from live. Setting the current value is a no-op.

tools/call
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_study_mode",
    "arguments": {
      "study_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "mode": "test"
    }
  }
}