Sekyro AIDocs

Download the ICAO portrait

GET
/api/v2/sessions/{id}/portrait

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.

Authorization

apiKey
headerAuthorizationBearer <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.

Path Parameters

id*string

Response Body

Example Request
curl -X GET 'https://api-staging.sekyro.ai/api/v2/sessions/string/portrait'
Example Response
Empty