Web Analytics

Start an attribution backfill

POST https://demo.notifuse.com/api/webAnalytics.backfillStart

Rewrites historical web_sessions and web_goals rows with the current attribution rules, one monthly partition per step. Fails while a run is already pending or running.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Body application/json

workspace_id string required

Response

200 Backfill task created object
backfill object | null
Show 6 child attributes Hide 6 child attributes
task_id string
status string
Options pending, running, completed, failed, paused
progress number
state object
Show 3 child attributes Hide 3 child attributes
filters_version string
partition_index integer
rows_updated integer<int64>
error_message string
cancelled boolean

True when the run was stopped through backfillCancel; it then reads as failed, with this flag to tell it from a run that broke.

400 A backfill is already in progress
403 Missing web_analytics write permission