Skip to main content
POST
Refresh or recover credential health before pool selection

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
agent
string

Agent id for pool refresh

force
boolean

Attempt provider hook even when health does not require it

id
string

Credential id

model
string

Model selector for pool refresh

provider
string

Runtime provider id for pool refresh

taskProfile
string

Task profile id for pool refresh

upstream
string

Upstream provider id for pool refresh

Response

Success — body conforms to the @Returns schema.

refreshed
object[]
required
{key}
any