---
title: "Record Seat Call"
method: POST
path: "/api/rooster/seat-calls"
tags: ["rooster"]
---

# Record Seat Call

`POST /api/rooster/seat-calls`

## 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/seat-calls`
- Auth: none declared

`tools/rooster_worker/claude_cli.py` posts every `claude -p` run it
makes for a lane whose server files no row of its own (bug intake, fix
review, board seat, the seat probe), so `model_calls` says what the Claude
seat spent, per lane. Frederick, 2026-10-06: "make sure it's built to be
token efficient and not burn through the weekly allocation again."

The rooster container has no database, so the worker cannot write the row
itself (`app.modules.rooster.seat_calls`); a 2xx here is the receipt the
worker counts on. 422 for a lane or provider this will not file (a lane
whose server already records it would be counted twice). Bookkeeping only,
never a gate: it moves nothing and spends nothing. Ruling:
`docs/01_decisions/rulings/2026-10-06-the-claude-seat-is-for-intake-
fixes-and-the-board.md`.

## Request body

- SeatCallRequest: One `claude` run, as `tools/rooster_worker/claude_cli.py` saw it. Every count is the CLI's own `--output-format json` usage block; None means the run reported none (timed out, could not start, plain-text output).
  - `lane` string, required
  - `provider` string, required
  - `model` string, required
  - `ok` boolean, required
  - `latency_ms` integer, required
  - `turns` integer, nullable
  - `input_tokens` integer, nullable
  - `cache_creation_tokens` integer, nullable
  - `cache_read_tokens` integer, nullable
  - `output_tokens` integer, nullable
  - `error` string, nullable
  - `seat` string
  - `rate_limit` object, nullable
  - `list_cost_usd` number, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-22** `ddaa518efc18`: 3 info
  - added the new optional request property `list_cost_usd`
  - added the new optional request property `rate_limit`
  - added the new optional request property `seat`

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/rooster/seat-calls/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)
