Params

Param name Description
api_token
required

Authentication token, available at app.doubleloop.app/organizations/settings/integrations

Validations:

  • Must be a String

name
required

Metric name for the metric data point. Data points with the same name will be added to the same metric

Validations:

  • Must be a String

date
required

Metric data point occurrence date. e.g. 01/01/2021, 2021/01/01

Validations:

  • Must be a String

value
required

Metric data point value

Validations:

  • Must be a number.

roll_up
optional

Calculation type used for the metric, affects all metric data points.

Validations:

  • Must be one of: sum, average, increase, weighted_average, last_month_available.

metric_source_slug
optional

Metric Source unique ID to reference the appropriate Metric. Overrides the metric name.

Validations:

  • Must be a String