List ClickHouse events

List a ClickHouse instance's audit trail. The audit trail can still be listed for a while after the instance is deleted.

GET https://{availability_zone}.betterstackcloud.com/v1/clickhouse/{clickhouse_id}/events
clickhouse_id string required

The ID of the ClickHouse instance whose events to list.

page integer default: 1

The page to return, starting at 1.

per_page integer default: 25

How many entries to return per page. Maximum 1000.

Authorization string required

Bearer $TOKEN

Results are paginated

Use page and per_page to move through pages. See Pagination.

200 OK
{
  "data": [
    {
      "id": "example",
      "clickhouse_id": "123456789",
      "action": "example",
      "user_id": 123456789,
      "actor": "user",
      "details": {
        "example": "value"
      },
      "created_at": "2026-07-01T12:00:00.000Z"
    }
  ],
  "meta": {}
}

Returns the list of ClickHouse events.

id string

The event's ID, a UUID.

clickhouse_id string

The ID of the ClickHouse instance the event belongs to.

action string

What happened, such as created, rescaled or snapshot_created.

user_id integer or null

The ID of the Better Stack user who did it, or null unless actor is user.

actor string

Who did it.
Valid values:
user: A Better Stack user did it. user_id says who.
api_token: A request with an API token did it.
system: Better Stack did it.

details object

Details that depend on the action, such as the target type, the target version or the snapshot ID.

created_at datetime

When the event was recorded. In ISO 8601 format, such as 2026-07-01T12:00:00Z.