List AI agent threads
Get all AI agent threads for admin
Authentication: personal access token. The spec defines an api_key security
scheme — send an Authorization: ApiKey <your-personal-access-token> header
(value format: ApiKey <your key>). A session_cookie scheme (connect.sid)
exists for browser sessions. Operations in this spec declare security: [], an
artifact of the upstream spec generator — authentication is still enforced by the
server.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | |
pageSize | number | No | |
projectUuids | array[string] | No | |
agentUuids | array[string] | No | |
userUuids | array[string] | No | |
createdFrom | string | No | |
humanScore | number | No | |
dateFrom | string | No | |
dateTo | string | No | |
search | string | No | |
sortField | string | No | |
sortDirection | string | No |
Responses
200 — Success
{
"results": {
"pagination": {
"page": 0,
"pageSize": 0,
"totalResults": 0,
"totalPageCount": 0
},
"data": {
"threads": [
{
"uuid": "string",
"title": "string",
"createdAt": "string",
"user": {
"name": "string",
"uuid": "string",
"email": "string",
"slackUserId": "string"
},
"createdFrom": "slack",
"slackThreadTs": "string",
"slackChannelId": "string",
"promptCount": 0,
"feedbackSummary": {
"total": 0,
"neutral": 0,
"downvotes": 0,
"upvotes": 0
},
"project": {
"name": "string",
"uuid": "string"
},
"agent": {
"name": "string",
"uuid": "string",
"imageUrl": "string"
}
}
]
}
},
"status": "ok"
}default — Error
{
"error": {
"data": "string",
"message": "string",
"name": "string",
"statusCode": 0
},
"status": "error"
}Distill thread
Queues distillation for one thread immediately, skipping the event debounce and the backfill sweep. Re-distills a thread that is already up to date. Requires permission to manage AI agents in the project.
Get AI agent thread dump
Download a sanitized debug dump of an AI agent thread for troubleshooting. Requires AI_COPILOT_THREAD_DUMP_ENABLED on the instance.