Export Point In Time Data
Requests an export of point-in-time metrics data.
Point in time data export request.
{
"keys": [
"string"
],
"format": "string",
"formatting": {
"columns": [
{
"field": "string",
"header": "string"
}
]
},
"resource_types": [
"string"
],
"resource_ids": [
"string"
],
"filters": [
{
"filter_field": "string",
"filter_operation": "string",
"value": "string"
}
],
"sort_by": "string",
"sort_ascending": false,
"aggregation": {
"aggregation_dimension": "string",
"aggregation_function": "string"
}
}
Accepted
{
"id": "b8f47985-22ed-3193-bca8-11c7b025cbce",
"status_url": "/operation/status"
}
UUID identifier of the response.
The URL to check the status of the operation.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error Response
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"keys":["string"],"resource_types":["string"],"resource_ids":["string"]}' https://{api_host}/metrics/point-in-time/data/export