The following endpoints are for your convenience when working with the other endpoints.
KPIs
-
GET /kpis - returns all KPIs you have configured in your app.
-
GET /kpis/[kpi-id] returns the current depvar_configurations with the latest deployments and spikes for a given KPI.
Deployments
A deployment is a specific run of a model. Each weekly update of your model will receive a new deployment ID.
-
GET /deployments - returns all deployments available in your app.
-
dashboad_slugcan be used to narrow down to a single dashboard.
-
-
GET /deployments/[deployments-id] returns a summary of that deployment, including:
-
active- boolean -
dashboard_slug- what dashboard itโs connected to -
model_date- the last day included in the model -
spend- an array of the historical spend. You must specify that you want this using theextra_fieldsargument. -
default_budget- A default business as usual budget. You must specify that you want this using theextra_fieldsargument. -
upper_funnel_channel_labels- the names of the upper funnel channels -
lower_funnel_channel_labels- the names of the lower funnel channels -
spend_channels_labels- the names of the spend channels -
non_spend_channels_labels- the names of the non-spend channels -
contextual_variable_defaults- The names and default values for contextual variables
-
More information available in Swagger (must be logged in first)