History and rollback

history.facets

Count History by person, source and action for a date range (from/to), with the first and last change, so filters only offer choices that exist.

GETPOST/api/v1/accounting/history.facets

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_history_facets

Fields

  • fromstring

    The first date to include, as YYYY-MM-DD.

    at most 40 characters

  • tostring

    The last date to include, as YYYY-MM-DD.

    at most 40 characters

Example

curl https://app.getoatmilk.com/api/v1/accounting/history.facets \
  -H "Authorization: Bearer $OATMILK_API_KEY"
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.facets
curl https://app.getoatmilk.com/api/v1/accounting/history.facets \
  -H "Authorization: Bearer $OATMILK_API_KEY"

More in History and rollback.