---
title: "UpdateRunnerConfigurationSchema"
method: POST
path: "/gitpod.v1.RunnerInteractionService/UpdateRunnerConfigurationSchema"
tags: ["gitpod.v1.RunnerInteractionService"]
---

# UpdateRunnerConfigurationSchema

`POST /gitpod.v1.RunnerInteractionService/UpdateRunnerConfigurationSchema`

Updates the configuration schema for a runner.

 Use this method to:
 - Define configuration options
 - Update schema definitions
 - Set validation rules

 ### Examples

 - Update schema:

   Updates runner configuration schema.

   ```yaml
   runnerId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   configSchema:
     version: "1.0"
     runnerConfig:
       - id: "region"
         name: "Region"
         description: "Deployment region"
         required: true
         string:
           default: "us-west"
           pattern: "^[a-z]+-[a-z]+-[0-9]+$"
       - id: "autoUpdate"
         name: "Auto Update"
         description: "Enable automatic updates"
         required: true
         bool:
           default: true
   ```

## Request body

- GitpodV1UpdateRunnerConfigurationSchemaRequest
  - `configSchema` GitpodV1RunnerConfigurationSchema — unresolved $ref
  - `runnerId` string, uuid — The runner's identity

## Response `200`

Success

- GitpodV1UpdateRunnerConfigurationSchemaResponse

## Other responses

- `default` — Error

## Changes

- **2025-02-21** `3655d5ad0ac3` — 1 breaking, 1 warning, 4 info
  - the `configSchema` request property type/format changed from ``/`` to `object`/``
  - removed `#/components/schemas/gitpod.v1.RunnerConfigurationSchema` from the `configSchema` request property `allOf` list
  - added the new optional request property `configSchema/environmentClasses`
  - added the new optional request property `configSchema/runnerConfig`
  - …2 more
- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.RunnerInteractionService/UpdateRunnerConfigurationSchema/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/3655d5ad0ac3/schema)
