Archive a thread
POSThttps://platform.docana.com/api/v1/threads/:threadId/archive/
Accepts an optional JSON body { agentId?, summarize? }: summarize=false archives without a summary, agentId selects the insights agent, and no body lets the thread metadata decide. Supports the Idempotency-Key header: a retry with the same key and body replays the stored response instead of re-triggering the summary.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
The archived thread
Malformed body or unusable agent
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Thread not found
Idempotency-Key conflict or in-progress request
Unexpected server error.