POST /audit-source/:id/kill
Stop the adapter and mark the agent killed. Idempotent.
Method POST Path /api/zeq/audit-source/:id/kill Auth Bearer key + cookie Group Audit Source
Response
{ "ok": true }
The agent row stays in data_source_audits with status: "killed". Restart later by spawning a fresh agent or by manually setting the row's status back to running and calling /sweep (advanced).
Reference
- Orchestrator:
shared/api-core/src/lib/dataSourceAudit/orchestrator.ts#stopSourceAudit