---
title: "GET /rulebooks/"
method: GET
path: "/rulebooks/"
tags: ["rulebooks"]
---

# GET /rulebooks/

`GET /rulebooks/`

List all rulebooks

## Query parameters

- `name` string
- `page` integer
- `page_size` integer
- `project_id` number

## Response `200`

Return a list of rulebooks.

- PaginatedRulebookList
  - `count` integer
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `page_size` integer, nullable
  - `page` integer, nullable
  - `results` Rulebook[]
    - `id` integer, required
    - `name` string, required
    - `description` string, nullable
    - `rulesets` string
    - `project_id` integer, nullable — ID of the project
    - `organization_id` integer, required — ID of the organization
    - `created_at` string, date-time, required
    - `modified_at` string, date-time, required

## Changes

- **2024-04-23** `cbf68ddd9760` — 3 info
  - the endpoint scheme security `EDAJWTAuthentication` was added to the API
  - the endpoint scheme security `jwtAuth` was added to the API
  - added the required property `results/items/organization_id` to the response with the `200` status
- **2023-08-21** `c84b4813cab1` — 1 info
  - the endpoint scheme security `cookieAuth` was added to the API
- **2023-05-19** `f84d9240fdf2` — 1 warning, 1 info
  - removed the optional property `results/items/path` from the response with the `200` status
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2023-04-25** `62d33b790834` — 1 breaking, 3 info
  - removed the required property `results/items/organization_id` from the response with the `200` status
  - the endpoint scheme security `EDAJWTAuthentication` was removed from the API
  - the endpoint scheme security `jwtAuth` was removed from the API
  - added the optional property `results/items/path` to the response with the `200` status

[Change history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/rulebooks/get.md)

---

[API](https://skmtc.dev/ansible/apis/event-driven-ansible-api.md) · [All operations](https://skmtc.dev/ansible/apis/event-driven-ansible-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ansible/event-driven-ansible-api/revisions/c04fc5f09692/schema)
