Skip to main content
GET
/
v1
/
projects
/
{project_identifier}
/
sessions
List sessions for a project
curl --request GET \
  --url https://api.example.com/v1/projects/{project_identifier}/sessions
{
  "data": [
    {
      "id": "<string>",
      "session_id": "<string>",
      "project_id": "<string>",
      "start_time": "2023-11-07T05:31:56Z",
      "end_time": "2023-11-07T05:31:56Z",
      "traces": [
        {
          "id": "<string>",
          "trace_id": "<string>",
          "start_time": "2023-11-07T05:31:56Z",
          "end_time": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ],
  "next_cursor": "<string>"
}

Path Parameters

project_identifier
string
required

The project identifier: either project ID or project name.

Query Parameters

cursor
string | null

Cursor for pagination (session ID)

limit
integer
default:100

The max number of sessions to return at a time.

order
enum<string>
default:asc

Sort order by ID: 'asc' (ascending) or 'desc' (descending).

Available options:
asc,
desc

Response

Successful Response

data
SessionData · object[]
required
next_cursor
string | null
required