ServiceTokens

List service tokens

Changed on

List out all service tokens. They are sorted by creation date, with the most recently-created tokens coming first.

To create a service token, visit Settings > Service tokens as an organization owner or an Owner of an active project group in the organization, or call POST /v1/service_token with a service token. Results include only service tokens you can manage.

get/v1/service_token

Request

  • Base URL
    https://api.braintrust.dev
  • Auth
    • HTTP bearer
    • or none

Query parameters

limitinteger nullable

Limit the number of objects to return

starting_afterstring uuid

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

ending_beforestring uuid

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

string uuid
OR
string[]
service_token_namestring

Name of the service_token to search for

org_namestring

Filter search results to within a particular organization

Response

Returns a list of service token objects

Changes