runtime
Create Llm Profile
post/api/v1/runtime/llm-profiles
Request body
namestring required
Human-readable profile label.
provider_type'openai' | 'anthropic' | 'google' | 'openai_compatible' | 'litellm_proxy' | 'anthropic_compatible' 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' | '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.