Get Audit Logs

Returns a list of audit logs in the library.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Requires admin permissions for the library, and the audit logs feature has to be enabled.

The date filters are capped at a 30-day range:

  • With no dates, the endpoint returns the last 30 days.
  • Given only from_created_at, to_created_at defaults to 30 days later (or today).

The accepted module, source and action values are listed on the Audit Log Filter Values guide.

Query Params
int32

A page number within the paginated result set.

string

A field to order results by. Valid options: created_at, -created_at, action, -action, module, -module.

int64

Filter by user id.

string

Filter by a single action. See Actions.

string

Filter by multiple actions. Uses OR logic. See Actions.

string

Filter by a single module. See Modules.

string

Filter by multiple modules. Uses OR logic. See Modules.

int64

Filter by outlet apic_id.

string

Filter by source. Valid options: web, api, mobile. See Sources.

date

Filter logs on a specific date (format: YYYY-MM-DD).

date-time

Filter logs created after this date/time (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).

date-time

Filter logs created before this date/time (format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).

Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json