`DELETE /exports/{id}` — cancel an in-flight (or queued) export.
/exports/{id}Idempotent: cancelling an already-terminal export returns the
row's current state. Routes through preprocessor.cancel_export
→ scheduler::cancel_export, which signals the exporter to halt
any in-flight encode task at the next milestone, then flips the
workload to terminal Cancelled. The FE sees the new state on
the next poll.
Path Parameters
Export id
Response Body
application/json
curl -X DELETE "https://example.com/exports/string"{ "created_at": "string", "delivery_method": "string", "destination": null, "download_url": "string", "error_message": "string", "filter_expression": "string", "format": "string", "id": "string", "org_id": "string", "progress": 0, "status": "string", "table_id": "string", "updated_at": "string"}`POST /domains/{id}/verifications` — perform domain verification. POST
Looks up the TXT record at `_vigilfield-verification.<domain>` and matches it against the per-domain `verification_token` from the row. The lookup is synchronous: success transitions the row to `verified` with `verified_at = now()`; failure leaves the row's existing verification state intact and returns 4xx. Three outcomes from the resolver map onto three response shapes: - `Matched` → 200, row updated. - `NotFound` → 403 with `domain verification failed` (anti- enumeration: same body whether the record is absent or carries a wrong token). - `ResolverError` → 503 so the caller knows to retry rather than surfacing "verification failed" to the user when DNS itself is the problem.
`POST /exports` — create an export of a query's result table. POST
Routes through `preprocessor.submit_export`, which: - Verifies the source query exists and reached terminal `Succeeded`. - Re-runs the source query's table-level grants — the caller must be able to access every table the query touched. - Validates the export-shape fields (format / delivery configuration) + compiles `filterExpression` for syntax. - Dispatches to `Scheduler::submit_export`, which persists an Export-kind workload (`status: "pending"`). The exporter ECS service picks up Queued Export workloads from the scheduler tick and drives them through Running → terminal.