Skip to main content
The limits and lifecycle below define the proposed /v1 contract for Report Automation Tool. They are not verified behavior of the existing orchestration endpoint.

Validation

Use JSON and keep request bodies within 256 KiB. Supply exactly one device per job and 1 to 20 unique email recipients. Use UTC RFC 3339 timestamps ending in Z, with fromDate before toDate and at most 31 days per request. Thresholds must be finite numbers with min less than max. Portal and logo URLs must use supported HTTPS hosts. Private-network destinations and redirects to them are rejected.

Job states

Jobs move from queued to running, then succeeded or failed. Cancellation moves an active job through cancelling to cancelled. Cancellation is best effort and cannot recall an email already submitted. Succeeded means the PDF is persisted and the initial email is accepted by the provider; it does not confirm inbox delivery. If the PDF exists but email fails, the job contains failed status, reportId and a sanitized error so callers can download and retry delivery.

Idempotency

Send Idempotency-Key on job creation and email retry. Keys contain 8 to 128 letters, digits, periods, underscores or hyphens. Keys are scoped by workspace and operation for 24 hours. The same key and body replay the original accepted status, body and resource headers. A changed body with the same key returns 409 idempotency_conflict.

Limits and retention

The contract allows 60 requests per minute per workspace and five queued or active jobs. Downloads count toward the request rate. Limit responses use 429 and Retry-After. Job metadata, delivery metadata and PDFs have a 30-day retention period. Expired PDFs return 410 while metadata remains; lookups return 404 after metadata is purged. List cursors last 15 minutes and are bound to the workspace, endpoint and filters. Invalid or expired cursors return 400 invalid_cursor. Lists sort newest first by createdAt and then by ID.