Skip to main content

Test AI Configuration Connection

POST 

/openai/connections/:ai_type/tests

Test connectivity for the client's stored AI configuration of the given type ('remediator', 'validation' or 'embedding'). The embedding test also asserts the vector width the index requires. Returns 400 for an invalid ai_type or a connection test that shows a bad configuration (403 when the provider rejects the key), 429 when the provider is rate limiting us, 502 when the provider is unreachable, and 404 if the client is not found.

Request​

Responses​

Successful Response