---
title: "Discard Agent Draft"
method: POST
path: "/api/cs/tickets/{ticket_id}/messages/{message_id}/discard"
tags: ["customer_service"]
---

# Discard Agent Draft

`POST /api/cs/tickets/{ticket_id}/messages/{message_id}/discard`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/cs/tickets/{ticket_id}/messages/{message_id}/discard`
- Auth: none declared

A human would not send any version of this draft. Records 'rejected'
-- or, when `body.fabricated` is true, the heavier 'fabricated' outcome
-- against the skill: the strongest negative signal Rooster can get, and
one that used to never leave the browser -- AND flips the row to
state='discarded', so it stops blocking Rooster from drafting again on
this ticket (see service.discard_agent_draft's docstring).

## Path parameters

- `ticket_id` string, uuid, required
- `message_id` string, uuid, required

## Request body

- DiscardDraftRequest, nullable
  - `fabricated` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
