read
finance

One entity's audit trail: every change, read, proposal, approval, export, switch, period act, role change and API call.

Changed on

Newest first, keyset-paged: pass next_cursor back as cursor. Each row carries key (l: for a change recorded by the books, m: for an API or MCP call on them), at, category (api, read, access, proposal, approval, export, control, period or change), the actor (actor_user_id, actor_kind, app_id), action, and for a change the masked before and after. categories is a comma-separated filter; from and to bound at (to exclusive). Needs the audit capability on the entity (an owner, an admin or a time-boxed auditor) and the switch audit_trail_api; until it is on this answers 403 finance_feature_off. Every page read is itself recorded in the trail as read.audit_trail.

post/api/v1/finance/audit-trail

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesfinance:read

Request body

object required
entity_id, string uuid required

The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.

categories, string

Comma-separated: api, read, access, proposal, approval, export, control, period, change.

from, string

ISO 8601 timestamp: rows at or after it.

to, string

ISO 8601 timestamp: rows before it.

cursor, string

The next_cursor a previous page returned.

limit, integer

Items per page.

Response

Result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision