History and rollback

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.

GETPOST/api/v1/accounting/history.get

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_history_get

Fields

  • idstringRequired

    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

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'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/history.get
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'

More in History and rollback.