{ "opencollection": "1.0.0", "info": { "name": "Grafana HTTP Access Names API", "version": "11.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Names", "type": "folder" }, "items": [ { "info": { "name": "Grafana Get Data Source Id By Name", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/datasources/id/:name", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "This API operation retrieves the unique identifier of a Grafana data source by providing its name as a path parameter. It performs a GET request to the endpoint '/datasources/id/{name}' where {name} is replaced with the actual name of the data source you want to look up. The operation returns the numeric ID associated with that specific data source, which can be useful for subsequent API calls that require the data source ID rather than its name. This is particularly helpful when you need to pro" }, { "info": { "name": "Grafana Get Data Source By Name", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/datasources/name/:name", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "This API operation retrieves a specific data source configuration from Grafana by using its unique name as an identifier. When you send a GET request to the endpoint with the data source name as a path parameter, Grafana returns the complete configuration details of that data source, including its type, connection settings, authentication credentials, and other relevant metadata. This is particularly useful when you need to programmatically access or verify the configuration of a specific data s" }, { "info": { "name": "Grafana Delete Data Source By Name", "type": "http" }, "http": { "method": "DELETE", "url": "https://{instance}.grafana.net/api/datasources/name/:name", "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "Removes a data source from Grafana by specifying its unique name rather than its numeric ID. This operation permanently deletes the data source configuration including all associated settings, credentials, and metadata. Once deleted, any dashboards or panels that reference this data source will no longer function properly until reconfigured with an alternative data source. This endpoint is particularly useful when automating data source management through scripts or infrastructure-as-code tools " }, { "info": { "name": "Grafana Get Library Element By Name", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/library-elements/name/:library_element_name", "params": [ { "name": "library_element_name", "value": "", "type": "path" } ] }, "docs": "Gets a library element with the specified name from Grafana's library elements collection. This endpoint retrieves a single library element by providing its unique name as a path parameter. Library elements in Grafana are reusable components like panels or data sources that can be shared across multiple dashboards. The operation returns the complete library element object including its configuration, metadata, and any associated properties. This is useful when you need to reference or reuse a sp" }, { "info": { "name": "Grafana Get Org By Name", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.grafana.net/api/orgs/name/:org_name", "params": [ { "name": "org_name", "value": "", "type": "path" } ] }, "docs": "Returns the details of a specific Grafana organization by searching for it using its unique organization name rather than its numeric ID. This endpoint provides an alternative way to retrieve organization information when you know the organization's name but not its ID, returning the same organization data structure including ID, name, and address that would be obtained through the standard ID-based lookup endpoint." } ] } ], "bundled": true }