---
title: "Llm Credential"
method: GET
path: "/internal/tenants/{tenant_id}/llm-credential"
tags: ["tenant-llm"]
---

# Llm Credential

`GET /internal/tenants/{tenant_id}/llm-credential`

## Request

- Base URL: `https://api.b2metric.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.b2metric.com/internal/tenants/{tenant_id}/llm-credential`
- Auth: none declared

## Path parameters

- `tenant_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- LlmCredentialOut: Service-only: what asky needs to call LiteLLM as this tenant.
  - `key_alias` string, required
  - `virtual_key` string, required
  - `mode` string, required
  - `models` string[], required
  - `chat_model` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/b2metric/apis/b2metric-license-api.md) - [All operations](https://skmtc.dev/b2metric/apis/b2metric-license-api/llms.txt) - [OpenAPI document](https://skmtc.dev/b2metric/apis/b2metric-license-api/revisions/5c26e11e8b53?raw)
