List object cache events

List an object cache's audit trail. You can still list it after the object cache is destroyed, until we remove the object cache for good.

GET https://{availability_zone}.betterstackcloud.com/v1/object-proxies/{object_proxy_id}/events
object_proxy_id string required

The ID of the object cache.

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",
      "object_proxy_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 object cache events.

id string

The event's ID, a UUID.

object_proxy_id string

The ID of the object cache the event belongs to.

action string

What happened, such as bucket_added. An event for a change or a purge is recorded when we accept it, before the change or purge finishes.

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, and user_id names them.
api_token: A request with an API token did it.
system: Better Stack did it, such as in a background job.

details object

More about the event. The keys depend on action.

created_at datetime

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