Test the inference service
POST
/v1/settings/test/inference
const url = 'http://localhost:8080/v1/settings/test/inference';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/v1/settings/test/inferenceProbes the inference service at inference.url (default http://inference:9090) and reports ok, detail and elapsed time. Administrators only.
Responses
Section titled “Responses”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
Examplegenerated
{ "ok": true, "detail": "example", "elapsedMs": 1}