v1

latestOpenAPI 3.1.02026-07-175793186.0 KB
runtime

Create Llm Profile

post/api/v1/runtime/llm-profiles

Request body

namestring required

Human-readable profile label.

provider_type'openai_responses' | 'openai_chat_completion' | 'anthropic_messages' required

Provider integration type.

api_basestring nullable

Optional API base URL override.

api_keystring

Provider API key to encrypt and store.

metadata_jsonobject

Optional provider-specific metadata.

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.