# history.get

Read one change from History by its id: every record it touched in that step, the values before and after where Oatmilk kept them, how it was made (Ask AI, an AI app, the API, the integration key), the error when it failed, any rollback of it (or the change it rolled back), and the same record's other recent changes.

`GET | POST /api/v1/accounting/history.get`

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

MCP tool: `accounting_history_get`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | string | Yes | The record's ID. Matches ^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\|sig-[0-9]{1,19})$. |

## Example request

```bash
curl -G https://app.getoatmilk.com/api/v1/accounting/history.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=11111111-1111-1111-1111-111111111111'
```

Reference page: https://app.getoatmilk.com/docs/api/history.get
