---
title: "Check SCMConfig"
method: GET
path: "/api/scm/deployments/{deploymentId}/configs/{configId}/check"
tags: ["ScmService"]
---

# Check SCMConfig

`GET /api/scm/deployments/{deploymentId}/configs/{configId}/check`

Check the status of an SCM config.

## Path parameters

- `deploymentId` string, required
- `configId` string, required

## Response `200`

OK

- ProtosScmV1CheckScmConfigResponse
  - `status` ProtosScmV1ScmStatus
    - `checked` string, date-time
    - `ok` boolean
    - `error` string
  - `tokenScopes` ProtosScmV1ScmTokenScopes
    - `readMetadata` boolean
    - `readPullRequest` boolean
    - `writePullRequestComment` boolean
    - `readContents` boolean
    - `readMembers` boolean
    - `manageWebhooks` boolean
    - `writeContents` boolean
    - `writePullRequest` boolean

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/versions/6483eeecd582/schema)
