---
title: "Generate Email Thread Draft"
method: POST
path: "/email/threads/{thread_id}/draft"
tags: ["email"]
---

# Generate Email Thread Draft

`POST /email/threads/{thread_id}/draft`

Fill the composer. Never sends. Failure is an empty box.

## Path parameters

- `thread_id` string, uuid, required

## Response `200`

Successful Response

- EmailThreadDraftRead — Ephemeral composer fill. Empty ``text`` means no draft — never an error wall.
  - `text` string, required
  - `agent_id` string, uuid, nullable

## Other responses

- `404` — Email thread not found
- `422` — Validation Error

## Changes

- **2026-09-03** `fbb95eac3965` — 1 info
  - added the optional property `agent_id` to the response with the `200` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/email/threads/:thread_id/draft/post.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/fbb95eac3965/schema)
