---
title: "The repo rules pack: AGENTS.md, CLAUDE.md, the Cursor rule, DESIGN.md and token files"
method: GET
path: "/api/v1/designs/{id}/rules-pack"
---

# The repo rules pack: AGENTS.md, CLAUDE.md, the Cursor rule, DESIGN.md and token files

`GET /api/v1/designs/{id}/rules-pack`

## Request

- Base URL: `https://brandpilot.dev`
- URL: `https://brandpilot.dev/api/v1/designs/{id}/rules-pack`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `authjs.session-token`
  - HTTP bearer

## Path parameters

- `id` string, required

## Query parameters

- `file` string

## Response `200`

OK

## Other responses

- `401`: Missing, invalid or revoked credential
- `403`: The API key lacks the required scope
- `404`: Not found, or not visible to this credential
- `429`: Rate limited

---

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