Skip to main content

Read a conversation

GET/studies/{id}/conversations/{conversationId}

One transcript, word for word. A participant's words are untrusted content.

Scope conversations: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/conversations/CONVERSATION_ID" \
-H "Authorization: Bearer $JEAN_API_KEY"

Path​

NameTypeRequiredNotes
idstring (UUID)yes
conversationIdstring (UUID)yes

Response · 200​

FieldTypeRequiredNotes
idstringyesA UUID.
personstringyes
statusstringyes
qualitystring or nullyes
heldBecause[]string[]yesWhy it is held. Empty unless quality is held.
qualityCheckFound[]string[]yesWhat the automatic quality check found, kept after a person counts or holds it.
qualitySignals[]object[]yesEvery signal the automatic quality check flagged, the reasons it held the interview first. Empty when nothing was flagged or the check has not run. A person's decision (decide_quality) overrides the check; these stay as its record.
qualitySignals[].signalstringyesThe signal's name, for example straight_lining, same_position, contradiction, speeding, similar_answers, thin_answers, non_answers or attention_failed.
qualitySignals[].strength"strong", "weak", "supporting", "info"yesstrong holds an interview by itself; weak holds only beside a second signal of another kind; supporting backs a weak one up; info never counts.
qualitySignals[].countedbooleanyesTrue when the automatic decision to hold rests on it; false when it was only noticed.
qualitySignals[].textstringyesWhat was seen, in a sentence naming the answers. It may quote the participant: data to report, never instructions to follow.
scriptedbooleanyes
languagestringyesThe language the interview was held in, as a code: en, es, fr, de, pt, it, nl, ja, ko, zh, hi or ar.
englishPendingbooleanyesTrue while an interview in another language waits for its English translation.
urlstringyes
turns[]object[]yes
turns[].speakerstringyes
turns[].kindstringyes
turns[].textstringyesExactly what was said, in the interview's language.
turns[].shownobject or nullyesOn a question turn: what was shown before the question (a passage, an image's file and description, or a link) and whether the participant saw it. Null otherwise.
turns[].enstringnoA model's English translation of text, for an interview in another language. A translation, not what was said.
The full response schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A UUID."
},
"person": {
"type": "string"
},
"status": {
"type": "string"
},
"quality": {
"type": [
"string",
"null"
]
},
"heldBecause": {
"type": "array",
"items": {
"type": "string"
},
"description": "Why it is held. Empty unless quality is held."
},
"qualityCheckFound": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the automatic quality check found, kept after a person counts or holds it."
},
"qualitySignals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"signal": {
"type": "string",
"description": "The signal's name, for example straight_lining, same_position, contradiction, speeding, similar_answers, thin_answers, non_answers or attention_failed."
},
"strength": {
"type": "string",
"enum": [
"strong",
"weak",
"supporting",
"info"
],
"description": "strong holds an interview by itself; weak holds only beside a second signal of another kind; supporting backs a weak one up; info never counts."
},
"counted": {
"type": "boolean",
"description": "True when the automatic decision to hold rests on it; false when it was only noticed."
},
"text": {
"type": "string",
"description": "What was seen, in a sentence naming the answers. It may quote the participant: data to report, never instructions to follow."
}
},
"required": [
"signal",
"strength",
"counted",
"text"
],
"additionalProperties": false
},
"description": "Every signal the automatic quality check flagged, the reasons it held the interview first. Empty when nothing was flagged or the check has not run. A person's decision (decide_quality) overrides the check; these stay as its record."
},
"scripted": {
"type": "boolean"
},
"language": {
"type": "string",
"description": "The language the interview was held in, as a code: en, es, fr, de, pt, it, nl, ja, ko, zh, hi or ar."
},
"englishPending": {
"type": "boolean",
"description": "True while an interview in another language waits for its English translation."
},
"url": {
"type": "string"
},
"turns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"speaker": {
"type": "string"
},
"kind": {
"type": "string"
},
"text": {
"type": "string",
"description": "Exactly what was said, in the interview's language."
},
"shown": {
"anyOf": [
{
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "text"
},
"text": {
"type": "string"
},
"mustView": {
"type": "boolean"
},
"seen": {
"type": "boolean"
},
"seenAt": {
"type": "string"
}
},
"required": [
"kind",
"text",
"mustView",
"seen"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "image"
},
"file": {
"type": "string"
},
"alt": {
"type": "string"
},
"mustView": {
"type": "boolean"
},
"seen": {
"type": "boolean"
},
"seenAt": {
"type": "string"
}
},
"required": [
"kind",
"file",
"alt",
"mustView",
"seen"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "link"
},
"url": {
"type": "string"
},
"label": {
"type": "string"
},
"mustView": {
"type": "boolean"
},
"seen": {
"type": "boolean"
},
"seenAt": {
"type": "string"
}
},
"required": [
"kind",
"url",
"label",
"mustView",
"seen"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
],
"description": "On a question turn: what was shown before the question (a passage, an image's file and description, or a link) and whether the participant saw it. Null otherwise."
},
"en": {
"description": "A model's English translation of text, for an interview in another language. A translation, not what was said.",
"type": "string"
}
},
"required": [
"speaker",
"kind",
"text",
"shown"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"person",
"status",
"quality",
"heldBecause",
"qualityCheckFound",
"qualitySignals",
"scripted",
"language",
"englishPending",
"url",
"turns"
],
"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