---
title: "Refine Edit Backlog"
method: GET
path: "/api/rooster/refine/{skill_key}/backlog"
tags: ["rooster"]
---

# Refine Edit Backlog

`GET /api/rooster/refine/{skill_key}/backlog`

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

The batch learn pass's read: every edit diff nobody has learned from,
oldest first, keyset-paginated on (created_at, id).

Exists beside `/refine/{skill_key}/evidence` rather than replacing it.
The evidence endpoint is the 15-minute heartbeat's 50-row steady-state
read; this one exists to drain a 3,113-diff BACKLOG (the corrections
accumulated over months while nothing read them -- verified in
production 2026-09-03), which needs pagination and edits-only rows the
heartbeat read was never shaped for.

`after_created_at`/`after_id` travel together: pass BOTH values from the
last row of the previous page, or neither.

## Path parameters

- `skill_key` string, required

## Query parameters

- `after_created_at` string, date-time, nullable
- `after_id` string, uuid, nullable
- `limit` integer

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