Retrieve thread
Documentation Index
Fetch the complete documentation index at: https://docs.cerca.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
1"agent_abc123"
1"thread_abc123"
Query Parameters
Return messages newer than this sequence number. Mutually exclusive with beforeSeq.
^\d+$"42"
Return messages older than this sequence number. Mutually exclusive with afterSeq.
^\d+$"42"
When true, includes debug-only compiled context fields.
true, false "false"
Deprecated compatibility flag. Thread detail includes a bounded recent message page by default; pass false only to opt out when no message pagination params are present.
true, false "true"
Maximum number of messages to include, capped at 500. Set to 0 to return metadata without messages.
^\d+$"50"
Response
Thread detail.
idle threads can accept a new turn or be closed. running threads have an active turn. awaiting threads are paused on external input such as approvals. closed threads are terminal.
idle, running, awaiting, closed completed, failed, null get_time, sub_thread, wait, tool.call, tool.discover, artifact.read, agent.threads.list, agent.threads.get, agent.approvals.cancel, agent.approvals.grant_thread, agent.approvals.grant_agent, agent.create, agent.approvals.update, tool.connect, sandbox.exec, sandbox.read, sandbox.write_file, sandbox.read_file, sandbox.spawn, sandbox.stdin, sandbox.session_read, sandbox.kill, sandbox.list_sessions, sandbox.sync_artifact, memory.read, memory.list, memory.search, memory.write, memory.delete, db.query, web.search, web.fetch, agent.schedule.list, agent.schedule.create, agent.schedule.update, agent.schedule.delete, agent.schedule.trigger all