Get Anonymous Apex Audit
get_anonymous_apex_auditRetrieves anonymous Apex execution audit records from the Audit API for a date range, with optional username and Salesforce org filters.
Instructions
Get anonymous Apex execution audit data from the Audit API
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"StartDate": "<StartDate>",
"EndDate": "<EndDate>"
},
"name": "get_anonymous_apex_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| EndDate | Yes | End date/time in UTC format (e.g., 2024-01-31T23:59:59Z) | |
| Username | No | The Gearset username to filter by | |
| StartDate | Yes | Start date/time in UTC format (e.g., 2024-01-01T00:00:00Z) | |
| OrgUsername | No | The Salesforce org username to filter by |