---
title: "Validate install LLM credentials"
method: POST
path: "/install/llm/test"
tags: ["Install"]
---

# Validate install LLM credentials

`POST /install/llm/test`

Validates an LLM API key without persisting it. Requires the one-time install token.

## Request body

- InstallLlmTestInput — Input for install-time LLM credential validation. Supported providers in install v1 are `anthropic`, `openai`, and `gemini`.
  - `provider` string, required
  - `api_key` string, required

## Response `200`

Credentials validated successfully

- InstallLlmValidationResponse — Successful response from install-time LLM credential validation.
  - `ok` boolean, required

## Other responses

- `401` — Invalid or missing install token
- `422` — Credential validation failed

---

[API](https://skmtc.net/fabro-sh/apis/fabro-run-api.md) · [All operations](https://skmtc.net/fabro-sh/apis/fabro-run-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fabro-sh/fabro-run-api/revisions/bee030053823/schema)
