---
title: "Assist Draft"
method: POST
path: "/assist/draft"
tags: ["assist"]
---

# Assist Draft

`POST /assist/draft`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/assist/draft`
- Auth: API key in header `X-Agent-Key`

LAST-RESORT WRITER. Drafts the brief's piece from the author's own
material — interview answers or their rough draft — inside the brand's voice
profile, then loops review → revise until there are no blockers, no cadence
findings and the voice is in range (or max_passes). Refuses when the brief
has no author material: without it this would be the slop machine the
Writing Agent exists to stop. Pro + WRITING_CREDITS_PER_1000_WORDS credits per 1,000 words; appends a disclosure
line. The user's Claude stays the default writer; this is for when a draft
has failed twice or the user asks.

## Query parameters

- `email` string, nullable

## Request body

- DraftBody
  - `brief_id` string, required
  - `max_passes` integer
  - `save` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
