Skip to main content
POST
Reset a route to healthy

Authorizations

Authorization
string
header
required

JWT obtained through Barndoor's authentication flow. Pass the token verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's loginInteractive() helper to obtain a token in scripts and notebooks.

Path Parameters

provider_id
string<uuid>
required

Body

application/json
upstream_model
string
required
Example:

"gpt-4o-mini"

Response

Reset result

provider_id
string<uuid>
required
upstream_model
string
required
was_ejected
boolean
required

Whether this gateway pod had the route ejected before the reset

shared_state_cleared
boolean
required

Whether the cross-pod cooldown was cleared