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

# GET /rulebooks/{id}/

`GET /rulebooks/{id}/`

Get the rulebook by its id

## Path parameters

- `id` integer, required

## Response `200`

Return the rulebook by its id.

- 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 `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 `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 `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 `path` to the response with the `200` status

[Change history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/rulebooks/:id/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)
