---
title: "Record Draft Edit"
method: POST
path: "/profile/learning/draft-edit"
tags: ["profile", "profile", "learning"]
---

# Record Draft Edit

`POST /profile/learning/draft-edit`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/profile/learning/draft-edit`
- Auth: none declared

Record a draft edit for learning.

## Request body

- DraftEditRequest: Request to record a draft edit.
  - `draft_id` string, required
  - `original` string, required
  - `edited` string, required
  - `context` DraftEditContext: Context for a draft edit.
    - `thread_id` string, nullable
    - `channel` string, nullable
    - `recipient_name` string, nullable
    - `goal` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
