Inspect

Get repository

Retrieve a repository and its settings.

Base URL
GET
/api/v2/repositories/{repository_id}

Retrieve a repository and its settings.

Authorization

bearerAuth repositories:read
headerAuthorizationBearer <token>

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

Scope: repositories:read

Path Parameters

repository_id*string

Repository identifier

Response Body

Repository details

application/json
  1. response
data*

A repository configured in Inspect.

Example Request
curl -X GET 'https://app.inspect.com/api/v2/repositories/web'
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"  }}