C2 API & integration docs
All endpoints run on this Next.js deployment (Vercel). Authenticate with header x-tenant-token from signup.
Core flow
POST /api/v1/tenants— create tenantPOST /api/v1/compliance/workflows— register + classifyGET /api/v1/compliance/eu/annex-iv/:id— Annex IV packGET /api/v1/compliance/iso/readiness— ISO scorecardPOST /api/v1/compliance/china/filing-draft— China draftGET /api/v1/audit/verify— verify hash-chain
Public demo (no auth)
POST /api/v1/compliance/classify — same EU rules as the console; does not persist.
Cron
GET /api/cron/compliance — daily chain verify + inbox pulses. Send Authorization: Bearer $CRON_SECRET when configured.
Agent integration
From any agent runtime, POST workflow metadata on each deploy and store the returned workflow.id. Pull Annex IV JSON into your release checklist. See disclaimer.
Reproducibility
Classifier / ISO scorecard / China draft logic are TypeScript ports of aiteams_core.compliance. Unit tests under test/compliance*.test.ts lock golden vectors.