---
title: "Send an AI draft"
method: POST
path: "/v1/ai/runs/{id}/send"
tags: ["AI"]
---

# Send an AI draft

`POST /v1/ai/runs/{id}/send`

## Request

- Base URL: `https://www.chatrail.dev`
- URL: `https://www.chatrail.dev/v1/ai/runs/{id}/send`
- Auth: HTTP bearer

Accepts the pending draft through the normal durable message outbox.

## Path parameters

- `id` string, required

## Response `200`

The accepted message id.

## Other responses

- `409`: The draft cannot be sent.

---

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