---
title: "Generate content outline for a guide"
method: POST
path: "/api/v1/outline"
tags: ["v1", "In-guide features"]
---

# Generate content outline for a guide

`POST /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

Generates a content outline based on SERP analysis for a guide.
**Note:** This endpoint uses tokens (check /api/v1/tokens-usage for the cost, might vary).

## Query parameters

- `guideId` string, required

## Response `200`

Outline generation initiated successfully

- object
  - `success` boolean

## Other responses

- `400`: Bad request - Invalid guideId, insufficient tokens, or failed to consume tokens
- `401`: Unauthorized - Invalid API key
- `404`: Guide 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. No token is consumed by this refusal.
- `429`: Rate limit reached or free plan limit exceeded
- `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)
