Archive Session
POST
/v1/agents/sessions/{session_id}/archiveArchive a Session with compare-and-set. Archived Sessions reject input, metadata updates, and streams. DELETE is the SDK form of archive.
Path parameters
Session ID (ses_ prefix).
Request body
JSON object.
The row_version you last read. A stale value returns 409.