v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.OnaIntelligenceService

UpdateOrganizationLLMConfiguration

Updates an existing LLM provider configuration.

The (organization_id, provider) pair identifies the configuration to update. Only provided fields are updated (partial update). Clearing api_key switches the configuration back to the provider's backend global config key.

post/gitpod.v1.OnaIntelligenceService/UpdateOrganizationLLMConfiguration

Request body

apiKeystring nullable

api_key is the plaintext LLM provider API key to encrypt and store. If omitted, the stored key is unchanged. If empty, the stored key is cleared and the configuration falls back to the provider's backend global config key. If non-empty, the stored key is rotated.

endpointUrlstring uri nullable

endpoint_url is the API endpoint URL for the LLM provider (including scheme). When set, the stored endpoint is replaced.

organizationIdstring uuid

organization_id is the ID of the organization to update

provider'anthropic' | 'openai'

provider identifies the configuration to update. Combined with organization_id, this uniquely identifies a configuration row.

Response

Success