Create metric

Create a new metric

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required
Defaults to v1

An enumeration.

Allowed:
string
required

UUID of the workspace; visible in the workspace URL.

Body Params
config
required

Choose one of the metric configuration types. Each type has a different payload

draftMetadata
object

Metadata of the draft

metadata
object
required

Metadata associated with the metric

string
enum
Defaults to published

An enumeration.

Allowed:
string
enum
Defaults to metric
Allowed:
Headers
string
required

Input 'Bearer access-token'. To obtain access token, see API, API Credentials: Get access token.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json