naftiko: 1.0.0-alpha2 info: label: Grafana — Routes description: 'Grafana — Routes. 45 operations. Lead operation: Grafana Route Convert Prometheus Cortex Get Rules. Self-contained Naftiko capability covering one Grafana business surface.' tags: - Grafana - Routes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAFANA_API_KEY: GRAFANA_API_KEY capability: consumes: - type: http namespace: grafana-routes baseUri: http://{defaultHost} description: Grafana — Routes business capability. Self-contained, no shared references. resources: - name: convert-api-prom-rules path: /convert/api/prom/rules operations: - name: routeconvertprometheuscortexgetrules method: GET description: Grafana Route Convert Prometheus Cortex Get Rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: routeconvertprometheuscortexpostrulegroups method: POST description: Grafana Route Convert Prometheus Cortex Post Rule Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string required: true - name: convert-api-prom-rules-NamespaceTitle path: /convert/api/prom/rules/{NamespaceTitle} operations: - name: routeconvertprometheuscortexgetnamespace method: GET description: Grafana Route Convert Prometheus Cortex Get Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: routeconvertprometheuscortexpostrulegroup method: POST description: Grafana Route Convert Prometheus Cortex Post Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: x-grafana-alerting-datasource-uid in: header type: string - name: x-grafana-alerting-recording-rules-paused in: header type: boolean - name: x-grafana-alerting-alert-rules-paused in: header type: boolean - name: x-grafana-alerting-target-datasource-uid in: header type: string - name: x-grafana-alerting-folder-uid in: header type: string - name: x-grafana-alerting-notification-settings in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: routeconvertprometheuscortexdeletenamespace method: DELETE description: Grafana Route Convert Prometheus Cortex Delete Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: convert-api-prom-rules-NamespaceTitle-Group path: /convert/api/prom/rules/{NamespaceTitle}/{Group} operations: - name: routeconvertprometheuscortexgetrulegroup method: GET description: Grafana Route Convert Prometheus Cortex Get Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: Group in: path type: string required: true - name: routeconvertprometheuscortexdeleterulegroup method: DELETE description: Grafana Route Convert Prometheus Cortex Delete Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: Group in: path type: string required: true - name: convert-prometheus-config-v1-rules path: /convert/prometheus/config/v1/rules operations: - name: routeconvertprometheusgetrules method: GET description: Grafana Route Convert Prometheus Get Rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: routeconvertprometheuspostrulegroups method: POST description: Grafana Route Convert Prometheus Post Rule Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string required: true - name: convert-prometheus-config-v1-rules-NamespaceTitle path: /convert/prometheus/config/v1/rules/{NamespaceTitle} operations: - name: routeconvertprometheusgetnamespace method: GET description: Grafana Route Convert Prometheus Get Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: routeconvertprometheuspostrulegroup method: POST description: Grafana Route Convert Prometheus Post Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: x-grafana-alerting-datasource-uid in: header type: string - name: x-grafana-alerting-recording-rules-paused in: header type: boolean - name: x-grafana-alerting-alert-rules-paused in: header type: boolean - name: x-grafana-alerting-target-datasource-uid in: header type: string - name: x-grafana-alerting-folder-uid in: header type: string - name: x-grafana-alerting-notification-settings in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: routeconvertprometheusdeletenamespace method: DELETE description: Grafana Route Convert Prometheus Delete Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: convert-prometheus-config-v1-rules-NamespaceTitle-Group path: /convert/prometheus/config/v1/rules/{NamespaceTitle}/{Group} operations: - name: routeconvertprometheusgetrulegroup method: GET description: Grafana Route Convert Prometheus Get Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: Group in: path type: string required: true - name: routeconvertprometheusdeleterulegroup method: DELETE description: Grafana Route Convert Prometheus Delete Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NamespaceTitle in: path type: string required: true - name: Group in: path type: string required: true - name: v1-provisioning-alert-rules path: /v1/provisioning/alert-rules operations: - name: routegetalertrules method: GET description: Grafana Route Get Alert Rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: routepostalertrule method: POST description: Grafana Route Post Alert Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: v1-provisioning-alert-rules-export path: /v1/provisioning/alert-rules/export operations: - name: routegetalertrulesexport method: GET description: Grafana Route Get Alert Rules Export outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: download in: query type: boolean description: Whether to initiate a download of the file or not. - name: format in: query type: string description: Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. - name: folderUid in: query type: array description: UIDs of folders from which to export rules - name: group in: query type: string description: Name of group of rules to export. Must be specified only together with a single folder UID - name: ruleUid in: query type: string description: UID of alert rule to export. If specified, parameters folderUid and group must be empty. - name: v1-provisioning-alert-rules-UID path: /v1/provisioning/alert-rules/{UID} operations: - name: routegetalertrule method: GET description: Grafana Route Get Alert Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: UID in: path type: string description: Alert rule UID required: true - name: routeputalertrule method: PUT description: Grafana Route Put Alert Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: UID in: path type: string description: Alert rule UID required: true - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: routedeletealertrule method: DELETE description: Grafana Route Delete Alert Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: UID in: path type: string description: Alert rule UID required: true - name: X-Disable-Provenance in: header type: string - name: v1-provisioning-alert-rules-UID-export path: /v1/provisioning/alert-rules/{UID}/export operations: - name: routegetalertruleexport method: GET description: Grafana Route Get Alert Rule Export outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: download in: query type: boolean description: Whether to initiate a download of the file or not. - name: format in: query type: string description: Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. - name: UID in: path type: string description: Alert rule UID required: true - name: v1-provisioning-contact-points path: /v1/provisioning/contact-points operations: - name: routegetcontactpoints method: GET description: Grafana Route Get Contactpoints outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: Filter by name - name: routepostcontactpoints method: POST description: Grafana Route Post Contactpoints outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: v1-provisioning-contact-points-export path: /v1/provisioning/contact-points/export operations: - name: routegetcontactpointsexport method: GET description: Grafana Route Get Contactpoints Export outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: download in: query type: boolean description: Whether to initiate a download of the file or not. - name: format in: query type: string description: Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. - name: decrypt in: query type: boolean description: 'Whether any contained secure settings should be decrypted or left redacted. Redacted settings will contain RedactedValue instead. Currently, only org admin can ' - name: name in: query type: string description: Filter by name - name: v1-provisioning-contact-points-UID path: /v1/provisioning/contact-points/{UID} operations: - name: routeputcontactpoint method: PUT description: Grafana Route Put Contactpoint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: UID in: path type: string description: UID is the contact point unique identifier required: true - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: routedeletecontactpoints method: DELETE description: Grafana Route Delete Contactpoints outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: UID in: path type: string description: UID is the contact point unique identifier required: true - name: Content-Type in: header type: string required: true - name: v1-provisioning-folder-FolderUID-rule-groups-Group path: /v1/provisioning/folder/{FolderUID}/rule-groups/{Group} operations: - name: routegetalertrulegroup method: GET description: Grafana Route Get Alert Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: FolderUID in: path type: string required: true - name: Group in: path type: string required: true - name: routeputalertrulegroup method: PUT description: Grafana Route Put Alert Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Disable-Provenance in: header type: string - name: FolderUID in: path type: string required: true - name: Group in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: routedeletealertrulegroup method: DELETE description: Grafana Route Delete Alert Rule Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: FolderUID in: path type: string required: true - name: Group in: path type: string required: true - name: v1-provisioning-folder-FolderUID-rule-groups-Group-export path: /v1/provisioning/folder/{FolderUID}/rule-groups/{Group}/export operations: - name: routegetalertrulegroupexport method: GET description: Grafana Route Get Alert Rule Group Export outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: download in: query type: boolean description: Whether to initiate a download of the file or not. - name: format in: query type: string description: Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. - name: FolderUID in: path type: string required: true - name: Group in: path type: string required: true - name: v1-provisioning-mute-timings path: /v1/provisioning/mute-timings operations: - name: routegetmutetimings method: GET description: Grafana Route Get Mute Timings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: routepostmutetiming method: POST description: Grafana Route Post Mute Timing outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: v1-provisioning-mute-timings-export path: /v1/provisioning/mute-timings/export operations: - name: routeexportmutetimings method: GET description: Grafana Route Export Mute Timings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: download in: query type: boolean description: Whether to initiate a download of the file or not. - name: format in: query type: string description: Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. - name: v1-provisioning-mute-timings-name path: /v1/provisioning/mute-timings/{name} operations: - name: routegetmutetiming method: GET description: Grafana Route Get Mute Timing outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Mute timing name required: true - name: routeputmutetiming method: PUT description: Grafana Route Put Mute Timing outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Mute timing name required: true - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: routedeletemutetiming method: DELETE description: Grafana Route Delete Mute Timing outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Mute timing name required: true - name: version in: query type: string description: Version of mute timing to use for optimistic concurrency. Leave empty to disable validation - name: X-Disable-Provenance in: header type: string - name: v1-provisioning-mute-timings-name-export path: /v1/provisioning/mute-timings/{name}/export operations: - name: routeexportmutetiming method: GET description: Grafana Route Export Mute Timing outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: download in: query type: boolean description: Whether to initiate a download of the file or not. - name: format in: query type: string description: Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. - name: name in: path type: string description: Mute timing name required: true - name: v1-provisioning-policies path: /v1/provisioning/policies operations: - name: routegetpolicytree method: GET description: Grafana Route Get Policy Tree outputRawFormat: json outputParameters: - name: result type: object value: $. - name: routeputpolicytree method: PUT description: Grafana Route Put Policy Tree outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: routeresetpolicytree method: DELETE description: Grafana Route Reset Policy Tree outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string required: true - name: v1-provisioning-policies-export path: /v1/provisioning/policies/export operations: - name: routegetpolicytreeexport method: GET description: Grafana Route Get Policy Tree Export outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-provisioning-templates path: /v1/provisioning/templates operations: - name: routegettemplates method: GET description: Grafana Route Get Templates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-provisioning-templates-name path: /v1/provisioning/templates/{name} operations: - name: routegettemplate method: GET description: Grafana Route Get Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Template group name required: true - name: routeputtemplate method: PUT description: Grafana Route Put Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Template group name required: true - name: X-Disable-Provenance in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: routedeletetemplate method: DELETE description: Grafana Route Delete Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Template group name required: true - name: version in: query type: string description: Version of template to use for optimistic concurrency. Leave empty to disable validation authentication: type: apikey key: Authorization value: '{{env.GRAFANA_API_KEY}}' placement: header exposes: - type: rest namespace: grafana-routes-rest port: 8080 description: REST adapter for Grafana — Routes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/convert/api/prom/rules name: convert-api-prom-rules description: REST surface for convert-api-prom-rules. operations: - method: GET name: routeconvertprometheuscortexgetrules description: Grafana Route Convert Prometheus Cortex Get Rules call: grafana-routes.routeconvertprometheuscortexgetrules outputParameters: - type: object mapping: $. - method: POST name: routeconvertprometheuscortexpostrulegroups description: Grafana Route Convert Prometheus Cortex Post Rule Groups call: grafana-routes.routeconvertprometheuscortexpostrulegroups with: Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/convert/api/prom/rules/{namespacetitle} name: convert-api-prom-rules-namespacetitle description: REST surface for convert-api-prom-rules-NamespaceTitle. operations: - method: GET name: routeconvertprometheuscortexgetnamespace description: Grafana Route Convert Prometheus Cortex Get Namespace call: grafana-routes.routeconvertprometheuscortexgetnamespace with: NamespaceTitle: rest.NamespaceTitle outputParameters: - type: object mapping: $. - method: POST name: routeconvertprometheuscortexpostrulegroup description: Grafana Route Convert Prometheus Cortex Post Rule Group call: grafana-routes.routeconvertprometheuscortexpostrulegroup with: NamespaceTitle: rest.NamespaceTitle x-grafana-alerting-datasource-uid: rest.x-grafana-alerting-datasource-uid x-grafana-alerting-recording-rules-paused: rest.x-grafana-alerting-recording-rules-paused x-grafana-alerting-alert-rules-paused: rest.x-grafana-alerting-alert-rules-paused x-grafana-alerting-target-datasource-uid: rest.x-grafana-alerting-target-datasource-uid x-grafana-alerting-folder-uid: rest.x-grafana-alerting-folder-uid x-grafana-alerting-notification-settings: rest.x-grafana-alerting-notification-settings body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routeconvertprometheuscortexdeletenamespace description: Grafana Route Convert Prometheus Cortex Delete Namespace call: grafana-routes.routeconvertprometheuscortexdeletenamespace with: NamespaceTitle: rest.NamespaceTitle outputParameters: - type: object mapping: $. - path: /v1/convert/api/prom/rules/{namespacetitle}/{group} name: convert-api-prom-rules-namespacetitle-group description: REST surface for convert-api-prom-rules-NamespaceTitle-Group. operations: - method: GET name: routeconvertprometheuscortexgetrulegroup description: Grafana Route Convert Prometheus Cortex Get Rule Group call: grafana-routes.routeconvertprometheuscortexgetrulegroup with: NamespaceTitle: rest.NamespaceTitle Group: rest.Group outputParameters: - type: object mapping: $. - method: DELETE name: routeconvertprometheuscortexdeleterulegroup description: Grafana Route Convert Prometheus Cortex Delete Rule Group call: grafana-routes.routeconvertprometheuscortexdeleterulegroup with: NamespaceTitle: rest.NamespaceTitle Group: rest.Group outputParameters: - type: object mapping: $. - path: /v1/convert/prometheus/config/v1/rules name: convert-prometheus-config-v1-rules description: REST surface for convert-prometheus-config-v1-rules. operations: - method: GET name: routeconvertprometheusgetrules description: Grafana Route Convert Prometheus Get Rules call: grafana-routes.routeconvertprometheusgetrules outputParameters: - type: object mapping: $. - method: POST name: routeconvertprometheuspostrulegroups description: Grafana Route Convert Prometheus Post Rule Groups call: grafana-routes.routeconvertprometheuspostrulegroups with: Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/convert/prometheus/config/v1/rules/{namespacetitle} name: convert-prometheus-config-v1-rules-namespacetitle description: REST surface for convert-prometheus-config-v1-rules-NamespaceTitle. operations: - method: GET name: routeconvertprometheusgetnamespace description: Grafana Route Convert Prometheus Get Namespace call: grafana-routes.routeconvertprometheusgetnamespace with: NamespaceTitle: rest.NamespaceTitle outputParameters: - type: object mapping: $. - method: POST name: routeconvertprometheuspostrulegroup description: Grafana Route Convert Prometheus Post Rule Group call: grafana-routes.routeconvertprometheuspostrulegroup with: NamespaceTitle: rest.NamespaceTitle x-grafana-alerting-datasource-uid: rest.x-grafana-alerting-datasource-uid x-grafana-alerting-recording-rules-paused: rest.x-grafana-alerting-recording-rules-paused x-grafana-alerting-alert-rules-paused: rest.x-grafana-alerting-alert-rules-paused x-grafana-alerting-target-datasource-uid: rest.x-grafana-alerting-target-datasource-uid x-grafana-alerting-folder-uid: rest.x-grafana-alerting-folder-uid x-grafana-alerting-notification-settings: rest.x-grafana-alerting-notification-settings body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routeconvertprometheusdeletenamespace description: Grafana Route Convert Prometheus Delete Namespace call: grafana-routes.routeconvertprometheusdeletenamespace with: NamespaceTitle: rest.NamespaceTitle outputParameters: - type: object mapping: $. - path: /v1/convert/prometheus/config/v1/rules/{namespacetitle}/{group} name: convert-prometheus-config-v1-rules-namespacetitle-group description: REST surface for convert-prometheus-config-v1-rules-NamespaceTitle-Group. operations: - method: GET name: routeconvertprometheusgetrulegroup description: Grafana Route Convert Prometheus Get Rule Group call: grafana-routes.routeconvertprometheusgetrulegroup with: NamespaceTitle: rest.NamespaceTitle Group: rest.Group outputParameters: - type: object mapping: $. - method: DELETE name: routeconvertprometheusdeleterulegroup description: Grafana Route Convert Prometheus Delete Rule Group call: grafana-routes.routeconvertprometheusdeleterulegroup with: NamespaceTitle: rest.NamespaceTitle Group: rest.Group outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/alert-rules name: v1-provisioning-alert-rules description: REST surface for v1-provisioning-alert-rules. operations: - method: GET name: routegetalertrules description: Grafana Route Get Alert Rules call: grafana-routes.routegetalertrules outputParameters: - type: object mapping: $. - method: POST name: routepostalertrule description: Grafana Route Post Alert Rule call: grafana-routes.routepostalertrule with: X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/alert-rules/export name: v1-provisioning-alert-rules-export description: REST surface for v1-provisioning-alert-rules-export. operations: - method: GET name: routegetalertrulesexport description: Grafana Route Get Alert Rules Export call: grafana-routes.routegetalertrulesexport with: download: rest.download format: rest.format folderUid: rest.folderUid group: rest.group ruleUid: rest.ruleUid outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/alert-rules/{uid} name: v1-provisioning-alert-rules-uid description: REST surface for v1-provisioning-alert-rules-UID. operations: - method: GET name: routegetalertrule description: Grafana Route Get Alert Rule call: grafana-routes.routegetalertrule with: UID: rest.UID outputParameters: - type: object mapping: $. - method: PUT name: routeputalertrule description: Grafana Route Put Alert Rule call: grafana-routes.routeputalertrule with: UID: rest.UID X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routedeletealertrule description: Grafana Route Delete Alert Rule call: grafana-routes.routedeletealertrule with: UID: rest.UID X-Disable-Provenance: rest.X-Disable-Provenance outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/alert-rules/{uid}/export name: v1-provisioning-alert-rules-uid-export description: REST surface for v1-provisioning-alert-rules-UID-export. operations: - method: GET name: routegetalertruleexport description: Grafana Route Get Alert Rule Export call: grafana-routes.routegetalertruleexport with: download: rest.download format: rest.format UID: rest.UID outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/contact-points name: v1-provisioning-contact-points description: REST surface for v1-provisioning-contact-points. operations: - method: GET name: routegetcontactpoints description: Grafana Route Get Contactpoints call: grafana-routes.routegetcontactpoints with: name: rest.name outputParameters: - type: object mapping: $. - method: POST name: routepostcontactpoints description: Grafana Route Post Contactpoints call: grafana-routes.routepostcontactpoints with: X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/contact-points/export name: v1-provisioning-contact-points-export description: REST surface for v1-provisioning-contact-points-export. operations: - method: GET name: routegetcontactpointsexport description: Grafana Route Get Contactpoints Export call: grafana-routes.routegetcontactpointsexport with: download: rest.download format: rest.format decrypt: rest.decrypt name: rest.name outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/contact-points/{uid} name: v1-provisioning-contact-points-uid description: REST surface for v1-provisioning-contact-points-UID. operations: - method: PUT name: routeputcontactpoint description: Grafana Route Put Contactpoint call: grafana-routes.routeputcontactpoint with: UID: rest.UID X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routedeletecontactpoints description: Grafana Route Delete Contactpoints call: grafana-routes.routedeletecontactpoints with: UID: rest.UID Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/folder/{folderuid}/rule-groups/{group} name: v1-provisioning-folder-folderuid-rule-groups-group description: REST surface for v1-provisioning-folder-FolderUID-rule-groups-Group. operations: - method: GET name: routegetalertrulegroup description: Grafana Route Get Alert Rule Group call: grafana-routes.routegetalertrulegroup with: FolderUID: rest.FolderUID Group: rest.Group outputParameters: - type: object mapping: $. - method: PUT name: routeputalertrulegroup description: Grafana Route Put Alert Rule Group call: grafana-routes.routeputalertrulegroup with: X-Disable-Provenance: rest.X-Disable-Provenance FolderUID: rest.FolderUID Group: rest.Group body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routedeletealertrulegroup description: Grafana Route Delete Alert Rule Group call: grafana-routes.routedeletealertrulegroup with: FolderUID: rest.FolderUID Group: rest.Group outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/folder/{folderuid}/rule-groups/{group}/export name: v1-provisioning-folder-folderuid-rule-groups-group-export description: REST surface for v1-provisioning-folder-FolderUID-rule-groups-Group-export. operations: - method: GET name: routegetalertrulegroupexport description: Grafana Route Get Alert Rule Group Export call: grafana-routes.routegetalertrulegroupexport with: download: rest.download format: rest.format FolderUID: rest.FolderUID Group: rest.Group outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/mute-timings name: v1-provisioning-mute-timings description: REST surface for v1-provisioning-mute-timings. operations: - method: GET name: routegetmutetimings description: Grafana Route Get Mute Timings call: grafana-routes.routegetmutetimings outputParameters: - type: object mapping: $. - method: POST name: routepostmutetiming description: Grafana Route Post Mute Timing call: grafana-routes.routepostmutetiming with: X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/mute-timings/export name: v1-provisioning-mute-timings-export description: REST surface for v1-provisioning-mute-timings-export. operations: - method: GET name: routeexportmutetimings description: Grafana Route Export Mute Timings call: grafana-routes.routeexportmutetimings with: download: rest.download format: rest.format outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/mute-timings/{name} name: v1-provisioning-mute-timings-name description: REST surface for v1-provisioning-mute-timings-name. operations: - method: GET name: routegetmutetiming description: Grafana Route Get Mute Timing call: grafana-routes.routegetmutetiming with: name: rest.name outputParameters: - type: object mapping: $. - method: PUT name: routeputmutetiming description: Grafana Route Put Mute Timing call: grafana-routes.routeputmutetiming with: name: rest.name X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routedeletemutetiming description: Grafana Route Delete Mute Timing call: grafana-routes.routedeletemutetiming with: name: rest.name version: rest.version X-Disable-Provenance: rest.X-Disable-Provenance outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/mute-timings/{name}/export name: v1-provisioning-mute-timings-name-export description: REST surface for v1-provisioning-mute-timings-name-export. operations: - method: GET name: routeexportmutetiming description: Grafana Route Export Mute Timing call: grafana-routes.routeexportmutetiming with: download: rest.download format: rest.format name: rest.name outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/policies name: v1-provisioning-policies description: REST surface for v1-provisioning-policies. operations: - method: GET name: routegetpolicytree description: Grafana Route Get Policy Tree call: grafana-routes.routegetpolicytree outputParameters: - type: object mapping: $. - method: PUT name: routeputpolicytree description: Grafana Route Put Policy Tree call: grafana-routes.routeputpolicytree with: X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routeresetpolicytree description: Grafana Route Reset Policy Tree call: grafana-routes.routeresetpolicytree with: Content-Type: rest.Content-Type outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/policies/export name: v1-provisioning-policies-export description: REST surface for v1-provisioning-policies-export. operations: - method: GET name: routegetpolicytreeexport description: Grafana Route Get Policy Tree Export call: grafana-routes.routegetpolicytreeexport outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/templates name: v1-provisioning-templates description: REST surface for v1-provisioning-templates. operations: - method: GET name: routegettemplates description: Grafana Route Get Templates call: grafana-routes.routegettemplates outputParameters: - type: object mapping: $. - path: /v1/v1/provisioning/templates/{name} name: v1-provisioning-templates-name description: REST surface for v1-provisioning-templates-name. operations: - method: GET name: routegettemplate description: Grafana Route Get Template call: grafana-routes.routegettemplate with: name: rest.name outputParameters: - type: object mapping: $. - method: PUT name: routeputtemplate description: Grafana Route Put Template call: grafana-routes.routeputtemplate with: name: rest.name X-Disable-Provenance: rest.X-Disable-Provenance body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: routedeletetemplate description: Grafana Route Delete Template call: grafana-routes.routedeletetemplate with: name: rest.name version: rest.version outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-routes-mcp port: 9090 transport: http description: MCP adapter for Grafana — Routes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: grafana-route-convert-prometheus-cortex description: Grafana Route Convert Prometheus Cortex Get Rules hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeconvertprometheuscortexgetrules outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-cortex-2 description: Grafana Route Convert Prometheus Cortex Post Rule Groups hints: readOnly: false destructive: false idempotent: false call: grafana-routes.routeconvertprometheuscortexpostrulegroups with: Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-cortex-3 description: Grafana Route Convert Prometheus Cortex Get Namespace hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeconvertprometheuscortexgetnamespace with: NamespaceTitle: tools.NamespaceTitle outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-cortex-4 description: Grafana Route Convert Prometheus Cortex Post Rule Group hints: readOnly: false destructive: false idempotent: false call: grafana-routes.routeconvertprometheuscortexpostrulegroup with: NamespaceTitle: tools.NamespaceTitle x-grafana-alerting-datasource-uid: tools.x-grafana-alerting-datasource-uid x-grafana-alerting-recording-rules-paused: tools.x-grafana-alerting-recording-rules-paused x-grafana-alerting-alert-rules-paused: tools.x-grafana-alerting-alert-rules-paused x-grafana-alerting-target-datasource-uid: tools.x-grafana-alerting-target-datasource-uid x-grafana-alerting-folder-uid: tools.x-grafana-alerting-folder-uid x-grafana-alerting-notification-settings: tools.x-grafana-alerting-notification-settings body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-cortex-5 description: Grafana Route Convert Prometheus Cortex Delete Namespace hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routeconvertprometheuscortexdeletenamespace with: NamespaceTitle: tools.NamespaceTitle outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-cortex-6 description: Grafana Route Convert Prometheus Cortex Get Rule Group hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeconvertprometheuscortexgetrulegroup with: NamespaceTitle: tools.NamespaceTitle Group: tools.Group outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-cortex-7 description: Grafana Route Convert Prometheus Cortex Delete Rule Group hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routeconvertprometheuscortexdeleterulegroup with: NamespaceTitle: tools.NamespaceTitle Group: tools.Group outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-get description: Grafana Route Convert Prometheus Get Rules hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeconvertprometheusgetrules outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-post description: Grafana Route Convert Prometheus Post Rule Groups hints: readOnly: false destructive: false idempotent: false call: grafana-routes.routeconvertprometheuspostrulegroups with: Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-get-2 description: Grafana Route Convert Prometheus Get Namespace hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeconvertprometheusgetnamespace with: NamespaceTitle: tools.NamespaceTitle outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-post-2 description: Grafana Route Convert Prometheus Post Rule Group hints: readOnly: false destructive: false idempotent: false call: grafana-routes.routeconvertprometheuspostrulegroup with: NamespaceTitle: tools.NamespaceTitle x-grafana-alerting-datasource-uid: tools.x-grafana-alerting-datasource-uid x-grafana-alerting-recording-rules-paused: tools.x-grafana-alerting-recording-rules-paused x-grafana-alerting-alert-rules-paused: tools.x-grafana-alerting-alert-rules-paused x-grafana-alerting-target-datasource-uid: tools.x-grafana-alerting-target-datasource-uid x-grafana-alerting-folder-uid: tools.x-grafana-alerting-folder-uid x-grafana-alerting-notification-settings: tools.x-grafana-alerting-notification-settings body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-delete description: Grafana Route Convert Prometheus Delete Namespace hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routeconvertprometheusdeletenamespace with: NamespaceTitle: tools.NamespaceTitle outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-get-3 description: Grafana Route Convert Prometheus Get Rule Group hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeconvertprometheusgetrulegroup with: NamespaceTitle: tools.NamespaceTitle Group: tools.Group outputParameters: - type: object mapping: $. - name: grafana-route-convert-prometheus-delete-2 description: Grafana Route Convert Prometheus Delete Rule Group hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routeconvertprometheusdeleterulegroup with: NamespaceTitle: tools.NamespaceTitle Group: tools.Group outputParameters: - type: object mapping: $. - name: grafana-route-get-alert-rules description: Grafana Route Get Alert Rules hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetalertrules outputParameters: - type: object mapping: $. - name: grafana-route-post-alert-rule description: Grafana Route Post Alert Rule hints: readOnly: false destructive: false idempotent: false call: grafana-routes.routepostalertrule with: X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-get-alert-rules-2 description: Grafana Route Get Alert Rules Export hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetalertrulesexport with: download: tools.download format: tools.format folderUid: tools.folderUid group: tools.group ruleUid: tools.ruleUid outputParameters: - type: object mapping: $. - name: grafana-route-get-alert-rule description: Grafana Route Get Alert Rule hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetalertrule with: UID: tools.UID outputParameters: - type: object mapping: $. - name: grafana-route-put-alert-rule description: Grafana Route Put Alert Rule hints: readOnly: false destructive: false idempotent: true call: grafana-routes.routeputalertrule with: UID: tools.UID X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-delete-alert-rule description: Grafana Route Delete Alert Rule hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routedeletealertrule with: UID: tools.UID X-Disable-Provenance: tools.X-Disable-Provenance outputParameters: - type: object mapping: $. - name: grafana-route-get-alert-rule-2 description: Grafana Route Get Alert Rule Export hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetalertruleexport with: download: tools.download format: tools.format UID: tools.UID outputParameters: - type: object mapping: $. - name: grafana-route-get-contactpoints description: Grafana Route Get Contactpoints hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetcontactpoints with: name: tools.name outputParameters: - type: object mapping: $. - name: grafana-route-post-contactpoints description: Grafana Route Post Contactpoints hints: readOnly: false destructive: false idempotent: false call: grafana-routes.routepostcontactpoints with: X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-get-contactpoints-export description: Grafana Route Get Contactpoints Export hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetcontactpointsexport with: download: tools.download format: tools.format decrypt: tools.decrypt name: tools.name outputParameters: - type: object mapping: $. - name: grafana-route-put-contactpoint description: Grafana Route Put Contactpoint hints: readOnly: false destructive: false idempotent: true call: grafana-routes.routeputcontactpoint with: UID: tools.UID X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-delete-contactpoints description: Grafana Route Delete Contactpoints hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routedeletecontactpoints with: UID: tools.UID Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: grafana-route-get-alert-rule-3 description: Grafana Route Get Alert Rule Group hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetalertrulegroup with: FolderUID: tools.FolderUID Group: tools.Group outputParameters: - type: object mapping: $. - name: grafana-route-put-alert-rule-2 description: Grafana Route Put Alert Rule Group hints: readOnly: false destructive: false idempotent: true call: grafana-routes.routeputalertrulegroup with: X-Disable-Provenance: tools.X-Disable-Provenance FolderUID: tools.FolderUID Group: tools.Group body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-delete-alert-rule-2 description: Grafana Route Delete Alert Rule Group hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routedeletealertrulegroup with: FolderUID: tools.FolderUID Group: tools.Group outputParameters: - type: object mapping: $. - name: grafana-route-get-alert-rule-4 description: Grafana Route Get Alert Rule Group Export hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetalertrulegroupexport with: download: tools.download format: tools.format FolderUID: tools.FolderUID Group: tools.Group outputParameters: - type: object mapping: $. - name: grafana-route-get-mute-timings description: Grafana Route Get Mute Timings hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetmutetimings outputParameters: - type: object mapping: $. - name: grafana-route-post-mute-timing description: Grafana Route Post Mute Timing hints: readOnly: false destructive: false idempotent: false call: grafana-routes.routepostmutetiming with: X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-export-mute-timings description: Grafana Route Export Mute Timings hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeexportmutetimings with: download: tools.download format: tools.format outputParameters: - type: object mapping: $. - name: grafana-route-get-mute-timing description: Grafana Route Get Mute Timing hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetmutetiming with: name: tools.name outputParameters: - type: object mapping: $. - name: grafana-route-put-mute-timing description: Grafana Route Put Mute Timing hints: readOnly: false destructive: false idempotent: true call: grafana-routes.routeputmutetiming with: name: tools.name X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-delete-mute-timing description: Grafana Route Delete Mute Timing hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routedeletemutetiming with: name: tools.name version: tools.version X-Disable-Provenance: tools.X-Disable-Provenance outputParameters: - type: object mapping: $. - name: grafana-route-export-mute-timing description: Grafana Route Export Mute Timing hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routeexportmutetiming with: download: tools.download format: tools.format name: tools.name outputParameters: - type: object mapping: $. - name: grafana-route-get-policy-tree description: Grafana Route Get Policy Tree hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetpolicytree outputParameters: - type: object mapping: $. - name: grafana-route-put-policy-tree description: Grafana Route Put Policy Tree hints: readOnly: false destructive: false idempotent: true call: grafana-routes.routeputpolicytree with: X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-reset-policy-tree description: Grafana Route Reset Policy Tree hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routeresetpolicytree with: Content-Type: tools.Content-Type outputParameters: - type: object mapping: $. - name: grafana-route-get-policy-tree-2 description: Grafana Route Get Policy Tree Export hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegetpolicytreeexport outputParameters: - type: object mapping: $. - name: grafana-route-get-templates description: Grafana Route Get Templates hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegettemplates outputParameters: - type: object mapping: $. - name: grafana-route-get-template description: Grafana Route Get Template hints: readOnly: true destructive: false idempotent: true call: grafana-routes.routegettemplate with: name: tools.name outputParameters: - type: object mapping: $. - name: grafana-route-put-template description: Grafana Route Put Template hints: readOnly: false destructive: false idempotent: true call: grafana-routes.routeputtemplate with: name: tools.name X-Disable-Provenance: tools.X-Disable-Provenance body: tools.body outputParameters: - type: object mapping: $. - name: grafana-route-delete-template description: Grafana Route Delete Template hints: readOnly: false destructive: true idempotent: true call: grafana-routes.routedeletetemplate with: name: tools.name version: tools.version outputParameters: - type: object mapping: $.