Metrics
The Bearer API key of your user more info.
an integer specifying the starting point (beginning with 0) when paging through a list of entities
0the maximum number of results when paging through a list of metrics. (Note: when using ?include maximum is reduced to 25)
10The metrics
falsefalseGET /api/metrics HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
The metrics
[
{
"id": 1,
"name": "text",
"description": "text",
"aggregationType": "AVG",
"displayType": "GRAPH",
"interpolateGaps": false,
"lockYAxisMax": 1,
"lockYAxisMin": 1,
"mouseOverDecimal": 1,
"showValuesOnMouseOver": false,
"teams": [
{
"id": 1,
"name": "text"
}
],
"unitLabel": "text",
"integrationKey": "text",
"dataSource": {
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"managedBy": {
"type": "API",
"source": "text"
}
},
"managedBy": {
"type": "API",
"source": "text"
}
}
]The Bearer API key of your user more info.
falsefalseOnly required if the metric has a dataSource. You may not change this after creation.
nullThe newly created metric
falsefalseOnly required if the metric has a dataSource. You may not change this after creation.
nullThis is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
POST /api/metrics HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 283
{
"name": "text",
"description": "text",
"aggregationType": "AVG",
"displayType": "GRAPH",
"interpolateGaps": false,
"lockYAxisMax": 1,
"lockYAxisMin": 1,
"mouseOverDecimal": 1,
"showValuesOnMouseOver": false,
"teams": [
{
"id": 1,
"name": "text"
}
],
"unitLabel": "text",
"metadata": "null",
"dataSource": {
"id": 1
}
}The newly created metric
{
"id": 1,
"name": "text",
"description": "text",
"aggregationType": "AVG",
"displayType": "GRAPH",
"interpolateGaps": false,
"lockYAxisMax": 1,
"lockYAxisMin": 1,
"mouseOverDecimal": 1,
"showValuesOnMouseOver": false,
"teams": [
{
"id": 1,
"name": "text"
}
],
"unitLabel": "text",
"integrationKey": "text",
"metadata": "null",
"dataSource": {
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "OK",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastError": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "NONE",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastIngestion": "2026-01-01T00:00:00.000Z",
"importStatus": "NONE",
"lastError": "text"
}The Bearer API key of your user more info.
entity ID
The requested metric
falsefalseOnly required if the metric has a dataSource. You may not change this after creation.
nullThis is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
GET /api/metrics/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
The requested metric
{
"id": 1,
"name": "text",
"description": "text",
"aggregationType": "AVG",
"displayType": "GRAPH",
"interpolateGaps": false,
"lockYAxisMax": 1,
"lockYAxisMin": 1,
"mouseOverDecimal": 1,
"showValuesOnMouseOver": false,
"teams": [
{
"id": 1,
"name": "text"
}
],
"unitLabel": "text",
"integrationKey": "text",
"metadata": "null",
"dataSource": {
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "OK",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastError": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "NONE",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastIngestion": "2026-01-01T00:00:00.000Z",
"importStatus": "NONE",
"lastError": "text"
}The Bearer API key of your user more info.
entity ID
falsefalseOnly required if the metric has a dataSource. You may not change this after creation.
nullThe updated metric
falsefalseOnly required if the metric has a dataSource. You may not change this after creation.
nullThis is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
PUT /api/metrics/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 283
{
"name": "text",
"description": "text",
"aggregationType": "AVG",
"displayType": "GRAPH",
"interpolateGaps": false,
"lockYAxisMax": 1,
"lockYAxisMin": 1,
"mouseOverDecimal": 1,
"showValuesOnMouseOver": false,
"teams": [
{
"id": 1,
"name": "text"
}
],
"unitLabel": "text",
"metadata": "null",
"dataSource": {
"id": 1
}
}The updated metric
{
"id": 1,
"name": "text",
"description": "text",
"aggregationType": "AVG",
"displayType": "GRAPH",
"interpolateGaps": false,
"lockYAxisMax": 1,
"lockYAxisMin": 1,
"mouseOverDecimal": 1,
"showValuesOnMouseOver": false,
"teams": [
{
"id": 1,
"name": "text"
}
],
"unitLabel": "text",
"integrationKey": "text",
"metadata": "null",
"dataSource": {
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "OK",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastError": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "NONE",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastIngestion": "2026-01-01T00:00:00.000Z",
"importStatus": "NONE",
"lastError": "text"
}The Bearer API key of your user more info.
entity ID
Empty body delete response
DELETE /api/metrics/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
Empty body delete response
No content
The Bearer API key of your user more info.
unique name of the metric
The requested metric
falsefalseOnly required if the metric has a dataSource. You may not change this after creation.
nullThis is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
This is an include field, it is not available in the list resource
GET /api/metrics/name/{name} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
The requested metric
{
"id": 1,
"name": "text",
"description": "text",
"aggregationType": "AVG",
"displayType": "GRAPH",
"interpolateGaps": false,
"lockYAxisMax": 1,
"lockYAxisMin": 1,
"mouseOverDecimal": 1,
"showValuesOnMouseOver": false,
"teams": [
{
"id": 1,
"name": "text"
}
],
"unitLabel": "text",
"integrationKey": "text",
"metadata": "null",
"dataSource": {
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "OK",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastError": "text"
},
"managedBy": {
"type": "API",
"source": "text"
},
"status": "NONE",
"lastStatusTransition": "2026-01-01T00:00:00.000Z",
"lastIngestion": "2026-01-01T00:00:00.000Z",
"importStatus": "NONE",
"lastError": "text"
}Last updated
Was this helpful?