Skip to main content

marketingDataReadiness

Reports the readiness state of a client's marketing data pipeline.

Use this to decide whether marketingRecords / marketingAggregate will reflect the latest day. Marketing data is refreshed daily; while a refresh is running, queries return the previous day's snapshot.

Recommended polling pattern: call marketingDataReadiness before each batch of queries. If status is IN_PROGRESS, wait and retry (every few minutes is sufficient — refreshes typically complete within the hour). If status is FAILED, the previous day's data is still available but the latest day will not advance until the pipeline is re-run by the Fospha team.

marketingDataReadiness(
clientId: ID!
): DataReadinessResponse!

Arguments

marketingDataReadiness.clientId ● ID! non-null scalar common-objects

The unique identifier for your client account.

Type

DataReadinessResponse object data-readiness

Snapshot of the marketing data pipeline state for a single client. Returned by marketingDataReadiness.