---
title: "List test cases"
method: GET
path: "/api/cases"
tags: ["Test Cases"]
---

# List test cases

`GET /api/cases`

## Request

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

List saved test cases for a workspace.

## Query parameters

- `projectId` string, uuid, required
- `type` 'web' | 'mobile' | 'desktop' | 'multi_device'
- `search` string
- `directoryId` string
- `tag` string[]
- `temporary` 'true' | 'false'
- `page` integer
- `pageSize` integer
- `sort` 'title' | 'createdAt' | 'updatedAt' | 'lastRunAt' | 'lastStatus'
- `order` 'asc' | 'desc'
- `locale` 'en' | 'ja' | 'ko' | 'und'

## Response `200`

Paginated case list.

- CaseList
  - `items` CaseListItem[], required
    - `id` string, uuid, required
    - `projectId` string, uuid, required
    - `type` 'web' | 'mobile' | 'desktop' | 'multi_device', required
    - `title` string, nullable
    - `description` string, nullable: Truncated to 200 characters.
    - `startUrl` string, nullable
    - `lastRunAt` string, date-time, nullable
    - `lastStatus` string, nullable
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `tags` string[], required: Caller-supplied labels, for example the commit and pull request a run was testing. At most 10, each 1-64 characters after trimming; duplicates are collapsed. A request exceeding a bound is refused with 400, never truncated. Tags are returned exactly as stored and are visible to everyone in your organization, so never put secrets in them.
  - `totalCount` integer, required
  - `page` integer, required
  - `pageSize` integer, required
  - `totalPages` integer, required

## Other responses

- `400`: Invalid query parameters.
- `401`: Missing or invalid API key.
- `404`: Project not found.
- `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)
