The calls on this page need a
consumerid, so they suit the embedded model. In the marketplace model, your end-users read their own execution logs in the marketplace. You can monitor every consumer from the Platform in both models.Confirm the setup
Read the sync status for a consumer. The status shows whether the setup is complete and which flows are enabled.
API reference: Get sync information for one consumer ↗
List executions
Each flow run is an execution. List the executions of one flow for one consumer.date_from and date_to query parameters to filter by date. Each entry returns the execution id, start, end, and status.
The list does not include the previews. Add include_previews=true to list them too. See Ledger preview.
Get the
flowid values from Get sync, or from enabled_flows in the sync status above.Execution statuses
Each execution has a status. The status shows its state or outcome:
For the full description of each status, see Trigger an execution.
Trigger a run
Chift runs each flow on its trigger. To start a run yourself, call the execute route.settings object to select a period, to export data again or to test without writing. See Run a sync manually for the options and the rules.
You can also trigger a run from the consumer page in the platform. See Trigger an execution.
API reference: Run a flow now ↗
Enable a flow from your backend
By default, your end-user enables the flows on the Chift-hosted page. You can also enable a flow from your backend.
API reference: Enable a flow for a specific consumer ↗