export_dashboard_yaml

Export an authorized authored dashboard source as canonical project YAML.

Machine-readable: focused JSON · complete manifest

Contract

Property Value
Authorization RESOURCE_READ
Effect read
Operation manual
Tags dashboard, authoring, export
Defaults {}
MCP annotations read-only, idempotent, non-destructive, closed-world

Input schema

{
  "additionalProperties": false,
  "properties": {
    "dashboardId": {
      "minLength": 1,
      "type": "string"
    },
    "sourceKind": {
      "enum": [
        "project",
        "instance"
      ],
      "type": "string"
    }
  },
  "required": [
    "dashboardId",
    "sourceKind"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "yaml": {
      "type": "string"
    }
  },
  "required": [
    "yaml"
  ],
  "type": "object"
}