---
title: "Revise and retry a needs_review capture"
method: POST
path: "/v1/captures/{id}/retry"
tags: ["captures"]
---

# Revise and retry a needs_review capture

`POST /v1/captures/{id}/retry`

## Request

- Base URL: `http://localhost:4318`
- URL: `http://localhost:4318/v1/captures/{id}/retry`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- CaptureInput
  - `description` string, required
  - `eatenAt` string, date-time, required
  - `mealType` 'breakfast' | 'lunch' | 'dinner' | 'snack'
  - `source` 'app' | 'web' | 'siri' | 'notification' | 'mcp' | 'api' | 'widget'
  - `savedMealId` string, uuid
  - `correctionOf` string, uuid
  - `expectedRevision` integer

## Response `200`

Success

- Capture
  - `id` string, uuid
  - `status` 'queued' | 'processing' | 'complete' | 'needs_review'
  - `input` object
    - `description` string, required
    - `eatenAt` string, date-time, required
    - `mealType` 'breakfast' | 'lunch' | 'dinner' | 'snack'
    - `source` 'app' | 'web' | 'siri' | 'notification' | 'mcp' | 'api' | 'widget'
    - `savedMealId` string, uuid
    - `correctionOf` string, uuid
    - `expectedRevision` integer
    - `mealTypeInferred` boolean
    - `timingInferred` boolean
    - `mentionedMealTypes` string[]
  - `mealIds` string[]
  - `mealId` string, nullable
  - `error` string, nullable
  - `createdAt` string, date-time

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid bearer token
- `409`: Revision or idempotency conflict
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/nibb/apis/nibb-api.md) · [All operations](https://skmtc.dev/nibb/apis/nibb-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nibb/apis/nibb-api/revisions/75bcd8b761ed?raw)
