---
title: "Turn Failed"
method: POST
path: "/api/rooster/executive/turns/{turn_id}/failed"
tags: ["rooster-executive-turns"]
---

# Turn Failed

`POST /api/rooster/executive/turns/{turn_id}/failed`

## 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/rooster/executive/turns/{turn_id}/failed`
- Auth: none declared

The seat could not run this turn. It ends `failed` with `reason`, or with `retry`
goes back to `pending` while attempts remain. A FINAL failure wakes the parked work row
(which re-runs and raises `SeatTurnFailed`); a retry wakes nothing. A model that ran
(`model` set) has its spend filed first, before the 409 check. 409 when not claimed.
(The shadow branch that answered here before 2026-11-23 was deleted in CEO-NOPILOT-1, ER-34.)

## Path parameters

- `turn_id` string, uuid, required

## Request body

- ExecutiveTurnFailedRequest
  - `latency_ms` integer
  - `turns` integer, nullable
  - `input_tokens` integer, nullable
  - `cache_creation_tokens` integer, nullable
  - `cache_read_tokens` integer, nullable
  - `output_tokens` integer, nullable
  - `packet_digest` string, required
  - `reason` string, required
  - `retry` boolean
  - `paused` boolean
  - `model` string, nullable
  - `provider` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-19** `e726fa19626f`: 1 info
  - added the new optional request property `paused`
- **2026-10-16** `6c5a3a1eb589`: 8 info
  - added the new optional request property `cache_creation_tokens`
  - added the new optional request property `cache_read_tokens`
  - added the new optional request property `input_tokens`
  - added the new optional request property `latency_ms`
  - …4 more

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/rooster/executive/turns/:turn_id/failed/post.md)

---

[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)
