v1

latestOpenAPI 3.0.02026-07-26193332.3 KB
REST API - Repos

List repositories from all connected providers, including whether PR scans are enabled

get/repos

Response

errorsstring[] required

Providers that failed to respond

Example response

{
  "repos": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "provider": "github",
      "name": "octocat/Hello-World",
      "providerKey": "octocat/Hello-World",
      "enabled": true,
      "threatModelUpdatedAt": "2026-06-22T12:00:00.000Z",
      "prScansEnabled": true,
      "prScanBranches": [
        "main",
        "**/release/**"
      ],
      "installationId": 12345678,
      "baseUrl": "https://ghe.example.com",
      "defaultBranch": "main",
      "visibility": "private",
      "webhookRegistered": true,
      "isPrivate": true
    }
  ],
  "errors": []
}