Skip to main content
POST
/
metrics
/
dashboards
/
{dashboardUid}
/
panels
/
{panelId}
/
export
Export dashboard panel CSV
curl --request POST \
  --url https://v1.api.altostrat.io/metrics/dashboards/{dashboardUid}/panels/{panelId}/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from": "now-7d",
  "to": "now",
  "variables": {}
}
'
"Time,Value\n2026-04-20T00:00:00Z,42"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dashboardUid
string
required

The Grafana dashboard UID.

Example:

"router_system_metrics"

panelId
integer
required

The numeric Grafana panel ID.

Example:

12

Body

application/json
from
string
Example:

"now-7d"

to
string
Example:

"now"

variables
object

Response

CSV panel export.

The response is of type string.

Example:

"Time,Value\n2026-04-20T00:00:00Z,42"