---
title: "Whether issues can be opened in the project's repository"
method: GET
path: "/projects/{project_id}/error-tracking/source-control"
tags: ["error-tracking"]
---

# Whether issues can be opened in the project's repository

`GET /projects/{project_id}/error-tracking/source-control`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/error-tracking/source-control`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Response `200`

The repository, or what is missing

- SourceControlStatusView: Whether the project's repository can be reached for issues and commits.
  - `configured` boolean, required: Issues can be opened and commits read.
  - `provider` string, nullable: `github`, `gitlab`, or the provider that is not supported.
  - `reason` string, nullable: What is missing, when not configured.
  - `repository` string, nullable: `owner/name`.
  - `setup_path` string, nullable: The console page that fixes it.
  - `web_url` string, nullable

## Other responses

- `401`: Not authenticated
- `403`: No access to the project
- `500`: Internal server error

## Changes

- **2026-11-21** `451aa64395bb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-tracking/source-control/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
