Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Body

application/json
name
string
required

Short display name. Put details in description.

description
string
required

Put context here, not in the name.

Maximum string length: 10000
projects
string[]
required

Project IDs that can use this. An empty list means all Projects. Projects control access and availability, so don't use them as labels.

metrics
string[]
required
datasource
string
required
tags
string[]

Tags for filtering and grouping. Use these instead of encoding groups in names.

owner
string

The userId or email address of the owner. If an email address is provided, it will be used to look up the userId of the matching organization member. If an ID is provided, it will be validated as existing in the organization.

archived
boolean

Response

Resource created

metricGroup
object
required