Chat icon

Chat

Interact with the Chat API

Actions253

Audit Log → List

AI-generated

Summary

Lists audit log entries for the selected Approach account, with optional date range and user filtering.

Inputs

  • accountId (required) — Select the account to use.
  • returnAll — If true, returns all matching audit log entries; otherwise limits results to the Limit value.
  • limit — Maximum number of entries to return when Return All is false.
  • from — Start of date/time range for filtering entries (inclusive).
  • to — End of date/time range for filtering entries (inclusive).
  • userId — Filter entries by user ID.

Output shape

Array of audit log entry objects (each entry contains fields such as id, action, user, timestamp, etc.)

The exact shape matches the Approach API's audit log response.

Examples

Example 1: Fetch the most recent 100 audit logs for an account

Set Return All to false, Limit to 100, leave dates and User ID blank.

Example 2: Get all audit logs for a specific user within a date range

Set Return All to true, specify From and To dates, set User ID.

Links

Discussion