A page of a session's transcript
const url = 'https://deck.example.com/api/v1/sessions/transcript?session=example';const options = {method: 'GET', headers: {cookie: 'qd_auth=<qd_auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://deck.example.com/api/v1/sessions/transcript?session=example' \ --cookie qd_auth=<qd_auth>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”A run of a transcript’s items, oldest first.
A run of a transcript’s items, oldest first.
object
Where these items start: ask with before set to this for earlier ones. None at the start of the transcript.
Where they end: ask with after set to this for what’s new.
One thing in a transcript.
A message the person typed (or a slash command they ran).
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
A message from another session.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
What the agent wrote, Markdown.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
The agent’s thinking, when the transcript keeps it.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
A tool call: one line, with its input and result to expand.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
The subagent this call started, when it started one.
A tool call’s result whose call is in an earlier page: the viewer adds it to that call.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
Something typed into the session that isn’t the person: a background task finishing, a watcher waking it, the orchestrator’s own auto-continue.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
The conversation was compacted here: what came before is summarised in summary.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
The person interrupted the agent.
object
The byte offset of the record it came from, with part its place in that record: together, a stable key.
The session’s subagents, in the order they started.
A subagent the session started.
object
1 for one the session started, 2 for one a subagent started, and so on.
The tool call that started it.
Example
{ "items": [ { "kind": "person" } ]}default
Section titled “default”An error, with its message.
Every error the REST API returns, with an HTTP status.
object
Example generated
{ "error": "example"}