List activity logs
datto_list_activity_logsSearch and filter account activity logs with cursor-based pagination to review user and system actions.
Instructions
Search the account's activity logs (audit trail of user and system actions). Defaults to the last 24 hours unless 'from' is set. Use searchAfter from the previous response page for cursor-based pagination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "datto_list_activity_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | UTC start date, format yyyy-MM-ddTHH:mm:ssZ | |
| size | No | Number of records to return | |
| order | No | Order by creation date | |
| until | No | UTC end date, format yyyy-MM-ddTHH:mm:ssZ | |
| actions | No | Filter by action (e.g. create, update, delete) | |
| siteIds | No | Filter by site IDs | |
| userIds | No | Filter by user IDs | |
| entities | No | Filter by entity type (e.g. device, site, user) | |
| categories | No | Filter by category | |
| searchAfter | No | Cursor from the previous page's response for pagination | |
| searchQuery | No | Free-text query; supports phrases, wildcards, and boolean operators |