Get the status and result of an alert preview
Returns the current state of an async preview sweep. Status transitions in_progress → completed (or failed). Previews are retained for 1 hour; expired IDs return 404.
Authorizations
Pass your API key in the X-API-Key header (recommended).
Path Parameters
Opaque preview ID returned by POST /v1/projects/{projectId}/alerts/preview.
Response
OK
State of the sweep. Clients should poll until the value is 'completed' or 'failed' (TTL 1h).
in_progress, completed, failed Per-day match count over the window (UTC dates), oldest day first.
Set once status is completed or failed.
Set only when status is failed; safe to surface to the user.
Up to AlertPreviewSampleSize most-recent matches with payload fully hydrated. Empty until status is completed.