---
title: "List your Story Rules library"
method: GET
path: "/rules"
tags: ["rules"]
---

# List your Story Rules library

`GET /rules`

## Request

- Base URL: `https://aistoryhub.co/api/v1`
- URL: `https://aistoryhub.co/api/v1/rules`
- Auth: HTTP bearer

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

A page of Story Rules.

- object
  - `data` Rule[]
    - `id` string, uuid
    - `name` string
    - `instructions` string
    - `special_instructions` string, nullable
    - `context` string, nullable
    - `description` string, nullable
    - `content_rating` 'general' | 'adult'
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
  - `pagination` Pagination
    - `limit` integer
    - `offset` integer
    - `total` integer

## Other responses

- `401`: Missing, malformed, invalid, revoked, or expired token.
- `403`: The token lacks the scope this endpoint requires.
- `429`: Too many requests. Retry after the delay in the `Retry-After` header.

---

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