AI
Test a dotAI provider connection
Changed onBuilds 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
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
capabilitystring required
Query parameters
siteIdstring
Request body
string required
Response
Test executed — check the success field for the outcome
Changes
- info
endpoint added
- info