Update an endpoint
Replace an endpoint’s connection, prices and capacity. Price changes on approved endpoints need operator approval. Requires the endpoints:write scope.
Authorizations
A gateway API token (tcg_…) created in the dashboard
Path Parameters
Endpoint id
Body
Replaces every editable field. Omit bearer_token to keep the current one. Connection changes
send the endpoint back to review; price changes on a live endpoint become a pending request.
Response
Success
One of your endpoints. The upstream bearer token is write-only and never returned.
pending, validating, up, degraded, down, rejected Latest run per suite against the current configuration.
Prices in USD per million tokens, as decimal strings.
active, paused, suspended, retired, pending, rejected Price changes on a live endpoint wait for operator review; the live prices stay in effect.