List the administration activity log.
What administrators changed (users, groups, permissions, folders, projects and the like), newest first: the description, action, feature, the record changed, who made the change and when, with the details the Portal recorded. Needs View Audit Activity. user_id lists one person's changes.
| |
|---|
| Scope | activity_logs:read (sensitive) |
| Asynchronous | No |
| MCP tool | list_activity_logs |
| Portal permissions | view_audit_activity |
| Paging | keyset |
| Default order | -occurred_at, -activity_log_id |
| Sort fields | occurred_at, activity_log_id |
| Filters | user_id, user_id_is_null |
Parameters
| Name | In | Type | Required | Description |
|---|
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
user_id | query | array of string | Optional | |
user_id_is_null | query | boolean | Optional | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
200 body
| Field | Type | Required | Description |
|---|
items | array of ActivityLogEntry | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required | |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
ActivityLogEntry
| Field | Type | Required | Description |
|---|
action | string or null | Required | update, delete and the like (an open enum). |
activity_log_id | string | Required | The entry's ID: unique, and the keyset tie-breaker. |
changes | string or null | Required | The diff of the previous and new state, as stored JSON text. |
created_by | UserRef or null | Required | |
description | string or null | Required | |
feature | string or null | Required | tags, annotations and the like (an open enum). |
json_metadata | string or null | Required | The relevant IDs and details the Portal recorded, as stored JSON text. |
occurred_at | string (date-time) or null | Required | |
target_entity_key | string or null | Required | The changed row's own integer key in target_entity_table, as text (the entity kind is target_entity_table, so this is not a glossary ID). |
target_entity_table | string or null | Required | |
UserRef
| Field | Type | Required | Description |
|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required | |