Returns sessions created via the V1 API, scoped to the authenticated user’s organization. Sessions created in the web app are not included.
If page and limit are both omitted, all sessions are returned in a
single response.
curl --request GET \
--url https://api.traversal.com/v1/sessions \
--header 'Authorization: Bearer <token>'{
"sessions": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "running",
"input": "Our checkout service started returning 500 errors at 2024-03-15T14:30:00Z. Error rate jumped from 0.1% to 15%.",
"created_at": "2024-03-15T14:35:00Z",
"title": "Elevated error rate in checkout service",
"updated_at": "2024-03-15T14:38:12Z",
"messages": [
{
"id": "msg-001-uuid",
"role": "user",
"markdown_content": "## Investigation Summary\n\nI investigated the elevated error rate...",
"created_at": "2024-03-15T14:38:12Z"
}
]
}
],
"count": 123,
"total": 123,
"prev": 123,
"next": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.traversal.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token in the Authorization header — for example,
Authorization: Bearer trv_ak_your_api_key_here. Each key is bound to a
specific user and organization.
Page number (1-indexed).
x >= 1Number of sessions per page.
x >= 1A page of sessions.
curl --request GET \
--url https://api.traversal.com/v1/sessions \
--header 'Authorization: Bearer <token>'{
"sessions": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "running",
"input": "Our checkout service started returning 500 errors at 2024-03-15T14:30:00Z. Error rate jumped from 0.1% to 15%.",
"created_at": "2024-03-15T14:35:00Z",
"title": "Elevated error rate in checkout service",
"updated_at": "2024-03-15T14:38:12Z",
"messages": [
{
"id": "msg-001-uuid",
"role": "user",
"markdown_content": "## Investigation Summary\n\nI investigated the elevated error rate...",
"created_at": "2024-03-15T14:38:12Z"
}
]
}
],
"count": 123,
"total": 123,
"prev": 123,
"next": 123
}