v1
latestOpenAPI 3.1.0BSD-32026-07-2471176175.5 KBtelemetry
Sum metrics records
A new public endpoint is available to send CloudZero Unit Metric telemetry data. This endpoint allows you to send Unit Metric data that will automatically be available in the CloudZero Analytics platform after the next data ingest.
Note: This endpoint is functionally identical to the legacy /unit-cost/v1/telemetry/metric/{metric_name} endpoint.
post/unit-cost/v1/telemetry/metric/{metric_name}/sum
Path parameters
metric_namestring required
A unique name to identify this unit metric.
Headers
Authorizationstring required
Your CloudZero API Key. Note: This is not a bearer token, and should appear in the header as Authorization: <cloudzero-api-key>
Request body
Example request
{
"records": [
{
"value": 16.4,
"timestamp": "2020-03-03T15:32:44+00:00"
}
]
}Response
Telemetry accepted