InlineMetricsTimeSeriesExportRequest0

InlineMetricsTimeSeriesExportRequest0
InlineMetricsTimeSeriesExportRequest0

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.

string
format
Optional

The format of the exported data.

object
formatting
Optional

Optional CSV formatting configuration. If not specified, the CSV will contain all default fields (resource_id, resource_ref_id, site_id, display_name, metric_key, unit, object_id, node_id, time, value). If specified, only the listed columns (in the given order) will be included in the CSV.