List this tenant's API keys
GET
/v1/api-keys
const url = 'https://api.vocapable.com/v1/api-keys?limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.vocapable.com/v1/api-keys?limit=50' \ --header 'Authorization: Bearer <token>'Cursor-paginated like every other list endpoint (docs/04-api.md §1).
It used to answer a bare JSON array - the one exception on the surface - which broke a generated client’s generic list walker on the first resource most developers touch.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
CursorPage[ApiKeySummary]
object
data
required
Data
Array<object>
ApiKeySummaryA key as its owning tenant sees it. The secret is never present.
object
id
required
Id
string
display_prefix
required
Display Prefix
string
mode
required
Mode
string
scopes
required
Scopes
Array<string>
created_at
required
Created At
string format: date-time
has_more
Has More
boolean
Example
{ "data": [ { "mode": "live" } ], "has_more": false}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}