---
title: "Test Lm Connection"
method: POST
path: "/api/v1/runtime/tests/lm"
tags: ["runtime"]
---

# Test Lm Connection

`POST /api/v1/runtime/tests/lm`

Verify that the planner and delegate language-model configuration can load.

## Response `200`

Successful Response

- RuntimeConnectivityTestResponse — Result payload for runtime connectivity and preflight diagnostics.
  - `kind` 'lm' | 'daytona', required — Runtime subsystem that was tested.
  - `ok` boolean, required — Whether the connectivity test completed successfully.
  - `preflight_ok` boolean, required — Whether prerequisite configuration checks passed.
  - `checked_at` string, required — UTC timestamp when the test completed.
  - `checks` object — Structured boolean or value checks collected during the test run.
  - `guidance` string[] — Human-readable remediation steps when the test did not pass cleanly.
  - `latency_ms` integer, nullable — Observed latency for the successful smoke test, when applicable.
  - `output_preview` string, nullable — Short preview of the smoke-test output, when available.
  - `error` string, nullable — Error summary when the test failed.

## Other responses

- `401` — Authentication is required or the provided token is invalid.
- `503` — Runtime services are unavailable because server startup is incomplete.

---

[API](https://skmtc.net/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.net/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/versions/62e8c152aa18/schema)
