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
"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.
Related
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.