Skip to main content
GET
/
api
/
v1
/
auth
/
sessions
List sessions
curl --request GET \
  --url https://staging.zerolatencylabs.com/api/v1/auth/sessions \
  --header 'X-API-KEY: <api-key>'
[
  {
    "created_at": "2026-06-23T15:00:00.000Z",
    "id": "0190b6c2-7e4a-7c3b-9f21-2b6a1c4e5d8f",
    "public_key": "k8Jq3xQp",
    "master_public_key": "k8Jq3xQp",
    "subaccount_index": 1,
    "valid_until": "2026-06-23T16:00:00.000Z"
  }
]

Authorizations

X-API-KEY
string
header
required

Base64-encoded API key issued by POST /api/v1/api-keys.

Response

Session keys visible to the credential

created_at
string<date-time>
required
Example:

"2026-06-23T15:00:00.000Z"

id
string<uuid>
required
Example:

"0190b6c2-7e4a-7c3b-9f21-2b6a1c4e5d8f"

public_key
string
required

Base64-encoded Ed25519 session public key.

Example:

"k8Jq3xQp"

role
enum<string>
required
Available options:
FULL_ACCESS,
TRADING_ONLY
master_public_key
string | null

Base64-encoded parent master public key. None on legacy rows predating the backfill.

Example:

"k8Jq3xQp"

subaccount_index
null | integer<int32>

The session's subaccount pin, if any (None = inherits the parent's reach).

Required range: x >= 0
valid_until
string<date-time> | null
Example:

"2026-06-23T16:00:00.000Z"