Skip to main content
POST /api/v1/cloud/sessions/{session_id}/threads/{thread_id}/archive Archives a child thread. Current CAS returns 409 when asked to archive the coordinator/main thread.

Path parameters

Headers

Example request

Example response

HTTP 200 OK Returns the Session Thread object.

Errors

HTTP 404 Not Found
HTTP 409 Conflict
The 409 response uses a single generic "Version or state conflict." message regardless of whether the conflict is caused by the coordinator role, a non-idle thread status, or another concurrency conflict. Disambiguate by inspecting the thread state via GET /api/v1/cloud/sessions/{session_id}/threads/{thread_id}. See Errors for the full error envelope.

Managed Agents

Learn the coordinator and child thread collaboration model.

List Session Threads

Inspect all threads in a session and their statuses.

Session Thread object

Full field reference for the Session Thread object.