List Audit Logs
Fetches a list of audit logs for the organization, with support for filtering and pagination.
Note: Only organization owners and admins can access this endpoint. Organization ID is auto-detected if user belongs to only one organization.
Authorization
http Go to https://portal.ethiack.com/settings/api and generate your API keys. Simply use username=key, password=secret.
In: header
Query Parameters
Organization ID (auto-detected if not provided)
Filter logs from this date (ISO 8601 format)
date-timeFilter logs until this date (ISO 8601 format)
date-timeFilter by operation (e.g., 'user.profile.edit')
Filter by operation category (e.g., 'user', 'finding')
Filter by status ('success' or 'failure')
Filter by actor ID
Filter by resource type
Filter by resource ID
Page number
Number of audit logs per page
Response Body
application/json
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/audit-logs/"{
"total": 0,
"page": 0,
"per_page": 0,
"audit_logs": [
{
"id": "string",
"timestamp": "2019-08-24T14:15:22Z",
"actor_type": "string",
"actor_id": "string",
"operation": "string",
"operation_category": "string",
"resource_type": "string",
"resource_id": "string",
"status": "string",
"metadata": null
}
]
}{
"code": 0,
"name": null,
"description": "string",
"success": false
}{
"code": 0,
"name": null,
"description": "string",
"success": false
}