Create metric group

POST
/api/v2/projects/:projectKey/metric-groups

Create a new metric group in the specified project

Path parameters

projectKeystringRequired

The project key

Request

This endpoint expects an object.
keystringRequired

A unique key to reference the metric group

namestringRequired

A human-friendly name for the metric group

kind"funnel"Required

The type of the metric group

maintainerIdstringRequired

The ID of the member who maintains this metric group

tagslist of stringsRequired

Tags for the metric group

metricslist of objectsRequired

An ordered list of the metrics in this metric group

descriptionstringOptional

Description of the metric group

Response

Metric group response

_idstring

The ID of this metric group

keystring

A unique key to reference the metric group

namestring

A human-friendly name for the metric group

kindenum
Allowed values: funnelstandard

The type of the metric group

tagslist of strings

Tags for the metric group

_creationDatelong

Timestamp of when the metric group was created

_lastModifiedlong

Timestamp of when the metric group was last modified

maintainerobject

The maintainer of this metric

metricslist of objects

An ordered list of the metrics in this metric group

_versioninteger

The version of this metric group

descriptionstringOptional

Description of the metric group

_accessobjectOptional

Details on the allowed and denied actions for this metric group

experimentslist of objectsOptional

Experiments that use this metric group. Only included if specified in the expand query parameter in a getMetricGroup request.

experimentCountintegerOptional

The number of experiments using this metric group

Errors

Built with