Skip to main content

List the administration activity log.

GET/api/v1/activity-logsactivity_logs:read

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.

Scopeactivity_logs:read (sensitive)
AsynchronousNo
MCP toollist_activity_logs
Portal permissionsview_audit_activity
Pagingkeyset
Default order-occurred_at, -activity_log_id
Sort fieldsoccurred_at, activity_log_id
Filtersuser_id, user_id_is_null

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
user_idqueryarray of stringOptional
user_id_is_nullquerybooleanOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of ActivityLogEntryRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ActivityLogEntry​

FieldTypeRequiredDescription
actionstring or nullRequiredupdate, delete and the like (an open enum).
activity_log_idstringRequiredThe entry's ID: unique, and the keyset tie-breaker.
changesstring or nullRequiredThe diff of the previous and new state, as stored JSON text.
created_byUserRef or nullRequired
descriptionstring or nullRequired
featurestring or nullRequiredtags, annotations and the like (an open enum).
json_metadatastring or nullRequiredThe relevant IDs and details the Portal recorded, as stored JSON text.
occurred_atstring (date-time) or nullRequired
target_entity_keystring or nullRequiredThe 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_tablestring or nullRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired