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

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/cloudzero/dry-run
  • Auth: one of:
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key

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

Changes

No recorded changes to this operation across all 78 revisions of this API.