---
title: "Get case session status"
method: GET
path: "/api/triggers/cases/{caseId}/sessions/{sessionId}"
tags: ["Triggers – Cases"]
---

# Get case session status

`GET /api/triggers/cases/{caseId}/sessions/{sessionId}`

## Request

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

Returns the status and result of a session that was triggered for a specific test case.

## Path parameters

- `caseId` string, uuid, required
- `sessionId` string, uuid, required

## Response `200`

Session status.

- object
  - `id` string, uuid, 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
  - `platform` 'desktop' | 'android' | 'ios', required
  - `screenshotsCount` integer, required
  - `startedAt` string, date-time, nullable
  - `completedAt` string, date-time, nullable
  - `archivedAt` string, date-time, nullable: Set when the result was archived (soft-deleted); archived sessions stay readable here but are hidden from lists.
  - `waitingForUser` boolean: True while the run is parked on a `[manual]` step and waits for `POST /api/sessions/{sessionId}/messages`.
  - `waitingForUserInstruction` string: The step's instruction, present only while `waitingForUser` is true.

## Other responses

- `401`: Missing or invalid API key.
- `404`: Test case or session 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)
