hornet icon

hornet

Interact with hornet API

Actions452

Auditing → Auditing Search Post

AI-generated

Summary

Search auditing records by sending a POST request with detailed filters to the Hornet API's auditing endpoint.

Inputs

  • object_id (required) — The ID of the object (user, customer, or partner) to filter auditing records.
  • APP-ID (required) — The unique identifier for your app, sent as a header for authentication.
  • date_from (required) — Start of the date/time range to search, in ISO-8601 UTC format; must be earlier than date_to.
  • date_to (required) — End of the date/time range to search, in ISO-8601 UTC format; future dates are capped to current time.
  • user — The user responsible for the audited action.
  • entity — The entity (module) that was changed (legacy field).
  • entity_list — A JSON list of entities to filter on.
  • action — The action performed on the entity (legacy field).
  • action_list — A JSON list of actions to filter on.
  • target — The target on which the user performed an action.
  • target_path — The path of the target.
  • new_values — A JSON string representing the values after the change.
  • old_values — A JSON string representing the values before the change.
  • app_id — Deprecated field for app ID that made the request.
  • app_version — Deprecated field for version of the app making the request.
  • ip — IP address of the user performing the action.
  • url — API URL responsible for the change.
  • status — Status filter for the audit records.
  • product — JSON list of products to filter on.
  • region — Region filter.
  • offset — Pagination offset for the results.
  • limit — Maximum number of results to return.
  • query — Text query for searching audit records.

Output shape

a JSON response from the Hornet API representing the search results of auditing records matching the filter criteria

The output contains the response from the auditing search POST request. It may support pagination with offset and limit parameters. The structure depends on the Hornet API's auditing endpoint response format.

Examples

Example 1: Search auditing records for a specific user object ID in a given date range with specified actions

Set object_id, APP-ID header, date_from, date_to, and optionally action_list to filter auditing records.

Links

Discussion