Skip to main content

LLMEndpointProbeResult

Structured result of a single GET {base_url}/models probe.

successSuccess (boolean)required

reachable AND authenticated (2xx)

reasonReason (string)required

ok | auth_failed | http_error | unreachable | invalid_url

messageMessage (string)required

Human-readable connectivity result. Clients may localize it using the structured reason value.

latency_msLatency Ms (number)required
status_code object

upstream HTTP status when a response was received

anyOf
integer
models object

model ids returned by the endpoint, when parseable

anyOf
  • Array [
  • string
  • ]
  • model_found object

    Whether the requested model appears in the returned model list, or null when no model was checked.

    anyOf
    boolean
    limits object

    Token limits reported for the requested model, or null when the endpoint reports no limits or the requested model is unavailable.

    anyOf
    context_window object

    detected context window (tokens)

    anyOf
    integer
    max_tokens object

    detected max output tokens cap

    anyOf
    integer
    reasoning_levels object

    Supported reasoning-effort levels advertised by the endpoint, or null when the endpoint reports no reasoning capability.

    anyOf
  • Array [
  • string

    Possible values: [low, medium, high, xhigh]

  • ]
  • LLMEndpointProbeResult
    {
    "success": true,
    "reason": "string",
    "message": "string",
    "latency_ms": 0,
    "status_code": 0,
    "models": [
    "string"
    ],
    "model_found": true,
    "limits": {
    "context_window": 0,
    "max_tokens": 0,
    "reasoning_levels": [
    "low"
    ]
    }
    }