Skip to main content

exportCampaignEvidence

Phase 8: request an async evidence export of the campaign (review.campaign.manage). Returns the PENDING record immediately; the review-svc job streams the NDJSON to storage and notifies the requester. 409 while another export is in flight or for DRAFT/GENERATING campaigns.

exportCampaignEvidence(
id: ID!
): ReviewCampaignExport!

Arguments

exportCampaignEvidence.id ● ID! non-null scalar

Type

ReviewCampaignExport object

Phase 8: one requested campaign evidence export (async NDJSON job in review-svc). PENDING while the job streams the file; COMPLETED carries the downloadable file id (GET /api/files/:file_id) + item_count; FAILED carries the reason and no file. One export may be in flight per campaign at a time; finished exports may be repeated (each is a new record + a new file). The requester is notified (review.campaign_export_ready) when the job finishes either way.