runtime

Update Llm Profile

patch/api/v1/runtime/llm-profiles/{profile_id}

Path parameters

profile_idstring uuid required

Provider profile identifier.

Provider profile identifier.

Request body

namestring nullable

Updated profile label.

provider_type'openai' | 'anthropic' | 'google' | 'openai_compatible' | 'litellm_proxy' | 'anthropic_compatible' nullable

Updated provider type.

api_basestring nullable

Updated API base URL.

api_keystring nullable

Replacement API key when rotating credentials.

clear_api_keyboolean

When true, remove the stored API key.

metadata_jsonobject nullable

Replacement metadata payload.

Response

Successful Response

idstring uuid required

Stable provider profile identifier.

namestring required

Human-readable profile label shown in Settings.

provider_type'openai' | 'anthropic' | 'google' | 'openai_compatible' | 'litellm_proxy' | 'anthropic_compatible' required

Provider integration type.

api_basestring

Configured API base URL for the provider.

api_key_maskedstring

Masked API key preview for display.

has_api_keyboolean

Whether a stored API key is configured.

metadata_jsonobject

Optional provider-specific metadata.

Changes