curl --request GET \
--url 'http://localhost:8000/conversations' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z",
"total": 102,
"page": 1,
"page_size": 20,
"has_next": false,
"has_prev": false,
"items": [
{
"conversation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message_count": 0,
"created_at": "2026-08-31T14:22:05Z",
"last_message_at": "2026-08-31T14:22:05Z",
"total_tokens": 0
}
]
}
List Conversations
Get a paginated list of conversations.
GET
/
conversations
curl --request GET \
--url 'http://localhost:8000/conversations' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z",
"total": 102,
"page": 1,
"page_size": 20,
"has_next": false,
"has_prev": false,
"items": [
{
"conversation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message_count": 0,
"created_at": "2026-08-31T14:22:05Z",
"last_message_at": "2026-08-31T14:22:05Z",
"total_tokens": 0
}
]
}
Get a paginated list of conversations.
Query parameters
integer
Page number
integer
Items per page
string,null
Filter by agent ID
Response
ConversationListResponse-Input
string,null
Request tracking ID
string (date-time)
Response timestamp
integer
required
Total number of items
integer
Current page number
integer
Items per page
boolean
Whether there are more pages
boolean
Whether there are previous pages
ConversationSummary[]
Status codes
| Code | Meaning |
|---|---|
200 | List of conversations |
401 | Authentication required |
422 | Validation Error |
429 | Rate limit exceeded |
curl --request GET \
--url 'http://localhost:8000/conversations' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z",
"total": 102,
"page": 1,
"page_size": 20,
"has_next": false,
"has_prev": false,
"items": [
{
"conversation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message_count": 0,
"created_at": "2026-08-31T14:22:05Z",
"last_message_at": "2026-08-31T14:22:05Z",
"total_tokens": 0
}
]
}
Last modified on August 31, 2026