API Reference
Get a dashboard's raw YAML
GET
/api/dashboards/{id}/yaml
Returns the snapshotted dashboard YAML for editing. Admin only.
Operation IDgetDashboardYaml
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Success response body
200Raw dashboard YAML
Raw dashboard YAML
Content typeapplication/json
responseobject5 properties
idintegernamestringdescriptionstring | nullyaml_contentstringjob_idintegerParent job id (used for post-delete navigation)
Error responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}