---
title: "Record Case Outcome"
method: POST
path: "/api/rooster/cases/{case_id}/outcome"
tags: ["rooster-cases"]
---

# Record Case Outcome

`POST /api/rooster/cases/{case_id}/outcome`

## 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/cases/{case_id}/outcome`
- Auth: none declared

A person disposes of a case handed to them -- `Rooster.dc.html`'s
"Close it" card, "Mark resolved". Gated the same as `/reopen` above
(`rooster:cases:write`, never a per-role business grant): closing a
case Rooster asked about is the same "a person or the coordinator acts
on the case board" shape, not a new privilege.

`resolved_by_principal_id` is always the calling principal -- a human
clicked this button, which is exactly what `service.record_outcome`'s
own docstring says `decision_id`/`resolved_by_principal_id` exist to
tell apart from Rooster closing a case unattended (`act_switchboard`'s
`resolved_by_principal_id=None`).

## Path parameters

- `case_id` string, uuid, required

## Request body

- RecordOutcomeRequest: `Rooster.dc.html`'s "Close it" card: "Mark resolved" is a person accepting Rooster's finding (`resolution="accepted"`); no other resolution has a button on that screen today, but the full vocabulary is accepted here rather than hardcoding one string, since this is the same `record_outcome` seam every other case-closing caller uses.
  - `resolution` string, required
  - `correction_text` string, nullable

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