Generate an evidence pack
Creates an EvidencePack row in pending status and enqueues generation on a background worker — this endpoint returns immediately, before the document exists. Poll GET /v1/projects/{id}/evidence-packs/{packId} (or list packs) to watch status move through processing to completed (or failed).
kind: "control_evidence" requires framework; kind: "agent_card" ignores it. periodStart must be before periodEnd, and the period may not exceed 400 days. There is no "pdf" value for format — this deployment has no headless-browser rendering path, so a PDF request is rejected here rather than silently downgraded to HTML.
Authenticated with a dashboard session (browser cookie), not x-api-key, and requires both the compliance:generate permission (owner/admin only — editor, viewer, and billing roles can read and download but not generate) and the Pro plan or above.
Path Parameters
Project id.
Body
agent_card produces a Compliance Card for one agent (or all agents); control_evidence produces a framework-mapped document and requires framework.
agent_card, control_evidence Must be after periodStart; the period may not exceed 400 days.
Required when kind is control_evidence; ignored otherwise.
soc2 No pdf value — this deployment has no headless-browser rendering path, so a PDF request is rejected here rather than silently downgraded to HTML.
json, html 
