GET
/
v1
/
organizations
/
{organizationSlug}
/
audit-logs
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/audit-logs \
  -H 'Authorization: Bearer TOKEN'
{
  "audit_logs": [
    {
      "code": "db-create",
      "message": "",
      "origin": "cli",
      "author": "iku",
      "created_at": "2023-12-20T09:46:08Z",
      "data": {}
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 10,
    "total_pages": 1,
    "total_rows": 1
  }
}
Audit Logs are limited to paid plans.
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/audit-logs \
  -H 'Authorization: Bearer TOKEN'

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

Query Parameters

page_size
integer

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

page
integer

The page number to return. Defaults to 1.

Response

200 - application/json
Successful response
audit_logs
object[]
pagination
object