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

# ListRunnerSCMIntegrations

`POST /gitpod.v1.RunnerInteractionService/ListRunnerSCMIntegrations`

Lists SCM integrations configured for a runner.

 Use this method to:
 - View SCM configurations
 - Check integration status
 - Monitor available SCMs

 ### Examples

 - List integrations:

   Shows SCM integrations for a runner.

   ```yaml
   runnerId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   pagination:
     pageSize: 20
   ```

## Query parameters

- `pageSize` integer
- `token` string

## Request body

- GitpodV1ListRunnerSCMIntegrationsRequest
  - `filter` GitpodV1ListRunnerSCMIntegrationsRequestFilter
    - `scmIntegrationIds` string[] — environment_class_ids filters the response to only SCM integrations with these IDs
  - `pagination` GitpodV1PaginationRequest
    - `pageSize` integer — Page size is the maximum number of results to retrieve per page. Defaults to 25. Maximum 100.
    - `token` string — Token for the next set of results that was returned as next_token of a PaginationResponse
  - `runnerId` string, uuid — The runner's identity

## Response `200`

Success

- GitpodV1ListRunnerSCMIntegrationsResponse
  - `pagination` GitpodV1PaginationResponse
    - `nextToken` string — Token passed for retreiving the next set of results. Empty if there are no more results
  - `scmIntegrations` GitpodV1SCMIntegration[] — The SCM integrations configured for the runner
    - `host` string
    - `id` string — id is the unique identifier of the SCM integration
    - `oauth` GitpodV1SCMIntegrationOAuthConfig
      - `clientId` string — client_id is the OAuth app's client ID in clear text.
      - `encryptedClientSecret` string, byte — encrypted_client_secret is the OAuth app's secret encrypted with the runner's public key.
    - `pat` boolean
    - `runnerId` string
    - `scmId` string — scm_id references the scm_id in the runner's configuration schema that this integration is for

## Other responses

- `default` — Error

## Changes

- **2025-02-21** `3655d5ad0ac3` — 4 breaking, 2 warning, 8 info
  - the `filter` request property type/format changed from ``/`` to `object`/``
  - the `pagination` request property type/format changed from ``/`` to `object`/``
  - the `pagination` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `scmIntegrations/items/oauth` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - …10 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/ListRunnerSCMIntegrations/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)
