🔗 Console REST APIAudit Log

Gets audit log events for the current organization with flexible filtering. The effective time window is always at least 24 hours regardless of the parameters supplied: if the resolved window is shorter it is automatically expanded by moving the start time back while keeping the end time unchanged.

Returns audit log events for your organization with flexible filtering options. The effective time window is always at least 24 hours: if the resolved range is shorter it is automatically expanded by moving start back while keeping end fixed. Use for reviewing activity history and compliance auditing.

GET
/api/audit-log/query
Authorization<token>

API Key is required to access the endpoints

In: header

Query Parameters

email?string

Optional email filter

timeStart?string

Start time for the query range (UTC, EventTimestamp). Minimum window of 24 hours is enforced: if the distance to timeEnd is less than 24h the start is moved back to timeEnd minus 24h.

Formatdate-time
timeEnd?string

End time for the query range (UTC, EventTimestamp). Defaults to now when not provided. The end time is preserved when expanding a short window.

Formatdate-time
minutes?integer

Minutes back from now (alternative to timeStart/timeEnd). Values below 1440 (24 h) are automatically expanded to 1440.

Formatint32
limit?integer

Maximum number of records to return

Default1000
Formatint32

Response Body

curl -X GET "https://api-console.apibricks.io/api/audit-log/query"
[
  {
    "idEvent": "25c6b827-0e36-4537-b22f-4a51c0dec35f",
    "idOrganization": "9bf7f388-1dbc-4a73-92b2-4ad35e7fe880",
    "eventTimestamp": "2019-08-24T14:15:22Z",
    "email": "string",
    "ipAddress": "string",
    "description": "string"
  }
]
Empty
Empty
Service StatusGitHub SDK