Documentation Index
Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/sessions/{session_id}/archive
Archives a session. Archived sessions are hidden from default listings (you need to pass include_archived=true to list them), but their data is retained.
Unlike Environment and Vault, Session status stays
"idle" after archiving (does not become "archived"). Archive effect only means default list won’t return this Session. Current API has no unarchive/restore endpoint.Path parameters
| Parameter | Type | Description |
|---|---|---|
session_id | string | Session ID with the sess_ prefix |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Content-Type | Yes | application/json |
Example request
Example response
HTTP 200 OK Returns the full Session object.Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | authentication_error | PAT invalid or expired |
| 404 | not_found_error | Session does not exist |