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.

Records
JSON
{
"_id": "6b0b1ba5a5611972c29c2659",
"identifier": "spica",
"action": 1,
"resource": ["bucket", "6b0b1968a5611972c29c25f7", "data", "6b0b1ba5a5611972c29c2658"],
"created_at": "2026-11-28T18:21:25.242Z"
}| Field | Description |
|---|---|
identifier or username | The identity or user who made the change. |
action | 1 insert (POST), 2 replace (PUT), 3 delete, 4 patch. |
resource | Path of the affected resource, for example bucket, bucket id, data, document id. |
created_at | When it happened. |
Query activities
GET
/activity| Query parameter | Description |
|---|---|
identifier, username | Who made the change. |
action | One or more action numbers. |
resource | Resource path segments, for example resource=bucket&resource=<bucketId>. |
documentId | One or more document ids. |
begin, end | Time range. |
skip, limit | Pagination. |
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-lifespanseconds (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.