What happened in a session since the owner's last message
const url = 'https://deck.example.com/api/v1/sessions/catchup?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/catchup?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”“Since your last message”: a short account of what happened after the anchor, for the chat view’s header.
“Since your last message”: a short account of what happened after the anchor, for the chat view’s header.
object
None when the transcript has no real message from the person.
The newest message from the person that the noise filter accepts as real (not a wake-up, tool output, compaction or slash command). The chat view opens here.
object
Byte offset just past the message’s line in the transcript.
The transcript record’s uuid, when it has one.
The transcript size text was written from.
The transcript has grown since offset: this text is served now, and a new one is being written.
Example generated
{ "anchor": { "at": "example", "end": 1, "uuid": "example" }, "generated_at": "example", "offset": 1, "session_id": "example", "stale": true, "text": "example"}default
Section titled “default”An error, with its message.
Every error the REST API returns, with an HTTP status.
object
Example generated
{ "error": "example"}