Activity stream

See who created, changed or deleted what, when, across buckets, functions, storage, identities and the rest of the API.

The activity stream records every write made through the API: who made it, what kind of change it was and which resource it touched. Use it for audits, support investigations and "who changed this?" questions.

The activities page in the panel listing changes by identity, action and resource

Records

JSON
{
  "_id": "6b0b1ba5a5611972c29c2659",
  "identifier": "spica",
  "action": 1,
  "resource": ["bucket", "6b0b1968a5611972c29c25f7", "data", "6b0b1ba5a5611972c29c2658"],
  "created_at": "2026-11-28T18:21:25.242Z"
}
FieldDescription
identifier or usernameThe identity or user who made the change.
action1 insert (POST), 2 replace (PUT), 3 delete, 4 patch.
resourcePath of the affected resource, for example bucket, bucket id, data, document id.
created_atWhen it happened.

Query activities

GET/activity
Query parameterDescription
identifier, usernameWho made the change.
actionOne or more action numbers.
resourceResource path segments, for example resource=bucket&resource=<bucketId>.
documentIdOne or more document ids.
begin, endTime range.
skip, limitPagination.
Terminal
curl -G https://api.example.com/api/activity -H "Authorization: IDENTITY <token>" \
  --data-urlencode "action=3" --data-urlencode "limit=20"

Delete records with DELETE /activity/:id, or several with DELETE /activity. The actions are activity:index and activity:delete.

Retention and switching it off

  • Records expire after --common-log-lifespan seconds (30 days by default).
  • Turn the stream off with --activity-stream=false.

Under Access Management → User Activities, the panel shows the same information for end users.