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

# List repository gate definitions

`GET /api/v1/cache/{forge}/{org}/{repo}/gates`

## Path parameters

- `forge` string, required
- `org` string, required
- `repo` 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' | 'checks' | 'up_to_date' | 'base_checks' | 'eval', 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-09-24** `ba1409f8f36b` — 1 warning
  - added the new `base_checks` enum value to the `gates/items/gate_type` response property for the response status `200`

[Change history](https://skmtc.dev/entire/apis/entire-api/changes/api/v1/cache/:forge/:org/:repo/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/d69a682d6e44?raw)
