Skip to main content
GET
List directory tokens
Takes a managing key (oc_key_...) or a signed-in session. See Editions for what OneCLI Cloud adds. The live tokens of this organization, newest first. Never the token itself.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Query Parameters

limit
integer
default:50

How many rows, 1 to 100. Default 50.

Required range: 1 <= x <= 100
cursor
string

The nextCursor of the previous page. Opaque.

Required string length: 1 - 2048

Response

One page of tokens.

data
object[]
required
nextCursor
string | null
required

Pass as ?cursor= for the next page. null on the last.