CatalogOrganizationService.

update_llm_endpoint

update_llm_endpoint(id: <nil>, title: <nil>, token: <nil>, description: <nil>, provider: <nil>, base_url: <nil>, llm_organization: <nil>, llm_model: <nil>, workspace_ids: <nil>) -> CatalogLlmEndpoint

Update an existing LLM endpoint.

Parameters

nametypedescription
idIdentifier of the LLM endpoint
titleUser-facing title of the LLM Provider
tokenThe token to use to connect to the LLM provider. If not provided, the existing token will be preserved.
descriptionUser-facing description of the LLM endpoint
providerLLM provider name (e.g., "openai")
base_urlBase URL for custom LLM endpoint
llm_organizationLLM organization identifier
llm_modelLLM default model override
workspace_idsList of workspace IDs for which LLM endpoint is valid. If empty, it is valid for all workspaces.

Returns

typedescription
CatalogLlmEndpointUpdated LLM endpoint