Ethiack Docs
Audit logs

List audit log entries

GET
/v1/audit-logs/

List audit log entries visible to the caller, filtered and paginated.

total reflects the same scope and filters as the returned page.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Query Parameters

page?integer
Default1
Range1 <= value
per_page?integer

Page size. Values above 500 are clamped to it (or rejected, per the server configuration).

Default25
Range1 <= value
organization_id?|
operation?|
operation_category?|
status?|
actor_id?|
actor_kind?|
resource_type?|
resource_id?|
start_date?|
end_date?|

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/audit-logs/"
{
  "total": 0,
  "page": 0,
  "per_page": 0,
  "_links": {
    "property1": "string",
    "property2": "string"
  },
  "audit_logs": [
    {
      "id": "string",
      "timestamp": "2019-08-24T14:15:22Z",
      "actor_kind": "string",
      "actor_id": "string",
      "operation": "string",
      "operation_category": "string",
      "resource_type": "string",
      "resource_id": "string",
      "status": "string",
      "metadata": {},
      "actor_type": "string",
      "actor_name": "string",
      "ip_address": "string",
      "user_agent": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}