---
title: "Claim Draft Review"
method: POST
path: "/api/rooster/draft-reviews/claim"
tags: ["rooster"]
---

# Claim Draft Review

`POST /api/rooster/draft-reviews/claim`

## 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/draft-reviews/claim`
- Auth: none declared

Claim-first per pull request head sha (2026-09-28,
`docs/01_decisions/rulings/2026-09-28-go-twice-as-fast.md`): the
drain's draft-review pass calls this BEFORE spending a `claude -p`
call, and reviews the pull request only when `claimed` comes back
true. Reused permission dependency (`DIRECTION_WRITE`), same as the
neighboring `/issues/claim-for-build` above -- both are the same
machine principal (`rooster-pipeline@pigeon.ly`) doing autonomous
drain work, never a person.

## Request body

- ClaimDraftReviewRequest
  - `pr_number` integer, required
  - `head_sha` string, required

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