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

Path Parameters

organizationName
string
required

The name of the organization or user.

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
audit_logs
object[]
pagination
object