v18

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

CreateOrganizationLLMConfiguration

Creates an LLM provider configuration for an organization.

An organization can have one configuration per provider. Calling this RPC twice with the same (organization, provider) pair returns ALREADY_EXISTS; use UpdateOrganizationLLMConfiguration to rotate the key.

When api_key is set, the API key is encrypted before storage using organization-scoped encryption. When api_key is omitted or empty, the configuration uses the provider's backend global config key.

post/gitpod.v1.OnaIntelligenceService/CreateOrganizationLLMConfiguration

Request body

apiKeystring nullable

api_key is the plaintext LLM provider API key to encrypt and store. If omitted or empty, the configuration falls back to the provider's backend global config key.

endpointUrlstring uri nullable

endpoint_url is the API endpoint URL for the LLM provider (including scheme). If omitted, a default endpoint is selected based on the provider.

organizationIdstring uuid

organization_id is the ID of the organization to configure

provider'anthropic' | 'openai'

provider is the LLM provider for this configuration.

Response

Success