---
title: "Replace a drafted output's body with an edited version before it is resolved. Manual replacement only: the instruction-driven AI redraft stays in the app. The previous draft is kept as revision history. Free; scope 'act'; Founder tier."
method: POST
path: "/api/v1/outputs/{id}/redraft"
---

# Replace a drafted output's body with an edited version before it is resolved. Manual replacement only: the instruction-driven AI redraft stays in the app. The previous draft is kept as revision history. Free; scope 'act'; Founder tier.

`POST /api/v1/outputs/{id}/redraft`

## Request

- Base URL: `https://afterlaunch.io`
- URL: `https://afterlaunch.io/api/v1/outputs/{id}/redraft`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `draft_fence` object: For a content pilot edit, return draft_fence unchanged from get_move or get_output. Refresh after a conflict.
    - `move_id` string, uuid, required
    - `move_state` string, required
    - `move_updated_at` string, date-time, required
    - `job_id` string, uuid, nullable, required
    - `attempt_id` string, uuid, nullable, required
    - `job_state` string, nullable, required
    - `job_updated_at` string, date-time, nullable, required
    - `candidate_id` string, uuid, required
    - `draft` string, required
  - `draft` string, required

## Response `200`

Draft saved.

- object
  - `data` object, required
  - `meta` object, required
    - `enrollment_id` string, uuid, required
    - `generated_at` string, date-time, required

## Other responses

- `400`: Invalid draft (1 to 20000 characters).
- `401`: Missing, invalid or revoked API key.
- `403`: The key does not carry the scope this endpoint requires.
- `404`: Not found (including cross-tenant ids).
- `409`: The output is already resolved and can no longer be edited.
- `429`: Per-key rate limit exceeded. Honour Retry-After.

---

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