---
title: "Test LLM connection"
method: POST
path: "/api/tenants/me/apps/{id}/llm/test"
tags: ["BYOK"]
---

# Test LLM connection

`POST /api/tenants/me/apps/{id}/llm/test`

## Request

- Base URL: `https://kortexio.io` (the document declares no server; this is the origin it was published from)
- URL: `https://kortexio.io/api/tenants/me/apps/{id}/llm/test`
- Auth: HTTP bearer

Test an LLM provider configuration without saving it.

## Path parameters

- `id` string, uuid, required

## Request body

- TestTenantAppLlmRequest
  - `provider` string, nullable
  - `model` string, nullable
  - `baseUrl` string, nullable
  - `apiKey` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/kortexio/apis/kortexio-api.md) · [All operations](https://skmtc.dev/kortexio/apis/kortexio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kortexio/apis/kortexio-api/revisions/38e1e5c3bb04?raw)
