AI

Test a dotAI provider connection

Changed on

Builds the provider client for the given capability from the posted configuration and issues one minimal real request against the provider (a short chat reply, a one-line embedding, or a single test image). Masked credential fields ("*****") in the posted config are resolved against the real value already stored for siteId before testing. Returns success=false with a message on any validation or provider error rather than an HTTP error status, so the caller can always render the result.

post/api/v1/ai/providers/test/{capability}

Request

Path parameters

capabilitystring required

Query parameters

siteIdstring

Request body

string required

Response

Test executed — check the success field for the outcome

i18nMessagesMapobject
permissionsstring[]

Changes