# PUT /v1/service_token stops working

Braintrust API deprecated PUT /v1/service_token without giving a shutdown date yet.

The PUT /v1/service_token endpoint has been removed from the public API without a scheduled shutdown date. Requests sent to this endpoint now fail. Braintrust API no longer supports creating service tokens through this call.

## What to use instead

Use Manage API keys and Create service tokens for the supported flows.

- API: Braintrust API (api.braintrust.dev)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `PUT /v1/service_token`
- Source: [Changelog](https://www.braintrust.dev/docs/changelog)
- Verified: November 3, 2026, against Braintrust API's own pages
- Page: https://www.okapi.bot/providers/braintrust-api/breaking-changes/put-v1-service-token-stops-working/

## Braintrust API's words

> The REST API no longer supports creating either, and the POST /v1/api_key, POST /v1/service_token, and PUT /v1/service_token endpoints have been removed from the public API.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
