Get a session
Readable by the owner’s main-key session or by the session’s own tokens.
Authentication
Path parameters
Response
The owner-set IP allowlist (CIDRs). Requests made with the session, and its sign-ins, from any other IP are refused with IP_NOT_ALLOWED. Empty means no restriction. Not part of the signed grant.
The approved builder; null for a grant without one.
Resting orders and untriggered stops this session placed, for display only: a revoke with cancel_orders also ends its TWAPs and open RFQs, which this leaves out. On the first page of GET /v2/sessions only, for an active or revoked session. Omitted for an expired session, on a later page, and whenever the count is unknown (the feature is off for the account, or the orders could not all be read), so a missing count never reads as zero.
The WebAuthn credential id of the passkey that opened the session, as GET /v2/passkeys lists it; omitted for any other source. Revoking that passkey revokes the session and stops it opening another.
Revocation time in milliseconds; 0 while not revoked.
What opened the session: an app, a builder, an API client or a passkey.