oneAI icon

oneAI

Interact with the oneAI API

Audit Log → Export

AI-generated

Summary

Exports matching audit logs as a ZIP archive containing a CSV or JSON file, and writes the archive to the selected binary output field.

Inputs

  • format (required) — Choose CSV or JSON for the file inside the ZIP archive; defaults to CSV.
  • fields (required) — Select which audit log columns to include. All listed fields are selected by default; deselecting all produces an archive with no columns. The available fields include potentially sensitive matched text and reasoning, and personal data in User ID.
  • binaryPropertyName (required) — Name of the binary property to hold the ZIP archive; defaults to data.
  • filters — Optional filters: From and To include logs created within the specified time bounds, and Origin limits the export to the selected source. The displayed default origin is OneGateway: Pattern.

Output shape

A single item with the ZIP archive in its binary data.

The archive contains the selected format file. The supplied source pack shows only the execute function signature, so details beyond the declared inputs and output field are not visible in the implementation excerpt.

Links

Discussion