Metric Data Sources
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 metric data sources
10The Metric Data Sources
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/metric-data-sources HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
The Metric Data Sources
[
{
"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"
}
]The Bearer API key of your user more info.
The newly created Metric Data Source
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/metric-data-sources HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}The newly created Metric Data Source
{
"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"
}The Bearer API key of your user more info.
entity ID
The requested Metric Data Source
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/metric-data-sources/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
The requested Metric Data Source
{
"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"
}The Bearer API key of your user more info.
entity ID
The updated Metric Data Source
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/metric-data-sources/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}The updated Metric Data Source
{
"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"
}The Bearer API key of your user more info.
entity ID
Empty body delete response
DELETE /api/metric-data-sources/{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 data source
The requested Metric Data Source
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/metric-data-sources/name/{name} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
The requested Metric Data Source
{
"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"
}Last updated
Was this helpful?