Added

New activity log endpoints: see who changed what, on one record or across the factory

You can now read the activity log through the API. It's the same history the activity log page in Katana shows: who created, changed or deleted a record and its lines, when, and the before and after value of each field. You can read it for one record, for every record of a type, or for one user. The endpoints are in beta, so the response shape may still change before general availability.

The endpoints are:

  • GET /{resource}/{id}/activity_log: The changes to one record and its lines, such as a sales order and its rows.
  • GET /{resource}/activity_log: The changes to every record of one type and their lines, deleted records included.
  • GET /users/{id}/activity_log: The changes one user made, to any record type or only the types passed in record_type.
🚧

Beta — subject to change. Enable activity log in settings, katana labs. These endpoints are publicly available, but their request and response shape may change before general availability as we take in early feedback.

They cover sales orders, purchase orders, manufacturing orders, stock adjustments, stock transfers, bin transfers, stocktakes, sales returns, price lists, customers, suppliers, products, materials and services.

Each entry names who made the change (actor), the record that changed (record_type, record_id), what happened (action) and what changed (changes, a list of field, before and after). On the record-type and user endpoints, each entry also has a parent field: the document the change belongs to, with its current name or number. So when a sales order row changes, the entry shows which order the row is on, and a deleted order is still named.

{
  "changed_at": "2026-11-17T10:04:12.000Z",
  "actor": {"type": "user", "user_id": 42, "user_name": "Jane Doe"},
  "record_type": "sales_order_rows",
  "record_id": 9876,
  "action": "update",
  "changes": [{"field": "quantity", "before": 2, "after": 5}],
  "parent": {"record_type": "sales_orders", "record_id": 123, "name": "#SO-123"}
}

The record-type and user endpoints take these filters:

  • action: These kinds of change: create, update, delete, receive, revert_receive, email_sent, email_failed. Repeat it for more than one.
  • changed_at_min, changed_at_max: Changes in this time range. Both are ISO 8601 date-times with a time zone, such as 2026-11-17T00:00:00Z.
  • record_type: On /users/{id}/activity_log only: these record types. Repeat it for more than one.

Three things to know when you read these endpoints:

  1. Paging is by time, not by count. Results are newest first, and you follow next_cursor until it is null. A page covers a span of time, so it can hold fewer entries than limit, or none at all, and still have a next page. Don't treat an empty page as the end. Send the same filters with each cursor.
  2. A user's log only lists the changes they made directly. Changes made by background work they started, such as stock moved when a manufacturing order is completed, aren't attributed to anyone, so they don't appear. The response says so with direct_changes_only: true.
  3. The log follows the API key's user. Entries are filtered the same way the activity log page in Katana filters them for the user the API key belongs to.

See Get a sales order's activity log, Get the activity log of all sales orders and Get a user's activity log. The other record types have matching pages.