Check a stored vendor credential again
Runs the check PUT /v1/provider-keys/{provider} runs, on the credential already
stored, so you need not paste it again. When the vendor accepts it, verified_at
is set to now and the provider key is returned. When the vendor refuses it, the
call returns 400 provider_credentials_rejected and the stored credential and its
verified_at are left as they were. If the vendor cannot be reached the call
returns 502, and you can retry. A credential replaced while the check ran returns
409: check again.
Scope: admin. People: owner and admin.
Authentication
A Meadow API key, sent as Authorization: Bearer mdw_.... The header
x-api-key: mdw_... is accepted in its place.
Path parameters
Response headers
Meadow’s id for this request, req_ and 24 hex characters. Every response
carries it, including errors, streams and unknown routes. Every error in the
Error schema repeats it as request_id. Quote it when you report a problem.
Response
The name of a vendor. Model providers and sandbox providers share one list.
Model providers: anthropic, openai, google, xai, azure, bedrock,
vertex, openrouter, fireworks, deepseek. Sandbox providers: daytona, modal.
The last four characters of the stored key (for modal, of the token id).
What Meadow remembers about recent sandbox creates on this provider with this
account’s key. Present for daytona and modal only. It is a circuit breaker.
closed: the provider is tried in its usual place. open: it failed lately, so a
create with another provider in its route tries the other one first, until
retry_at. half_open: one create is trying it again, and that create’s result
closes it or opens it again. A provider opens after 3 failed creates in a row
within 10 minutes (timeout or vendor error), for 60 seconds, or after one quota,
capacity or rate limit answer, for 30 seconds. A rejected key (401 or 403) does
not count. An order the caller or the project set moves an open provider only
on a hard signal: a quota or capacity answer, or the 3 failures in a row. A
route with one provider is never reordered. Storing the key again clears it.