v1

latestOpenAPI 3.1.02026-07-175793186.0 KB
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_responses' | 'openai_chat_completion' | 'anthropic_messages' 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_responses' | 'openai_chat_completion' | 'anthropic_messages' 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.