---
title: "Get SCMApp"
method: GET
path: "/api/scm/deployments/{deploymentId}/scm_apps/{requestId}"
tags: ["ScmAppsService"]
---

# Get SCMApp

`GET /api/scm/deployments/{deploymentId}/scm_apps/{requestId}`

Get an SCM app by its request ID.

## Path parameters

- `deploymentId` string, required
- `requestId` string, required

## Response `200`

OK

- ProtosScmV1GetScmAppResponse
  - `app` ProtosScmV1ScmApp
    - `id` string
    - `slug` string
    - `appId` string
    - `scmType` 'SCM_TYPE_GITHUB' | 'SCM_TYPE_GITHUB_ENTERPRISE' | 'SCM_TYPE_GITLAB' | 'SCM_TYPE_GITLAB_SELFMANAGED' | 'SCM_TYPE_BITBUCKET' | 'SCM_TYPE_BITBUCKET_DATACENTER' | 'SCM_TYPE_AZURE_DEVOPS' | 'SCM_TYPE_UNKNOWN' | 'SCM_TYPE_HARNESS', enum — | value | description | |-------|---------------| | SCM_TYPE_GITHUB | GitHub Cloud | | SCM_TYPE_GITHUB_ENTERPRISE | GitHub Enterprise | | SCM_TYPE_GITLAB | GitLab Cloud | | SCM_TYPE_GITLAB_SELFMANAGED | GitLab Self-Managed | | SCM_TYPE_BITBUCKET | Bitbucket Cloud | | SCM_TYPE_BITBUCKET_DATACENTER | Bitbucket Data Center | | SCM_TYPE_AZURE_DEVOPS | Azure DevOps | | SCM_TYPE_UNKNOWN | | | SCM_TYPE_HARNESS | Harness |
    - `baseUrl` string
    - `requestId` string
    - `scmName` string
    - `codeAccess` boolean
    - `tenantId` string — Entra tenant ID, unset for other SCM types

---

[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)
