rooster-executive-turns

Record Turn Result

File the run's cost, store the answer, end the turn done, write its rooster_turns row and wake the parked work row. A late answer (not claimed UNDER THE DIGEST ECHOED) is 409 and files nothing: the cost row, the ending, the provenance row and the wake share ONE transaction. An empty answer fails the turn, files a failed call, wakes the work (it will read failed), and is 422.

post/api/rooster/executive/turns/{turn_id}/result

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

turn_id, string uuid required

Request body

ExecutiveTurnResultRequest required

The seat's final message and what the run cost, from the CLI's own usage block.

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
output, string required
model, string required
provider, string

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.