# aiReview.search

Search retained redacted Ask AI conversations in an explicit window of up to 31 days, at most 50 samples. Requires a current operator-issued reviewer grant for each exact chat owner; admins receive no implicit access. Human dashboard or terminal only.

`GET | POST /api/v1/accounting/aiReview.search`

Permissions: `accounting:read` · Roles: admin, finance, contributor

Not available over MCP: Private redacted chats and human review stay in Oatmilk and its terminal; connected AI apps receive no reviewer access or chat sharing.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `from` | string (date-time) | Yes | The first date to include, as YYYY-MM-DD. |
| `to` | string (date-time) | Yes | The last date to include, as YYYY-MM-DD. |
| `limit` | integer |  | How many results to return at most. 1 to 50. Default `10`. |
| `search` | string |  | Text to search for. at most 200 characters. Default `""`. |
| `coverage` | enum |  | One of: `complete`, `incomplete`, `unavailable`. |
| `model` | string |  | at most 160 characters. |
| `tool` | string |  | at most 120 characters. |
| `errorsOnly` | boolean |  |  |
| `fallback` | enum |  | One of: `observed`, `unavailable`. |

## Example request

```bash
curl -G https://app.getoatmilk.com/api/v1/accounting/aiReview.search \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'from=2026-09-30T14:00:00Z' \
  --data-urlencode 'to=2026-09-30T14:00:00Z'
```

Reference page: https://app.getoatmilk.com/docs/api/aiReview.search
