latestOpenAPI 3.1.02026-08-226994571.1 MB

1e929292ddd5

CloudZero

Cloudzero Dry Run Export

Perform a dry run export using the CloudZero logger.

This endpoint uses the CloudZero logger to perform a dry run export, which returns the data that would be exported without actually sending it to CloudZero.

Parameters:

  • limit: Optional limit on number of records to process (default: 10000)

Returns:

  • usage_data: Sample of the raw usage data (first 50 records)
  • cbf_data: CloudZero CBF formatted data ready for export
  • summary: Statistics including total cost, tokens, and record counts

Only admin users can perform CloudZero exports.

post/cloudzero/dry-run

Request body

limitinteger nullable

Optional limit on number of records to export

operationstring

CloudZero operation type (replace_hourly or sum)

start_time_utcstring date-time nullable

Start time for data export in UTC

end_time_utcstring date-time nullable

End time for data export in UTC

Response

Successful Response

messagestring required
statusstring required
records_exportedinteger nullable
dry_run_dataobject nullable

Dry run data including usage data and CBF transformed data

summaryobject nullable

Summary statistics for dry run