Get Metrics Export Status
Retrieves the current status of a previously initiated metrics export request.
The ID of the export request.
OK
{
"id": "string",
"status": "string",
"format": "string",
"download_url": "string",
"file_size": 0,
"status_message": "string",
"requested_at": 0,
"expires_at": 0,
"request": {}
}
The ID of the export request.
The status of the export request.
The format of the exported data.
The URL to download the exported file, if the status is READY.
The size of the exported file in bytes, if the status is READY.
Status message providing additional details about the export request. Contains error details if the export failed.
Timestamp in milliseconds since epoch.
Timestamp in milliseconds since epoch.
The original export request parameters (either MetricsTimeSeriesExportRequest or MetricsPointInTimeExportRequest).
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 -H 'Authorization: <value>' https://{api_host}/metrics/export/{request-id}/status