Skip to Content
Orbyte Labs

List API keys

GET
/v1/api-keys

Requires a user OAuth access token. Includes active and revoked keys. Never returns secrets or token hashes.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
cursor?string
Length1 <= length

Header Parameters

X-Orbyte-Environment?string

Required for environment-scoped OAuth operations. API keys remain bound to their own environment.

Length1 <= length

Response Body

A page of API-key metadata

application/json
  1. response
page*array<>
isDone*boolean
continueCursor*string
splitCursor?string|null
pageStatus?|null
Example Request
curl -X GET 'https://api.orbytelabs.com/v1/api-keys'
Example Response
{  "page": [    {      "id": "string",      "name": "string",      "tokenPrefix": "string",      "tokenLast4": "string",      "permissions": {        "property1": [          "string"        ],        "property2": [          "string"        ]      },      "status": "active",      "createdAt": 0,      "expiresAt": 0,      "revokedAt": 0    }  ],  "isDone": true,  "continueCursor": "string",  "splitCursor": "string",  "pageStatus": "SplitRecommended"}