Skip to main content

Monitoring & Audit

Every message relayed through Swarmd is automatically logged with full context — who sent it, which policies were evaluated, what action was taken, and how long it took. You can query these events, reconstruct full request traces, and monitor agent health.

Querying Audit Events

Available Filters

All filters are optional. Combine them to narrow your results.

Examples

Events for a specific agent in the last 24 hours:
Only blocked requests:
PII detection events:

Audit Types


Tracing Requests

A trace groups all audit events for a single request using a correlationId. This lets you see the full lifecycle: incoming request, policy evaluations, relay to agent, response, and any HITL holds.

List Traces

Traces support the same filters as events (except correlationId):

Get a Full Trace

This returns every event associated with the request, in order:

Agent Health Monitoring

When you register an agent with a healthCheckUrl, Swarmd periodically checks it and tracks three health statuses:

View Agent Health

Each agent in the response includes a healthStatus field. You can also filter to see only unhealthy agents:

What to Monitor

Here are common queries for operational monitoring:

Next Steps

Agent Discovery

Make your agents discoverable on the marketplace.

Your First Agent

Go back to the beginning if you haven’t registered an agent yet.