---
title: "Get generated page structure for a guide"
method: GET
path: "/api/v1/outline"
tags: ["v1", "In-guide features"]
---

# Get generated page structure for a guide

`GET /api/v1/outline`

## Request

- Base URL: `https://app.serpmantics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.serpmantics.com/api/v1/outline`
- Auth: HTTP bearer

Retrieves the generated page structure (flat heading list) for a guide.

## Query parameters

- `guideId` string, required

## Response `200`

Page structure retrieved successfully

- object
  - `success` boolean
  - `isReady` boolean: Whether the generation is complete
  - `data` object
    - `pageStructure` object[]
      - `hn` integer: Heading level (1-6)
      - `text` string: Heading text

## Other responses

- `401`: Unauthorized - Invalid API key
- `404`: Page structure not found
- `410`: Guide expired. Guides are locked 180 days after their creation, because the Google results they are built on are no longer representative. The body is `{ success: false, error: "Guide expired", expiresAt: "<ISO 8601 expiry date>" }`. Definitive: do not retry, create a new guide on the same keyword.
- `500`: Internal server error

---

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