Providers

Test an inline LLM provider configuration

Tests connectivity using the submitted provider configuration directly, without persisting it — useful for validating settings before creating or updating the provider.

post/api/{org_id}/providers/test

Request

Path parameters

org_idstring required

Organization name

Request body

authConfigunknown required
availableModelsstring[]
defaultModelstring
endpointstring nullable
isDefaultboolean
namestring required
providerTypestring required
rateLimitsobject nullable
providerIdstring nullable

Response

Connection succeeded

codeinteger required
error_detailstring nullable
hintstring nullable

One-line guidance on how to fix the error (agent self-correction, D4).

idstring nullable
messagestring required
namestring nullable
suggestionsstring[] nullable

Closest valid alternatives for a mistyped field/function name.

trace_idstring nullable
warningsstring[] nullable

Problems with a request that succeeded anyway. Distinct from hint, which explains a failure: these accompany a 200, and the caller is entitled to have meant it.

Changes

No recorded changes to this operation across all 1 revision of this API.