---
title: "The whole general plan as one markdown file"
method: GET
path: "/v1/governments/{id}/plan"
tags: ["Documents"]
---

# The whole general plan as one markdown file

`GET /v1/governments/{id}/plan`

## Request

- Base URL: `https://api.openpublica.com`
- URL: `https://api.openpublica.com/v1/governments/{id}/plan`
- Auth: none declared

Returns raw `text/markdown` — a deliberate exception to the envelope, because the point of the route is to hand you a file. Sections are ordered as a plan is bound (Gov Code §65302), not alphabetically. Budgets are not included.

NOT suitable for a model context window: 27k–179k tokens depending on the city. The read path for an agent is `/v1/documents/search` then `/v1/documents/{id}/text`.

## Path parameters

- `id` string, required

## Response `200`

The assembled plan

## Other responses

- `404`: No such record.
- `429`: Per-IP rate limit exceeded.
- `500`: Internal server error.

---

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