---
title: "Propose Refinement"
method: POST
path: "/api/rooster/refine/{skill_key}"
tags: ["rooster"]
---

# Propose Refinement

`POST /api/rooster/refine/{skill_key}`

## 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/refine/{skill_key}`
- Auth: none declared

Rooster PROPOSES a change to himself. Nothing is applied here.

Frederick, 2026-08-13: "He can propose a change and an improvement. And
then after I get comfortable with his improvement suggestions... it could
be autonomous."

This endpoint used to apply the change directly. It proposes instead,
because a proposal satisfies "no change that's unprevertable should be
done" outright -- nothing to revert if nothing was changed -- and because
it is what earns the evidence that decides when the gate can come off.

The before-rate is measured HERE rather than accepted from the caller: a
worker reporting its own baseline could report a flattering one, and the
ledger is worthless if the comparison cannot be trusted. When the
proposal names a vertical, the baseline is that vertical's own rate --
the judge later measures the after-rate over the same slice, so the
comparison stays like-with-like in both dimensions.

## Path parameters

- `skill_key` string, required

## Request body

- RecordRefinement
  - `summary` string, required
  - `model` string, required
  - `learned_from` string[]
  - `vertical` 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)
