API referenceSessions
Get a session and its verdict
GET
Scope: sessions:read.
apiKeyheader
AuthorizationBearer <token>Secret key of your app (sk_test_… or sk_live_…). Server-side only: never ship it to a browser or a mobile app. X-Api-Key: <key> is accepted too.
id*stringExample Request
curl -X GET 'https://api-staging.sekyro.ai/api/v2/sessions/string'Example Response
Empty
Download the ICAO portrait GET
The 480×640 ICAO portrait of a session whose `portrait_icao` check passed, as `image/jpeg`; `?format=url` returns a 5-minute download link instead. `404 portrait_not_available` before the check passed. **Staging sandbox only** — not available in production yet. Scope: `portrait:read`.
List sessions GET
Scope: `sessions:read`.