Inspect

List repositories

List available repositories. System API keys see every repository available to them; user keys see their visible, non-hidden repositories.

Base URL
GET
/api/v2/repositories

List available repositories. System API keys see every repository available to them; user keys see their visible, non-hidden repositories.

Authorization

bearerAuth repositories:read
headerAuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

Scope: repositories:read

Response Body

List of repositories

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://app.inspect.com/api/v2/repositories'
Example Response
{  "data": [    {      "id": "web",      "name": "web",      "description": "Acme customer dashboard and marketing site",      "organization": "acme",      "remote": "github",      "github_host": "github",      "base_branch": "main",      "auto_match_enabled": true,      "ci_auto_fix_ignored_checks": [        "codecov/patch"      ],      "merge_queue": {        "provider": "github"      },      "automatic_reviews": "on"    }  ],  "meta": {    "next_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzAyNDQ2NzMzMCwicjVqMWI4dDN5NnFlIl19",    "previous_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzIwMjEzMTIwNCwieDdrMm05cTRwMXphIl19",    "has_next_page": true,    "has_previous_page": false,    "suggested": [      "web",      "api"    ]  }}