Juno
API reference

Start export

POST /v1/api/exports Requires export:read

In Live mode, export completed participant interviews as CSV — transcripts and answers with the organisation's PII-redaction settings applied. Test-mode simulations cannot be exported. Exports run in the background: this returns a job_id; poll Check export status, then fetch the file from Download an export once ready.

Request body application/json

study_id
string <uuid>

Study whose Live-mode participant interviews to export.

format
ExportFormat

Export format. Only 'csv' is supported today.

Responses

202 Successful Response
job_id
string

Export job handle. Poll GET /v1/api/exports/{job_id} until ready.

422 Validation Error
ValidationError[]
cURL
curl -X POST 'https://api.heyjuno.co/v1/api/exports' \
  -H 'Authorization: Bearer $JUNO_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "study_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "format": "csv"
}'
Example response
{
  "job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}