curl -X PATCH https://api.thinnest.ai/v2/sessions/{session_id} \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "archived"
}'
PATCH /v2/sessions/{session_id}
Request Body
{
"status": "archived"
}
Response
{
"id": "sess_abc123",
"agent_id": "ag_xyz789",
"status": "archived",
"message_count": 12,
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T12:00:00Z"
}

