---
title: "Get Pillar Document"
method: GET
path: "/api/v1/knowledge-base/pillars/{pillar_id}/document"
tags: ["Knowledge Base"]
---

# Get Pillar Document

`GET /api/v1/knowledge-base/pillars/{pillar_id}/document`

Fetches a pillar's synthesized markdown document. Returns `document: null` when the pillar exists but has no synthesized document yet (this is a 200, not a 404). Also available as the MCP tool `get_pillar_document`.

## Path parameters

- `pillar_id` string, uuid, required

## Query parameters

- `website_id` string, uuid, required

## Response `200`

Successful response with the pillar's synthesized document

- object
  - `pillar_id` string, uuid, required
  - `name` string, required
  - `document` string, nullable, required — The synthesized markdown document, or null when none exists yet.
  - `generated_at` string, nullable, required — ISO 8601 timestamp of the document's last generation, or null.

## Other responses

- `400` — Bad request - Invalid parameters
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - No access to this website, or the Knowledge Base is not enabled for the organization
- `404` — Not found - The pillar does not exist on this website

---

[API](https://skmtc.net/athenahq/apis/athenahq-api.md) · [All operations](https://skmtc.net/athenahq/apis/athenahq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/athenahq/athenahq-api/versions/6c5d71622cb9/schema)
