What data format does the API return?

All responses are JSON with a consistent two-part structure:


{
  "config": { ... },
  "data": [ ... ]
}

The config object contains metadata like topic, time range, and parameters used. The data array or object holds your actual metrics. Check config first when debugging unexpected results.

Helpful links