v1

latestOpenAPI 3.0.32026-07-14314472448.6 KB
provisioning

Export all alert rules in provisioning file format.

get/v1/provisioning/alert-rules/export

Query parameters

downloadboolean

Whether to initiate a download of the file or not.

format'yaml' | 'json' | 'hcl'

Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

folderUidstring[]

UIDs of folders from which to export rules

groupstring

Name of group of rules to export. Must be specified only together with a single folder UID

ruleUidstring

UID of alert rule to export. If specified, parameters folderUid and group must be empty.

Response

AlertingFileExport

apiVersioninteger