v1

latestOpenAPI 3.0.02026-08-0645003.8 MB
Audit Service

List Audit Log Events

Gets audit events that have response status of 200. This is the default when the responseStatus parameter is not included in the query. When you use responseStatus in the query, you can get all audit events without regard to status.

The API requires one of the following permissions to be defined in Spot:

  • Permission: Organization Viewer (See User Roles) or
  • Action: setup:describeAllAuditEvents (See Access Policies)
get/audit/events

Query parameters

fromDatestring string required

Get items on or after this date (Unix timestamp)

toDatestring string required

Get items on or before this date (Unix timestamp)

accountIdstring

ID of the account associated with your token

responseStatusstring

Determines whether the audit events should be filtered by their response status code or not. Valid values: "success": Gets only events with status 200. "all": Audit events will not be filtered by response status codes, and all the events will be returned. Default: success