Skip to main content

Read a report version as data

GET/studies/{id}/reports/{reportId}

One frozen version of a study's report as structured data: every section, every count with its base and its base-size caution, every quote (exact words, participant label, segment, clip reference), every chart as a specification (kind, bars, base, caution) to redraw in any format without recomputing a number. Twins are in twins alone and are never people. A quote whose interview no longer counts is taken out and counted in withdrawn. Use it to build a deliverable of your own; never change a number or a quote it gives. Calls no model. (The MCP tool get_report.)

Scope results: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/STUDY_ID/reports/REPORT_ID" \
-H "Authorization: Bearer $JEAN_API_KEY"

Path​

NameTypeRequiredNotes
idstring (UUID)yes
reportIdstring (UUID)yes

Response · 200​

FieldTypeRequiredNotes
versionintegeryes
reportobjectyes
untrustedContentNoticestringyes
The full response schema
{
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"report": {
"type": "object",
"properties": {
"schema": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
}
]
},
"studyId": {
"type": "string"
},
"title": {
"type": "string"
},
"studyTitle": {
"type": "string"
},
"decision": {
"type": "string"
},
"basis": {
"type": "string",
"enum": [
"people",
"rehearsal"
]
},
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unit": {
"type": "string"
},
"builtAt": {
"type": "string"
},
"zone": {
"type": "string"
},
"fingerprint": {
"type": "string"
},
"brief": {
"type": "object",
"properties": {
"answer": {
"type": "string"
},
"by": {
"type": "string",
"enum": [
"model",
"regenerated",
"code"
]
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"pending": {
"type": [
"string",
"null"
]
},
"unread": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answer",
"by",
"base",
"pending",
"unread"
],
"additionalProperties": false
},
"objectives": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"text": {
"type": "string"
},
"answer": {
"type": "string"
},
"by": {
"type": "string",
"enum": [
"model",
"regenerated",
"code"
]
},
"questionIds": {
"type": "array",
"items": {
"type": "string"
}
},
"themeIds": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"answered",
"partly",
"not collected"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string"
}
},
"missing": {
"type": "string"
}
},
"required": [
"id",
"text",
"answer",
"by",
"questionIds",
"themeIds",
"note"
],
"additionalProperties": false
}
},
"hypotheses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"statement": {
"type": "string"
},
"verdict": {
"type": "string",
"enum": [
"supports",
"partly",
"contradicts",
"unclear"
]
},
"text": {
"type": "string"
},
"by": {
"type": "string",
"enum": [
"model",
"regenerated",
"code"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string"
}
},
"missing": {
"type": "string"
}
},
"required": [
"id",
"statement",
"verdict",
"text",
"by"
],
"additionalProperties": false
}
},
"participants": {
"type": "object",
"properties": {
"designed": {
"type": "object",
"properties": {
"people": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"country": {
"type": "string"
},
"description": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"rule": {
"type": "string",
"enum": [
"must",
"must_not",
"prefer"
]
},
"values": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name",
"rule",
"values"
],
"additionalProperties": false
}
},
"quotas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"segment": {
"type": "string"
},
"option": {
"type": "string"
},
"max": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"segment",
"option",
"max"
],
"additionalProperties": false
}
}
},
"required": [
"people",
"country",
"description",
"attributes",
"quotas"
],
"additionalProperties": false
},
"outcomes": {
"type": "object",
"properties": {
"passed": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"held": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"screenedOut": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"stopped": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"abandoned": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"inProgress": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"passed",
"held",
"screenedOut",
"stopped",
"abandoned",
"inProgress"
],
"additionalProperties": false
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"segment": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"value",
"count"
],
"additionalProperties": false
}
},
"without": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"segment",
"values",
"without"
],
"additionalProperties": false
}
},
"quotaCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"segment": {
"type": "string"
},
"option": {
"type": "string"
},
"max": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"reached": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"segment",
"option",
"max",
"reached"
],
"additionalProperties": false
}
},
"heldBy": {
"type": "array",
"items": {
"type": "object",
"properties": {
"reason": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"reason",
"count"
],
"additionalProperties": false
}
}
},
"required": [
"designed",
"outcomes",
"segments",
"quotaCells",
"heldBy"
],
"additionalProperties": false
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"percent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interval": {
"type": "array",
"prefixItems": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
],
"items": false,
"minItems": 2,
"maxItems": 2
},
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"origin": {
"type": "string",
"enum": [
"model",
"researcher"
]
},
"quoteIds": {
"type": "array",
"items": {
"type": "string"
}
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
}
},
"required": [
"count",
"of",
"id",
"title",
"description",
"origin",
"quoteIds",
"base"
],
"additionalProperties": false
}
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"themeId": {
"type": "string"
},
"text": {
"type": "string",
"minLength": 1
},
"en": {
"type": "string"
},
"participant": {
"type": "string"
},
"segments": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"interviewId": {
"type": "string"
},
"clip": {
"anyOf": [
{
"type": "object",
"properties": {
"momentId": {
"type": "string"
},
"interviewId": {
"type": "string"
},
"startMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"endMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"momentId",
"interviewId",
"startMs",
"endMs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"themeId",
"text",
"participant",
"segments",
"interviewId",
"clip"
],
"additionalProperties": false
}
},
"charts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"questionId": {
"type": "string"
},
"question": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"single",
"multi",
"scale",
"rank",
"number"
]
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bars": {
"type": "array",
"items": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"percent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interval": {
"type": "array",
"prefixItems": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
],
"items": false,
"minItems": 2,
"maxItems": 2
},
"label": {
"type": "string"
},
"lead": {
"type": "boolean"
}
},
"required": [
"count",
"of",
"label",
"lead"
],
"additionalProperties": false
}
},
"summary": {
"type": "string"
},
"note": {
"type": "string"
},
"caution": {
"type": "string"
},
"objectiveIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"questionId",
"question",
"kind",
"base",
"answered",
"bars",
"summary",
"note",
"caution",
"objectiveIds"
],
"additionalProperties": false
}
},
"methods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"figures": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "bars"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"unit": {
"type": "string",
"enum": [
"count",
"percent",
"score"
]
},
"domain": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
},
"diverging": {
"type": "boolean"
},
"bars": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "number"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interval": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
},
"lead": {
"type": "boolean"
},
"detail": {
"type": "string"
},
"group": {
"type": "string"
}
},
"required": [
"label",
"value",
"lead",
"detail",
"group"
],
"additionalProperties": false
}
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"unit",
"domain",
"diverging",
"bars"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "lines"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"x": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"unit": {
"type": "string"
},
"prefix": {
"type": "string"
}
},
"required": [
"label",
"unit",
"prefix"
],
"additionalProperties": false
},
"y": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"unit": {
"type": "string",
"enum": [
"percent",
"count",
"money",
"index"
]
},
"domain": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"label",
"unit",
"domain"
],
"additionalProperties": false
},
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"style": {
"type": "string",
"enum": [
"solid",
"dashed",
"dotted"
]
},
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"label",
"style",
"points"
],
"additionalProperties": false
}
},
"markers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": [
"number",
"null"
]
},
"kind": {
"type": "string",
"enum": [
"point",
"vline"
]
}
},
"required": [
"id",
"label",
"x",
"y",
"kind"
],
"additionalProperties": false
}
},
"range": {
"anyOf": [
{
"type": "object",
"properties": {
"from": {
"type": "number"
},
"to": {
"type": "number"
},
"label": {
"type": "string"
}
},
"required": [
"from",
"to",
"label"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"x",
"y",
"series",
"markers",
"range"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "stack"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"percent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tone": {
"type": "string",
"enum": [
"low",
"mid",
"high"
]
}
},
"required": [
"label",
"count",
"of",
"tone"
],
"additionalProperties": false
}
},
"score": {
"anyOf": [
{
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "number"
},
"interval": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"segments",
"score"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grid"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"rowLabel": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"id",
"label"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"cells": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"lead": {
"type": "string"
},
"detail": {
"type": "string"
}
},
"required": [
"label",
"of",
"cells",
"lead",
"detail"
],
"additionalProperties": false
}
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"rowLabel",
"columns",
"rows"
],
"additionalProperties": false
}
]
}
},
"cautions": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"methodId",
"group",
"name",
"title",
"n",
"answered",
"base",
"lines",
"figures",
"cautions",
"data"
],
"additionalProperties": false
}
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"segment": {
"type": "string"
},
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"without": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"text": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"text",
"options"
],
"additionalProperties": false
}
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"counts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"questionId": {
"type": "string"
},
"option": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"questionId",
"option",
"count"
],
"additionalProperties": false
}
}
},
"required": [
"value",
"base",
"counts"
],
"additionalProperties": false
}
}
},
"required": [
"segment",
"n",
"without",
"questions",
"columns"
],
"additionalProperties": false
}
},
"twins": {
"type": "object",
"properties": {
"run": {
"anyOf": [
{
"type": "object",
"properties": {
"question": {
"type": "string"
},
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"builtFromTestScripts": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"shares": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"percent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"label",
"percent"
],
"additionalProperties": false
}
},
"model": {
"type": "string"
},
"askedAt": {
"type": "string"
},
"apart": {
"anyOf": [
{
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"shares": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"percent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"label",
"percent"
],
"additionalProperties": false
}
}
},
"required": [
"n",
"shares"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"question",
"n",
"builtFromTestScripts",
"shares",
"model",
"askedAt",
"apart"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"run"
],
"additionalProperties": false
},
"method": {
"type": "object",
"properties": {
"recruitment": {
"type": "object",
"properties": {
"panel": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"link": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"script": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"panel",
"link",
"script"
],
"additionalProperties": false
},
"firstStarted": {
"type": [
"string",
"null"
]
},
"lastCompleted": {
"type": [
"string",
"null"
]
},
"voice": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"text": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"medianMinutes": {
"type": [
"number",
"null"
]
},
"quality": {
"type": "object",
"properties": {
"passed": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"held": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"overriddenByPerson": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"passed",
"held",
"overriddenByPerson"
],
"additionalProperties": false
},
"models": {
"type": "object",
"properties": {
"interviewing": {
"type": "array",
"items": {
"type": "string"
}
},
"analysis": {
"type": "array",
"items": {
"type": "string"
}
},
"report": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"interviewing",
"analysis",
"report"
],
"additionalProperties": false
},
"themeEdits": {
"anyOf": [
{
"type": "object",
"properties": {
"changes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"by": {
"type": "string"
},
"at": {
"type": "string"
}
},
"required": [
"changes",
"by",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"codeWritten": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"resultsBuiltAt": {
"type": "string"
},
"cautions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"recruitment",
"firstStarted",
"lastCompleted",
"voice",
"text",
"medianMinutes",
"quality",
"models",
"themeEdits",
"codeWritten",
"resultsBuiltAt",
"cautions"
],
"additionalProperties": false
},
"withdrawn": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"answerFirst": {
"type": "object",
"properties": {
"decision": {
"type": "string"
},
"answer": {
"type": "string"
},
"by": {
"type": "string",
"enum": [
"model",
"regenerated",
"code"
]
},
"confidence": {
"type": "string",
"enum": [
"firm",
"indicative",
"thin"
]
},
"proofs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"theme",
"option",
"point",
"top-two",
"bottom-two",
"first",
"last",
"answered",
"method"
]
},
"questionId": {
"type": "string"
},
"what": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"scope": {
"type": "string",
"enum": [
"exact",
"answered"
]
},
"line": {
"type": "string"
}
},
"required": [
"ref",
"kind",
"what",
"count",
"of",
"interviewIds",
"line"
],
"additionalProperties": false
}
}
},
"required": [
"decision",
"answer",
"by",
"confidence",
"proofs"
],
"additionalProperties": false
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"open",
"single",
"multi",
"scale",
"number",
"rank",
"attention"
]
},
"text": {
"type": "string"
},
"stimulus": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"text",
"image",
"link"
]
},
"label": {
"type": "string"
}
},
"required": [
"kind",
"label"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"objectiveIds": {
"type": "array",
"items": {
"type": "string"
}
},
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"closed": {
"anyOf": [
{
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "single"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"label": {
"type": "string"
}
},
"required": [
"ref",
"count",
"interviewIds",
"label"
],
"additionalProperties": false
}
},
"topTwo": {
"anyOf": [
{
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds",
"labels"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"bottomTwo": {
"anyOf": [
{
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds",
"labels"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"options",
"topTwo",
"bottomTwo"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "multi"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"label": {
"type": "string"
}
},
"required": [
"ref",
"count",
"interviewIds",
"label"
],
"additionalProperties": false
}
},
"topTwo": {
"anyOf": [
{
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds",
"labels"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"bottomTwo": {
"anyOf": [
{
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds",
"labels"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"options",
"topTwo",
"bottomTwo"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "scale"
},
"min": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"max": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minLabel": {
"type": "string"
},
"maxLabel": {
"type": "string"
},
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"value": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"ref",
"count",
"interviewIds",
"value"
],
"additionalProperties": false
}
},
"mean": {
"type": [
"number",
"null"
]
},
"topTwo": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds"
],
"additionalProperties": false
},
"bottomTwo": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds"
],
"additionalProperties": false
}
},
"required": [
"kind",
"min",
"max",
"minLabel",
"maxLabel",
"points",
"mean",
"topTwo",
"bottomTwo"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "rank"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"averagePosition": {
"type": [
"number",
"null"
]
},
"first": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds"
],
"additionalProperties": false
},
"last": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"ref",
"count",
"interviewIds"
],
"additionalProperties": false
}
},
"required": [
"label",
"averagePosition",
"first",
"last"
],
"additionalProperties": false
}
}
},
"required": [
"kind",
"options"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "number"
},
"unit": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"low": {
"type": [
"number",
"null"
]
},
"high": {
"type": [
"number",
"null"
]
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"interviewId": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"interviewId",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"kind",
"unit",
"median",
"low",
"high",
"values"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
},
"themes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ref": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"interviewId": {
"type": "string"
},
"turnId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"main": {
"type": "boolean"
}
},
"required": [
"label",
"text",
"interviewId"
],
"additionalProperties": false
}
},
"universal": {
"type": "boolean"
},
"folded": {
"type": "array",
"items": {
"type": "string"
}
},
"origin": {
"type": "string",
"enum": [
"model",
"researcher"
]
}
},
"required": [
"id",
"ref",
"title",
"description",
"count",
"of",
"interviewIds",
"quotes",
"universal",
"folded",
"origin"
],
"additionalProperties": false
}
},
"hiddenThemes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ref": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"interviewId": {
"type": "string"
},
"turnId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"main": {
"type": "boolean"
}
},
"required": [
"label",
"text",
"interviewId"
],
"additionalProperties": false
}
},
"universal": {
"type": "boolean"
},
"folded": {
"type": "array",
"items": {
"type": "string"
}
},
"origin": {
"type": "string",
"enum": [
"model",
"researcher"
]
},
"hidden": {
"type": "string",
"const": "thin"
}
},
"required": [
"id",
"ref",
"title",
"description",
"count",
"of",
"interviewIds",
"quotes",
"universal",
"folded",
"origin"
],
"additionalProperties": false
}
},
"reasons": {
"anyOf": [
{
"type": "object",
"properties": {
"questionId": {
"type": "string"
},
"byAnswer": {
"type": "array",
"items": {
"type": "object",
"properties": {
"answer": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"themes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"title": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"ref",
"title",
"count"
],
"additionalProperties": false
}
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"interviewId": {
"type": "string"
},
"turnId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"main": {
"type": "boolean"
}
},
"required": [
"label",
"text",
"interviewId"
],
"additionalProperties": false
}
}
},
"required": [
"answer",
"count",
"interviewIds",
"themes",
"quotes"
],
"additionalProperties": false
}
}
},
"required": [
"questionId",
"byAnswer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"explains": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"position",
"kind",
"text",
"stimulus",
"objectiveIds",
"answered",
"closed",
"themes",
"reasons",
"explains"
],
"additionalProperties": false
}
},
"respondents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"interviewId": {
"type": "string"
},
"label": {
"type": "string"
},
"quality": {
"type": "string",
"enum": [
"passed",
"held"
]
},
"heldFor": {
"type": "array",
"items": {
"type": "string"
}
},
"segments": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"summary": {
"anyOf": [
{
"type": "object",
"properties": {
"who": {
"type": "string"
},
"did": {
"type": "string"
},
"distinctive": {
"type": "string"
}
},
"required": [
"who",
"did",
"distinctive"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"summaryBy": {
"anyOf": [
{
"type": "string",
"enum": [
"model",
"code"
]
},
{
"type": "null"
}
]
},
"closed": {
"type": "array",
"items": {
"type": "object",
"properties": {
"questionId": {
"type": "string"
},
"answer": {
"type": "string"
}
},
"required": [
"questionId",
"answer"
],
"additionalProperties": false
}
},
"answers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"questionId": {
"type": "string"
},
"turnIds": {
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
}
},
"required": [
"questionId",
"turnIds"
],
"additionalProperties": false
}
},
"themes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"interviewId",
"label",
"quality",
"heldFor",
"segments",
"summary",
"summaryBy",
"closed",
"answers",
"themes"
],
"additionalProperties": false
}
},
"evidence": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"ref": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"theme",
"option",
"point",
"top-two",
"bottom-two",
"first",
"last",
"answered",
"method"
]
},
"questionId": {
"type": "string"
},
"what": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interviewIds": {
"type": "array",
"items": {
"type": "string"
}
},
"scope": {
"type": "string",
"enum": [
"exact",
"answered"
]
}
},
"required": [
"ref",
"kind",
"what",
"count",
"of",
"interviewIds"
],
"additionalProperties": false
}
},
"positions": {
"type": "object",
"properties": {
"version": {
"type": "number"
},
"key": {
"type": "string"
},
"objectives": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"disagreement": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"refused": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"required": [
"version",
"key",
"objectives",
"disagreement",
"refused"
],
"additionalProperties": {}
},
"kind": {
"type": "string",
"enum": [
"people",
"synthetic",
"scripted"
]
},
"figure": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"head": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"kind",
"head"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"highlights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"label": {
"type": "string"
},
"interviewId": {
"type": "string"
},
"turnId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"en": {
"type": "string"
},
"about": {
"type": "string"
},
"side": {
"type": "string"
}
},
"required": [
"text",
"label",
"interviewId",
"about"
],
"additionalProperties": false
}
}
},
"required": [
"schema",
"studyId",
"title",
"studyTitle",
"decision",
"basis",
"n",
"unit",
"builtAt",
"fingerprint",
"brief",
"objectives",
"hypotheses",
"participants",
"findings",
"quotes",
"charts",
"segments",
"twins",
"method",
"withdrawn"
],
"additionalProperties": false
},
"untrustedContentNotice": {
"type": "string"
}
},
"required": [
"version",
"report",
"untrustedContentNotice"
],
"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