---
title: "Test Llm Profile"
method: POST
path: "/api/v1/runtime/llm-profiles/{profile_id}/test"
tags: ["runtime"]
---

# Test Llm Profile

`POST /api/v1/runtime/llm-profiles/{profile_id}/test`

## Path parameters

- `profile_id` string, uuid, required — Provider profile identifier.

## 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.
- `403` — LLM profile writes require local mode or admitted Neon authentication.
- `404` — Requested profile was not found.
- `422` — Validation Error
- `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)
