---
title: "List sessions"
method: GET
path: "/api/sessions"
tags: ["Sessions"]
---

# List sessions

`GET /api/sessions`

## Request

- Base URL: `https://aximo.autify.com`
- URL: `https://aximo.autify.com/api/sessions`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/autify/apis/aximo-api/docs/api/sessions/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns sessions visible to your organization, newest first.
Filter by project, test case, status, or tag. Results are paginated.
Archived (soft-deleted) sessions are excluded; they remain readable via
`GET /api/sessions/{sessionId}`, flagged by `archivedAt`.

## Query parameters

- `projectId` string, uuid
- `caseId` string, uuid
- `status` 'queued' | 'created' | 'preparing' | 'running' | 'succeeded' | 'failed' | 'terminated' | 'error' | 'archived': Terminal statuses (stop polling): `succeeded`, `failed`, `terminated`, `error`, `archived`.
- `tag` string[]
- `page` integer
- `pageSize` integer
- `sort` 'title' | 'createdAt' | 'startedAt' | 'status'
- `order` 'asc' | 'desc'
- `locale` 'en' | 'ja' | 'ko' | 'und'

## Response `200`

Paginated session list.

- SessionList
  - `items` SessionListItem[], required
    - `id` string, uuid, required
    - `projectId` string, uuid, nullable
    - `caseId` string, uuid, nullable
    - `title` string, required
    - `prompt` string, required: Truncated to 200 characters.
    - `platform` 'desktop' | 'android' | 'ios', required
    - `status` 'queued' | 'created' | 'preparing' | 'running' | 'succeeded' | 'failed' | 'terminated' | 'error' | 'archived', required: Terminal statuses (stop polling): `succeeded`, `failed`, `terminated`, `error`, `archived`.
    - `result` 'passed' | 'failed' | 'error', nullable
    - `startedAt` string, date-time, nullable
    - `completedAt` string, date-time, nullable
    - `createdAt` string, date-time, required
    - `durationMs` integer, nullable
    - `tags` string[], required: A session's tags. A session created directly carries the tags it was created with. A session created from a test case, by a plan run or by running the case on its own, carries the run's tags (if any) merged with the case's tags, each tag once; each source holds at most 10, so a session can carry up to 20.
  - `totalCount` integer, required
  - `page` integer, required
  - `pageSize` integer, required
  - `totalPages` integer, required

## Other responses

- `400`: Invalid query parameters.
- `401`: Missing or invalid API key.
- `403`: The API key's user is banned or no longer a member of the organization.
- `429`: Rate limit exceeded — e.g. the daily session limit was reached for the organization, or too many API requests were sent in a short window (retry after the number of seconds in the `Retry-After` header).
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/autify/apis/aximo-api.md) - [All operations](https://skmtc.dev/autify/apis/aximo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autify/apis/aximo-api/revisions/590722011284?raw)
