APIInference

Inference Connections_test

Runs the smallest completion the credential allows, so a bad key fails here rather than at judge time.

POST/inference/connections/{connection_id}/test

Runs the smallest completion the credential allows, so a bad key fails here rather than at judge time.

Path Parameters

connection_id*string
Formatuuid

Response Body

application/json

application/json

curl -X POST "https://example.com/inference/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/test"
{  "ok": true,  "error_message": "string"}