---
title: "Approve the quote's exact maximum. The searches then run as ordinary finds, within that maximum."
method: POST
path: "/v1/investigations/batches/{batch_id}/approve"
---

# Approve the quote's exact maximum. The searches then run as ordinary finds, within that maximum.

`POST /v1/investigations/batches/{batch_id}/approve`

## Request

- Base URL: `https://api.specstream.ai`
- URL: `https://api.specstream.ai/v1/investigations/batches/{batch_id}/approve`
- Auth: API key in header `Authorization`

## Path parameters

- `batch_id` string, required

## Request body

- InvestigationBatchApprove
  - `quote_hash` string, required
  - `confirm_max_cents` integer, required

## Response `202`

Approve the quote's exact maximum. The searches then run as ordinary finds, within that maximum.

- object
  - `data` InvestigationBatch, required
    - `batch_id` string, required
    - `function_id` string, required
    - `name` string, required
    - `collection_id` string, required
    - `state` string, required
    - `reason` string, nullable, required
    - `maximum_cents` integer, required
    - `currency` string, required
    - `quote_hash` string, required
    - `expires_at` string, date-time, required
    - `counts` object, required
    - `rows` object[], required
    - `works` object[], required
    - `created_at` string, date-time, required

## Other responses

- `default`: Error envelope

---

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