---
title: "List repository gate definitions"
method: GET
path: "/api/v1/cache/r/{repoId}/gates"
tags: ["Repo Settings"]
---

# List repository gate definitions

`GET /api/v1/cache/r/{repoId}/gates`

## Request

- Base URL: `https://entire.io` (the document declares no server; this is the origin it was published from)
- URL: `https://entire.io/api/v1/cache/r/{repoId}/gates`
- Auth: none declared

## Path parameters

- `repoId` string, required

## Response `200`

Gate definitions

- object
  - `gates` object[], required
    - `id` string, required
    - `repo_id` string, required
    - `scope_type` string, required
    - `scope_id` string, nullable, required
    - `gate_key` string, required
    - `gate_type` 'approvals' | 'findings' | 'plugin' | 'checks' | 'up_to_date' | 'base_checks' | 'eval', required
    - `plugin` object: A plugin gate's catalog name and logo. Absent when the catalog lookup finds nothing or fails; show gate_key then.
      - `name` string, required
      - `logo_url` string, nullable, required
    - `blocking` boolean, required
    - `enabled` boolean, required
    - `config` object, nullable, required
    - `created_by` string, nullable, required
    - `updated_by` string, nullable, required
    - `created_at` string, required
    - `updated_at` string, required
  - `bypass_policy` 'nobody' | 'admins' | 'admins_author', required
  - `auto_merge_policy` 'disabled' | 'all_gates_pass', required
  - `forge_check_run_enabled` boolean, required

## Other responses

- `404`: Repository not found

## Changes

- **2026-10-23** `6447945bfd4f`: 1 warning, 1 info
  - added the new `plugin` enum value to the `gates/items/gate_type` response property for the response status `200`
  - added the optional property `gates/items/plugin` to the response with the `200` status
- **2026-10-20** `aeb83a0fe3e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/entire/apis/entire-api/changes/api/v1/cache/r/:repoId/gates/get.md)

---

[API](https://skmtc.dev/entire/apis/entire-api.md) - [All operations](https://skmtc.dev/entire/apis/entire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/entire/apis/entire-api/revisions/a24dfcc828d7?raw)
