v1

latestOpenAPI 3.0.1MIT2026-07-134925112.4 KB

List Audit Logs

Return the audit logs for the given organization, ordered by the created_at field in descending order.

get/v1/organizations/{organizationSlug}/audit-logs

Path parameters

organizationSlugstring required

The slug of the organization or user account.

Query parameters

page_sizeinteger

The limit of items to return per page. Defaults to 100.

pageinteger

The page number to return. Defaults to 1.

Response

Successful response

Example response

{
  "audit_logs": [
    {
      "code": "db-create",
      "origin": "cli",
      "author": "iku",
      "created_at": "2023-12-20T09:46:08Z"
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 10,
    "total_pages": 1,
    "total_rows": 1
  }
}