spraay_audit_query
Retrieve audit trail entries filtered by actor, action, resource, or time range. Entries sorted newest first, cost $0.005 USDC.
Instructions
Query the audit trail by actor, action, resource, or time range. Returns matching entries sorted newest first. Data persists in Supabase. Costs $0.005 USDC.
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": "spraay_audit_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Filter by actor wallet address | |
| limit | No | Max results (default: '50', max: '500') | |
| since | No | Start time in ISO 8601 (e.g. '2026-03-01T00:00:00Z') | |
| until | No | End time in ISO 8601 | |
| action | No | Filter by action type (e.g. 'payment.sent') | |
| resource | No | Filter by resource identifier (partial match) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |