Create service token
Changed onCreate a new service token.
Authenticate with a service token. A service token whose service account is an organization owner can create tokens for any service account. A service token whose service account holds the Owner role on a project group can create tokens for a service account in the same organization when the target account has a permission grant on a project group it owns. The calling service account must also hold all of the target account's permissions in the organization; otherwise the request returns 403. User API keys cannot be used.
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
Request body
Response
Returns an object containing the raw service token. This is the only time the raw API key will be exposed
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable - info
the
request property's exclusiveMinimum was decreased fromtrueto0.00
- breaking
- breaking
request body became required
- breaking