ReferenceAdmin
Send a tiny real request to the model
POST
/v1/admin/models/{modelId}/testThe test opens a new connection and reports the phases of its first request (timings). A failure names its cause: certificate, TLS, proxy, refused or reset connection, DNS, or a timeout with the phase it happened in.
Path Parameters
modelId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/models/497f6eca-6276-4993-bfeb-53cbbbba6f08/test"{ "data": { "ok": true, "latencyMs": 0, "dimensions": 0, "dimensionsMatch": true, "reply": "string", "usage": { "promptTokens": 0, "completionTokens": 0, "totalTokens": 0 }, "moderation": { "benignText": "string", "harmfulText": "string", "benign": { "provider": "guardrail_chat/llama_guard", "calibrated": true, "latencyMs": 0, "scores": [ { "category": "violence", "probability": 0, "supported": true } ], "severity": 0 }, "harmful": { "provider": "guardrail_chat/llama_guard", "calibrated": true, "latencyMs": 0, "scores": [ { "category": "violence", "probability": 0, "supported": true } ], "severity": 0 } }, "systemOne": { "noulState": "string", "noulQuestion": "string", "noul": 0.1, "scoreState": "string", "scoreQuestion": "string", "scoreLevels": [ "string" ], "score": 0.1 }, "error": { "kind": "unavailable", "status": 0, "message": "string" }, "timings": { "dnsMs": 0.1, "connectMs": 0.1, "tlsMs": 0.1, "firstByteMs": 0.1, "reused": true } }}