List Sessions
List agent sessions in the namespace.
Args: request: FastAPI request with tenant context list_request: Optional filters and sorting pagination: Pagination parameters
Returns: ListSessionsResponse with session list
Example: bash curl -X POST http://localhost:8000/v1/agents/sessions/list \ -H "Authorization: Bearer {api_key}" \ -H "X-Namespace: {namespace_id}" \ -H "Content-Type: application/json" \ -d '{"status": "active"}'
Query parameters
Request body
Response
Successful Response
Example response
{
"results": [
{
"agent_config": {
"available_tools": [
"list_retrievers",
"get_retriever",
"execute_retriever",
"list_collections",
"get_collection"
],
"max_tokens": 4096,
"model": "claude-sonnet-4-5-20250929",
"system_prompt": "You are a video analysis assistant that helps users find and analyze video content.",
"temperature": 0.7
}
}
]
}Changes
Changed in 2 of the 34 revisions of this API.3
- ○
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional
queryrequest parameterafternew-optional-request-parameter
- ○
added the new optional
queryrequest parameternext_cursornew-optional-request-parameter
- ○