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

# Get Session

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

Get a Session by its ID

## Path parameters

- `sessionId` string, uuid, required

## Response `200`

OK

- GetSessionResponse
  - `session` Session, required
    - `id` string, required
    - `done` boolean, required — Whether the Session is in a terminal / final state. If this is `true`, inspect the value of `Success` to determine whether the Session was successful.
    - `success` boolean, required — Whether the Session has completed successfully. If this is `false`, the Session is either not yet done, or has failed. Inspect `Done` and `ErrorCode` for more information. If this is `true`, the Session has completed successfully.
    - `errorCode` 'Internal' | 'Other' | 'Canceled' | 'UserAbandoned' | 'UserTimedOut' | 'Expired' | 'InvalidImage' | 'Inauthentic' | 'UnsupportedDocument' | 'AssuranceLevelNotMet' | 'SecurityValidationFailed' | 'InvalidResponse'
    - `created` integer, required — The unix timestamp, in seconds, when this session was created
    - `updated` integer, required — The unix timestamp, in seconds, when this session's data was last updated

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.net/trinsic/apis/trinsic-api.md) · [All operations](https://skmtc.net/trinsic/apis/trinsic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trinsic/trinsic-api/versions/e57fbc634d48/schema)
