Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Audit → SourceRead

AI-generated

Summary

Retrieve audit logs from the system audit source, applying optional query parameters for filtering, ordering, and pagination.

Inputs

  • q — Filter query to refine audit log selection.
  • order — Specify the ordering of the returned audit logs.
  • first — Number of initial audit log records to skip (offset).
  • max — Maximum number of audit log records to return.

Output shape

a list of audit log records represented as JSON objects

The output consists of JSON objects, each representing a single audit log entry matching the query parameters. Pagination is controlled via 'first' and 'max' inputs. If the query returns multiple results, each is output as a separate item.

Examples

Example 1: Get the first 10 audit logs sorted by date ascending

Set 'order' to ascending by date, 'first' to 0, and 'max' to 10, leaving 'q' empty.

Discussion