Skip to content

Test the inference service

POST
/v1/settings/test/inference
curl --request POST \
--url http://localhost:8080/v1/settings/test/inference

Probes the inference service at inference.url (default http://inference:9090) and reports ok, detail and elapsed time. Administrators only.

OK

Media typeapplication/json

Result of a diagnostics probe (core adapter, inference); string ProbeResult.Detail is shown verbatim.

object
ok
required
boolean
detail
required
string
elapsedMs
required
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
Examplegenerated
{
"ok": true,
"detail": "example",
"elapsedMs": 1
}