v1

latestOpenAPI 3.1.02026-07-26349368.6 KB
LLM Configurations

Update Llm Configuration

Update an LLM configuration by ID.

This endpoint:

  • Requires API key or session authentication
  • Validates that the new secret_id (if provided) belongs to the user's space
  • Updates only the provided fields

Args: service: Injected LLM configuration service config_id: The ID of the LLM configuration to update payload: Request containing fields to update

Returns: Response with the updated LLM configuration

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

patch/v1/llm-configurations/{config_id}

Path parameters

config_idstring required

Cookies

la_sessionstring

Request body

base_urlstring

The LLM API endpoint URL

display_namestring

Display name for the configuration

model_namestring

The model name to use

secret_idstring

ID of the secret containing the API key

Response

Successful Response

codeinteger
messagestring