Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

List SCM installations for a workspace

GET/v1/scm-installationsList SCM installations for a workspace

⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️

Lists active SCM installations connected to the given workspace.

Parameters

cursornull | stringquery

Cursor for pagination

limitnumberquery

Limit for pagination

default 100

workspaceIdstringqueryrequired

pattern ^(wksp_)?([cC][^\s-]{8,}|[a-z0-9]+)$

repositorystringquery

pattern ^[\w.-]+\/[\w.-]+$

Responses

200SCM installations the caller can access in the workspace. May be empty.application/json
object
dataarray of objectrequired
Show child attributes
Show array items
accountIdintegerrequired

Numeric account ID assigned by the SCM provider

accountLoginstringrequired
accountTypestringrequired

one of "user", "organization"

createdAtstring · date-timerequired
idstringrequired

pattern ^(scminstall_)([cC][^\s-]{8,}|[a-z0-9]+)$

installationIdintegerrequired

Numeric installation ID assigned by the SCM provider

providerstringrequired

one of "github"

suspendedbooleanrequired
typestringrequired

const "scm-installation"

updatedAtstring · date-timerequired
urlstring · urirequired
hintstring
paginationobjectrequired
Show child attributes
hasMorebooleanrequired

Whether there are more items to paginate

nextCursornull | stringrequired

Next cursor to continue pagination

Example response
{
  "data": [
    {
      "accountId": 0,
      "accountLogin": "string",
      "accountType": "organization",
      "createdAt": "2026-06-09T00:00:00Z",
      "id": "string",
      "installationId": 0,
      "provider": "github",
      "suspended": true,
      "type": "scm-installation",
      "updatedAt": "2026-06-09T00:00:00Z",
      "url": "https://example.com"
    }
  ],
  "hint": "string",
  "pagination": {
    "hasMore": true,
    "nextCursor": "string"
  }
}
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu