audit_events_query
Retrieve recent governance events with optional filters to surface denies, attestation failures, breaker trips, and other audit moments.
Instructions
GET recent governance events from a running audit-stream-py instance (env var AUDIT_STREAM_URL), with optional server-side filters. Use to surface the last N denies, attestation failures, breaker trips, contract incompatibilities, or any other governance moment a user is investigating. Returns the events array plus a count field. Requires AUDIT_STREAM_URL; returns a structured error otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by event kind (exact match). Omit to get all kinds. | |
| limit | No | Cap the number of events returned. Defaults to the server's own cap. | |
| source | No | Filter by source (exact match). Omit to get all sources. | |
| since_id | No | Return only events with event_id > since_id. Use for incremental tailing without re-fetching the whole chain. |