日付別に毎日のアクティブユーザーをエクスポートする
get
/kpi/dau/data_series
このエンドポイントを使用して、各日付のユニーク アクティブ ユーザーの合計数の日次系列を取得します。
前提条件
このエンドポイント を 使用するには、 kpi.dau.data_series 許可。
レート制限
We apply the default Braze rate limit of 250,000 requests per hour to this endpoint, as documented in API rate limits.
リクエストパラメータ
| パラメータ | 必須 | データ型 | 説明 | 
|---|---|---|---|
length | 
      必須 | 整数 | 最大日数 ending_at 返されるシリーズに含めるもの。1 から 100 までの範囲で指定する必要があります。 | 
    
ending_at | 
      オプション | 日時  (ISO-8601 文字列)  | 
      データ シリーズを終了する日付。デフォルトはリクエストの時刻です。 | 
app_id | 
      オプション | 文字列 | API キー ページから取得されたアプリ API 識別子。除外すると、ワークスペース内のすべてのアプリの結果が返されます。 | 
リクエスト例
1
2
curl --location -g --request GET 'https://rest.iad-01.braze.com/kpi/dau/data_series?length=10&ending_at=2018-06-28T23:59:59-5:00&app_id={{app_identifier}}' \
--header 'Authorization: Bearer YOUR-REST-API-KEY'
応答
1
2
3
4
5
6
7
8
9
10
11
12
Content-Type: application/json
Authorization: Bearer YOUR-REST-API-KEY
{
    "message": (required, string) the status of the export, returns 'success' when completed without errors,
    "data" : [
        {
            "time" : (string) the date as ISO 8601 date,
            "dau" : (int) the number of daily active users
        },
        ...
    ]
}
 tip: 
CSV および API エクスポートに関するヘルプについては、「エクスポートのトラブルシューティング」をご覧ください。
   Edit this page on GitHub