List organization API keys
Changed onList all API keys associated with users in an organization, sorted by creation date with the newest keys first. An organization-scoped API key determines the organization; otherwise, provide org_id. If org_id does not match the organization-scoped key's organization, or the caller is not an owner of the organization, no keys are returned. Responses include key metadata only; key secrets are never returned. To list service tokens, use GET /v1/service_token.
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
Query parameters
Limit the number of objects to return
Pagination cursor id.
For example, if the final item in the last page you fetched had an id of foo, pass starting_after=foo to fetch the next page. Note: you may only pass one of starting_after and ending_before
Pagination cursor id.
For example, if the initial item in the last page you fetched had an id of foo, pass ending_before=foo to fetch the previous page. Note: you may only pass one of starting_after and ending_before
Name of the api_key to search for
Identify the organization to list API keys for
Include API keys created at or after this timestamp
Include API keys created at or before this timestamp
Response
Returns a list of api_key objects
Changes
- info
endpoint added
- info