---
title: "UpdateLLMIntegration"
method: POST
path: "/gitpod.v1.RunnerConfigurationService/UpdateLLMIntegration"
tags: ["gitpod.v1.RunnerConfigurationService"]
---

# UpdateLLMIntegration

`POST /gitpod.v1.RunnerConfigurationService/UpdateLLMIntegration`

Updates an existing LLM integration.

 Use this method to:
 - Modify integration settings
 - Update credentials
 - Change configuration

 ### Examples

 - Update integration:

   Updates OAuth credentials.

   ```yaml
   id: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   apiKey: "sk-..."
   ```

## Request body

- GitpodV1UpdateLLMIntegrationRequest
  - `apiKey` string, nullable — api_key can be set to update the LLM provider's API key. The cleartext secret will be encrypted with the runner's public key before being stored.
  - `endpoint` string, nullable
  - `id` string, uuid
  - `models` GitpodV1SupportedModel[] — models can be updated to change the supported LLM models Set list of supported models to the given list. Empty list means no updates to the models.

## Response `200`

Success

- GitpodV1UpdateLLMIntegrationResponse

## Other responses

- `default` — Error

## Changes

- **2025-06-10** `ca9a49ac7fbb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.RunnerConfigurationService/UpdateLLMIntegration/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/ca9a49ac7fbb/schema)
