Return a list of data sources
GET/v1/grafana/api/datasources/summary
Return a list of data sources for all accounts under the API token provided. Please ensure to change the region in the URL to match your account's region.
Request
Responses
- 200
- 404
successful query
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id integer
Data source Id
uid string
Data source UID
name string
Data source name
type string
Enum for the data source type. Can be eithern prometheus or elasticsearch.
database string
Metrics account ID
[
{
"id": 123,
"uid": "DCFaFyDnk",
"name": "cluster6_metrics",
"type": "prometheus",
"database": 123456
}
]
Not Found
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Data source not found."
}
Loading...