---
title: "List sessions for a project"
method: GET
path: "/v1/projects/{project_identifier}/sessions"
tags: ["sessions"]
---

# List sessions for a project

`GET /v1/projects/{project_identifier}/sessions`

## Path parameters

- `project_identifier` string, required — The project identifier: either project ID or project name.

## Query parameters

- `cursor` string, nullable — Cursor for pagination (session ID)
- `limit` integer — The max number of sessions to return at a time.
- `order` 'asc' | 'desc' — Sort order by ID: 'asc' (ascending) or 'desc' (descending).

## Response `200`

Successful Response

- GetSessionsResponseBody
  - `data` SessionData[], required
    - `id` string, required
    - `session_id` string, required
    - `project_id` string, required
    - `start_time` string, date-time, required
    - `end_time` string, date-time, required
    - `traces` SessionTraceData[], required
      - `id` string, required
      - `trace_id` string, required
      - `start_time` string, date-time, required
      - `end_time` string, date-time, required
    - `token_count_prompt` integer — Cumulative prompt token count across all spans in the session.
    - `token_count_completion` integer — Cumulative completion token count across all spans in the session.
    - `token_count_total` integer — Cumulative total token count across all spans in the session (prompt + completion).
  - `next_cursor` string, nullable, required

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

## Changes

- **2026-05-05** `29fe492bf1e2` — 3 info
  - added the optional property `data/items/token_count_completion` to the response with the `200` status
  - added the optional property `data/items/token_count_prompt` to the response with the `200` status
  - added the optional property `data/items/token_count_total` to the response with the `200` status
- **2026-04-29** `c81391216eb5` — 3 warning
  - removed the optional property `data/items/token_count_completion` from the response with the `200` status
  - removed the optional property `data/items/token_count_prompt` from the response with the `200` status
  - removed the optional property `data/items/token_count_total` from the response with the `200` status

[Change history](https://skmtc.dev/arize-ai/apis/arize-phoenix-rest-api/changes/v1/projects/:project_identifier/sessions/get.md)

---

[API](https://skmtc.dev/arize-ai/apis/arize-phoenix-rest-api.md) · [All operations](https://skmtc.dev/arize-ai/apis/arize-phoenix-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arize-ai/arize-phoenix-rest-api/revisions/f440cb6427a5/schema)
