Skip to content

What happened in a session since the owner's last message

The OpenAPI spec (JSON)Licence, versions and sign-in

GET
/api/v1/sessions/catchup
curl --request GET \
--url 'https://deck.example.com/api/v1/sessions/catchup?session=example' \
--cookie qd_auth=<qd_auth>
session
required
string

“Since your last message”: a short account of what happened after the anchor, for the chat view’s header.

Media typeapplication/json

“Since your last message”: a short account of what happened after the anchor, for the chat view’s header.

object
anchor

None when the transcript has no real message from the person.

Any of:

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
at
required
string
end
required

Byte offset just past the message’s line in the transcript.

integer format: uint64
uuid

The transcript record’s uuid, when it has one.

string | null
generated_at
required
string
offset
required

The transcript size text was written from.

integer format: uint64
session_id
required
string
stale
required

The transcript has grown since offset: this text is served now, and a new one is being written.

boolean
text
required
string

Example generated

{
"anchor": {
"at": "example",
"end": 1,
"uuid": "example"
},
"generated_at": "example",
"offset": 1,
"session_id": "example",
"stale": true,
"text": "example"
}

An error, with its message.

Media typeapplication/json

Every error the REST API returns, with an HTTP status.

object
error
required
string

Example generated

{
"error": "example"
}