Skip to main content

activityLog

Requires permission audit:activity_log:read.

Returns one activity log entry: who did what to which record, when and from which source. Fails if the entry does not exist. Requires permission to read the activity log.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query ActivityLog($id: String!) {
activityLog(id: $id) {
id
actorName
createdAt
action
actorEmail
actorId
}
}

Variables:

{
"id": "string"
}

Response:

{
"data": {
"activityLog": {
"id": "string",
"actorName": "string",
"createdAt": "2025-01-15T00:00:00Z",
"action": "string",
"actorEmail": "string",
"actorId": "string"
}
}
}
activityLog(
id: String!
): ActivityLogEntry!

Arguments​

activityLog.id ● String! non-null scalar​

The ID of the activity log entry.

Type​

ActivityLogEntry object​

One event in the activity log.