---
title: "Tests and updates the readiness of a saved runtime LLM (admin)."
method: POST
path: "/llm-registry/admin/runtime-models/{id}/test"
tags: ["LLM Registry"]
---

# Tests and updates the readiness of a saved runtime LLM (admin).

`POST /llm-registry/admin/runtime-models/{id}/test`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/llm-registry/admin/runtime-models/{id}/test`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/llm-registry/admin/runtime-models/:id/test/post.ts> (a function with typed inputs; its response is checked against the schema)

Tests the stored UI/API runtime configuration identified by registry ID. A successful test makes the model serving-eligible. A failed test preserves the configuration and records probe_failed, the error, and the test time; a probe_failed configuration is re-probed automatically at startup, so it can become serving-eligible later without another manual test. Returns 200 with ok=false for a model test failure. A core transport or invalid-response error leaves the prior readiness unchanged. No request body is accepted; the saved configuration is used. Admin only.

## Path parameters

- `id` string, required

## Response `200`

Persisted test outcome (ok, and meta or error).

- object

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden
- `404`: Not found
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
