Request
curl -sS --fail-with-body \
"https://ark.cn-beijing.volces.com/api/v3/sessions/<SESSION_ID>/archive" \
-H "Authorization: Bearer $ARK_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Response
{
"id": "<SESSION_ID>",
"type": "session",
"status": "terminated",
"agent": {
"id": "<AGENT_ID>",
"type": "agent",
"name": "<AGENT_NAME>",
"version": 3
},
"environment_id": "<ENVIRONMENT_ID>",
"resources": [],
"vault_ids": [],
"created_at": "2026-10-20T08:30:00Z",
"updated_at": "2026-10-26T09:25:00Z",
"archived_at": "2026-10-26T09:25:00Z"
}