---
title: "Get session screenshots"
method: GET
path: "/api/sessions/{sessionId}/screenshots"
tags: ["Sessions"]
---

# Get session screenshots

`GET /api/sessions/{sessionId}/screenshots`

## Request

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

Returns screenshots captured during a session, ordered by capture time.
URLs are presigned (expire after 1 hour for S3) or relative paths.

## Path parameters

- `sessionId` string, uuid, required

## Query parameters

- `cursor` string
- `limit` integer
- `order` 'asc' | 'desc'

## Response `200`

Paginated screenshots.

- SessionScreenshotsPage
  - `items` SessionScreenshot[], required
    - `id` string, uuid, required
    - `url` string, required: Resolved screenshot URL. May be a presigned S3 URL (expires in 1 hour), a relative `/api/screenshots/...` path, or a `data:` URI.
    - `messageId` string, uuid, nullable
    - `width` integer, nullable
    - `height` integer, nullable
    - `resizedWidth` integer, nullable
    - `resizedHeight` integer, nullable
    - `capturedAt` string, date-time, required
  - `nextCursor` string, nullable

## Other responses

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