MetricsExportRequestBase

MetricsExportRequestBase
Metrics Export Request Base

Base schema for metrics data export requests.

JSON Example
{
    "keys": [
        "string"
    ],
    "format": "string",
    "formatting": {
        "columns": [
            {
                "field": "string",
                "header": "string"
            }
        ]
    }
}
array of string
keys
Optional

List of metric keys for which data is queried for. This is a required field. Use /key-info API to see which metric keys are supported for a given resource_type.

format
Read-Only  

The format of the exported data file. Currently only CSV format is supported.

formatting
Optional

Optional. CSV formatting options to control which columns appear in the output CSV and their header labels. If omitted, all default columns are included.