---
title: "Get Llm Configuration"
method: GET
path: "/v1/llm-configurations/{config_id}"
tags: ["LLM Configurations"]
---

# Get Llm Configuration

`GET /v1/llm-configurations/{config_id}`

Get an LLM configuration by ID.

This endpoint:
- Requires API key or session authentication
- Returns the full LLM configuration details

Args:
    service: Injected LLM configuration service
    config_id: The ID of the LLM configuration to retrieve

Returns:
    Response with the LLM configuration

Raises:
    400 Bad Request: If user doesn't have an associated space
    404 Not Found: If the configuration doesn't exist

## Path parameters

- `config_id` string, required

## Cookies

- `la_session` string

## Response `200`

Successful Response

- ResponseLLMConfigurationResponseSchema
  - `code` integer
  - `data` LLMConfigurationResponseSchema — Response schema for an LLM configuration
    - `id` string, required
    - `base_url` string, required
    - `display_name` string, required
    - `model_name` string, required
    - `secret_id` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `message` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/liveavatar/apis/live-avatar-api.md) · [All operations](https://skmtc.net/liveavatar/apis/live-avatar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liveavatar/live-avatar-api/revisions/fbfa5cdbd7f9/schema)
