Spaces method and path for this operation:
Refer to Spaces for more information.
List all conversations for a user. Use the optional agent ID to filter conversations by a specific agent. To learn more about agent conversations, refer to the agent chat documentation.
[Required authorization] Route required privileges: agentBuilder:read.
Query parameters
-
Optional agent ID to filter conversations by a specific agent.
Maximum length is
64. -
Page number, 1-based.
Minimum value is
1. Default value is1. -
Number of results per page. Maximum 1000.
Minimum value is
1, maximum value is1000. Default value is1000. -
Sort direction for results, ordered by updated_at.
Values are
ascordesc. Default value isdesc. -
Filter to pinned (true) or unpinned (false) conversations. Omit to return all.
curl \
-X GET "${KIBANA_URL}/api/agent_builder/conversations?page=1&sort_order=desc" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "elastic-api-version: 2023-10-31"
curl \
-X GET "${KIBANA_URL}/api/agent_builder/conversations?pinned=true" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "elastic-api-version: 2023-10-31"
GET kbn://api/agent_builder/conversations?page=1&sort_order=desc
{
"pagination": {
"page": 1,
"per_page": 1000,
"total": 3
},
"results": [
{
"agent_id": "elastic-ai-agent",
"created_at": "2025-08-01T10:00:00.000Z",
"id": "a1b2c3d4-1234-5678-abcd-000000000001",
"permissions": {
"delete": true,
"rename": true
},
"pinned": true,
"title": "Important reference conversation",
"updated_at": "2025-09-20T08:30:00.000Z",
"user": {
"username": "elastic"
}
}
]
}
{
"pagination": {
"page": 1,
"per_page": 1000,
"total": 128
},
"results": [
{
"agent_id": "elastic-ai-agent",
"created_at": "2025-09-19T17:45:39.554Z",
"id": "bcc176c5-38f6-40be-be0c-898e34fa1480",
"permissions": {
"delete": true,
"rename": true
},
"title": "General Greeting",
"updated_at": "2025-09-19T17:45:39.554Z",
"user": {
"username": "elastic"
}
}
]
}