Skip to main content
POST
Classify a provider failure for credential fallback

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
credential
string

Credential id to update

headers
string

Provider response headers as JSON object

message
string

Provider error message

provider
string

Runtime provider id

providerCode
string

Provider error code

providerType
string

Provider error type

record
boolean

Record the failure against --credential

status
string

HTTP status code

upstream
string

Upstream provider id

Response

Success — body conforms to the @Returns schema.

pressure
object
required
signal
object
required
{key}
any