{"version":"1.0","description":"AgentSieve REST API — baseline quality testing for AI agent pipelines","endpoints":[{"method":"GET","path":"/api","description":"This endpoint listing"},{"method":"GET","path":"/api/rules","description":"List default rules in the harness rule registry","auth":false},{"method":"POST","path":"/api/baselines","description":"Create or update a baseline","auth":false},{"method":"GET","path":"/api/baselines/:project/:name","description":"Fetch active baseline","auth":false},{"method":"POST","path":"/api/compare","description":"Run comparison against a baseline","auth":false},{"method":"GET","path":"/api/results/:id","description":"Fetch a stored comparison result","auth":false},{"method":"GET","path":"/api/evaluations","description":"List evaluation runs (paginated)","auth":false},{"method":"GET","path":"/api/evaluations/:run_id","description":"Poll run status and results","auth":"X-API-Key"},{"method":"POST","path":"/api/evaluations/run","description":"Trigger a new evaluation run","auth":"X-API-Key"},{"method":"POST","path":"/api/evaluations/run/:run_id/submit","description":"Submit output and run comparison","auth":"X-API-Key"},{"method":"GET","path":"/api/cohorts","description":"List cohorts"},{"method":"POST","path":"/api/cohorts","description":"Create a cohort"},{"method":"GET","path":"/api/regressions","description":"List regression events (paginated)"},{"method":"GET","path":"/api/trends","description":"Historical scores over time for a baseline (project, baseline, optional cohort/dimension/limit/offset)"},{"method":"POST","path":"/api/outreach/signals","description":"Ingest signal rows and draft up to 3 outreach emails (Wave 5)","auth":"X-API-Key"},{"method":"GET","path":"/api/outreach/drafts","description":"List staged outreach drafts (paginated, filter by wave/status)","auth":"X-API-Key"},{"method":"POST","path":"/api/outreach/drafts/:id/review","description":"Approve / mark_pending / discard a draft","auth":"X-API-Key"},{"method":"POST","path":"/api/outreach/drafts/:id/send","description":"Mark an approved draft as sent (records sent_at; delivery is owner-managed)","auth":"X-API-Key"}],"auth":{"header":"X-API-Key","description":"Authenticated endpoints require X-API-Key header. Set API_KEY env var in production. Unset = open (dev mode)."},"docs":"/docs"}