跳转到主要内容
GET
/
report
/
breakdown
report/breakdown
curl --request GET \
  --url https://provisioning.cloudx.io/api/v1/report/breakdown \
  --header 'Authorization: Bearer <token>'
{
  "dimensions": [
    "<string>"
  ],
  "metrics": [
    "<string>"
  ],
  "rows": [
    {
      "dimensions": {},
      "metrics": {}
    }
  ],
  "row_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.cloudx.io/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
默认值:YOUR_CLOUDX_API_KEY
必填

Create or manage API keys in CloudX Settings.

查询参数

start_time
integer<int64>
必填

Start of the time range as a Unix timestamp in seconds. The requested range must not exceed 31 days.

end_time
integer<int64>
必填

End of the time range as a Unix timestamp in seconds. The requested range must not exceed 31 days.

by
string
必填

Comma-separated breakdown dimensions. Supported values are hour, day, week, month, country, os, app, ad_unit, and format.

metrics
string
必填

Comma-separated metric names to include in each breakdown row.

test_mode
enum<string>
默认值:production

Traffic mode to include. Defaults to production traffic.

可用选项:
production,
test,
all
country
string

ISO 3166-1 alpha-2 country code filter.

device_os
enum<string>

Device operating system filter.

可用选项:
iOS,
Android
granularity
enum<string>
默认值:daily

Reporting bucket size. Defaults to daily.

可用选项:
daily,
hourly
top
integer<int32>

Return the top N rows sorted by the first requested metric.

必填范围: 1 <= x <= 1000
bottom
integer<int32>

Return the bottom N rows sorted by the first requested metric.

必填范围: 1 <= x <= 1000
having
string

Metric filter expression, such as revenue > 10.

响应

CloudX breakdown data.

dimensions
string[]
必填
metrics
string[]
必填
rows
object[]
必填
Maximum array length: 100000
row_count
integer<int64>
必填