---
title: "POST /tracer/internal/error-feed-v2/grouping/attempts/{attempt_id}/reserve/"
method: POST
path: "/tracer/internal/error-feed-v2/grouping/attempts/{attempt_id}/reserve/"
tags: ["tracer"]
---

# POST /tracer/internal/error-feed-v2/grouping/attempts/{attempt_id}/reserve/

`POST /tracer/internal/error-feed-v2/grouping/attempts/{attempt_id}/reserve/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/tracer/internal/error-feed-v2/grouping/attempts/{attempt_id}/reserve/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- ReserveGroupingCall
  - `lease_token` string, required
  - `request_key` string, required
  - `request_digest` string, required
  - `max_cost_usd` string, decimal, required
  - `repair_intent` GroupingRepairIntent, nullable
    - `primary_receipt_id` string, required
    - `group_index` integer, required
    - `missing_own_report_ids` string[], required

## Response `200`

OK

- GroupingControlResponse
  - `state` string
  - `failure_code` string
  - `status` string
  - `checkpoint_revision` integer
  - `receipt_id` string, uuid

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `409`: Conflict
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
