Create or rotate a provider
Creates or rotates a provider credential. When validation_model is supplied, the configured backend must complete a minimal request to that model before any changes are saved. Omit validation_model to skip the test. Publishes remote provider material unless local_only is true, waiting up to 10 seconds for the publication to settle. Returns 200 once it is applied; otherwise 202, with deployments[] reporting pending or applying, or failed with last_error.
Authorizations
A wandb API key or wandb JWT. Browser sessions are exchanged by the Model Distillation web app backend; job capabilities are internal only.
Headers
Accessible personal or team entity. Omit to use the authenticated user's default entity.
Path Parameters
^[a-z0-9][a-z0-9_-]{0,63}$Query Parameters
Validate these provider settings without saving them.
true, false Body
OpenAI-compatible provider base URL. It must use HTTPS, and defaults to HTTPS when no scheme is supplied.
Provider API key, sent upstream as Authorization: Bearer <api_key>. Leading and trailing whitespace is removed; the remaining value must be printable ASCII with no spaces.
1^[\x21-\x7e]+$When supplied, a minimal request to this model must succeed before the credential is saved. Omit to skip validation.
1 - 500Response
Provider is already applied.