---
title: "Get repository details and statistics"
method: GET
path: "/api/repos/detail"
tags: ["repos"]
---

# Get repository details and statistics

`GET /api/repos/detail`

## Request

- The document declares no server URL.
- Auth: none declared

## Query parameters

- `identifier` string, required: Repository path or display name
- `by_path` boolean: Identifier was resolved to a filesystem path by the client

## Response `200`

OK

- RepoStats
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `closed_reviews` integer, required
  - `completed_jobs` integer, required
  - `failed_jobs` integer, required
  - `failed_reviews` integer, required
  - `open_reviews` integer, required
  - `passed_reviews` integer, required
  - `queued_jobs` integer, required
  - `repo` Repo, required
    - `$schema` string, uri: A URL to the JSON Schema for this object.
    - `created_at` string, date-time, required
    - `id` integer, required
    - `identity` string
    - `name` string, required
    - `root_path` string, required
  - `running_jobs` integer, required
  - `total_jobs` integer, required

## Other responses

- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

## Changes

- **2026-10-14** `e348b02722c0`: 4 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the non-success response with the status `422`
  - added the non-success response with the status `500`
- **2026-10-02** `f4a08e7ffd79`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/repos/detail/get.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) - [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/roborev/revisions/5803a85073e3?raw)
