v18

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

CreateLLMAccessToken

Creates a token for LLM access with a specific agent run.

post/gitpod.v1.AgentService/CreateLLMAccessToken

Request body

agentExecutionIdstring

The agent execution ID for tracking and runner selection. If empty, falls back to current logic for backward compatibility.

requiredModelsGitpodV1SupportedModel[]

The models required by the agent to function.

Response

Success

accessTokenstring
disabledCapabilitiesGitpodV1LLMDisabledCapability[]

disabled_capabilities lists provider capabilities unavailable for this LLM access token.

isServerSideToolSearchEnabledboolean

is_server_side_tool_search_enabled indicates whether the LLM provider supports Anthropic's server-side BM25 tool search. Computed by the management plane based on the provider type and feature flags.

llmUrlstring
tokenSource'LLM_TOKEN_SOURCE_UNSPECIFIED' | 'LLM_TOKEN_SOURCE_DIRECT_API' | 'LLM_TOKEN_SOURCE_BEDROCK' | 'LLM_TOKEN_SOURCE_BEDROCK_MANTLE' | 'LLM_TOKEN_SOURCE_VERTEX_AI'

LLMTokenSource identifies how an LLM integration obtains model access. It is independent from LLMProvider, which identifies the model family.