v54

OpenAPI 3.1.0raw.githubusercontent.com2026-08-038690315.6 KB
providers

Test Provider Connection

Test provider credentials without storing them (for the add/edit form).

Resolves the implementation from provider_type (honoring the *-compatible aliases) or the instance name, then lists the provider's models with the supplied credentials. Nothing is persisted and the key is never echoed.

post/v1/provider-credentials/test

Request body

api_basestring nullable
api_keystring nullable
client_argsobject nullable
instancestring nullable

Provider/instance name; the impl when no provider_type.

provider_typestring nullable

Response

Successful Response

discovery_unsupportedboolean

True when the test failed only because this backend serves no model-listing endpoint, so the credentials could not be verified this way but may still work for requests.

errorstring nullable
model_countinteger required
okboolean required