Get Audit Trail
get_audit_trailRetrieve recent scope audit events, including enforcement decisions, grants, and revocations, to support security reviews and debug access issues.
Instructions
Return recent scope audit events (enforcement decisions and mutations).
Shows timestamped records of every scope.enforce (allowed/denied), scope.grant, and scope.revoke event. Useful for security review and debugging access issues.
Requires linear:workspace:admin scope.
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": {
"access_token": "<access_token>"
},
"name": "get_audit_trail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| access_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||