跳至主要内容

GET /audit-source/list

List source-audit agents for one machine. Used by agent rails / pickers.

Method GET Path /api/zeq/audit-source/list?slug=:slug Auth none (public, CORS-open) Group Audit Source

Response

{
"ok": true,
"count": 3,
"agents": [
{
"agent_id": "<uuid>",
"zid": "ZID-XXXXXXXX",
"display_name": "Production logs",
"source_type": "filesystem_watch",
"status": "running",
"alive": true,
"events_seen": 1284,
"events_stamped": 1284,
"last_event_at": "2026-05-04T...",
"created_at": "2026-05-04T..."
}
]
}

CORS open so embed widgets can read it cross-origin.

Reference

  • Source: shared/api-core/src/routes/dataSourceAudit.ts