Help us improve these docs. Take our quick survey.
curl --request POST \
--url https://api.example.com/feedback/stats \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"feedback_type": "<string>",
"trigger_ref": "<string>",
"granularity": 123,
"timezone": "UTC",
"metrics": [
{
"json_path": "<string>",
"value_type": "numeric",
"aggregations": [
"sum"
],
"percentiles": [
123
]
}
]
}
'{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"granularity": 123,
"timezone": "<string>",
"buckets": [
{}
],
"window_stats": {}
}時間バケットごとの集約済みフィードバック統計を返します。
curl --request POST \
--url https://api.example.com/feedback/stats \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"feedback_type": "<string>",
"trigger_ref": "<string>",
"granularity": 123,
"timezone": "UTC",
"metrics": [
{
"json_path": "<string>",
"value_type": "numeric",
"aggregations": [
"sum"
],
"percentiles": [
123
]
}
]
}
'{
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"granularity": 123,
"timezone": "<string>",
"buckets": [
{}
],
"window_stats": {}
}Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
時間バケットごとの集約フィードバック統計のリクエスト。
開始時刻(UTC、ISO 8601、含む)。
終了時刻(UTC、ISO 8601、含まない)。省略した場合は現在時刻がデフォルトです。
feedback_type でフィルターします。
trigger_ref でフィルターします(all-versions では完全一致またはプレフィックス一致)。
バケット サイズ(秒単位)。省略した場合は、時間範囲に基づいて自動選択されます。
バケットの位置合わせに使用する IANA タイムゾーン。
payload_dump から集約するメトリクス。
Show child attributes
正常なレスポンス
時系列フィードバック統計を含むResponse。
確定した開始時刻(要求したタイムゾーンに関係なく、常に UTC)。
確定した終了時刻(要求したタイムゾーンに関係なく、常に UTC)。
使用されたバケット サイズ(秒単位)
バケットの位置合わせに使用されたタイムゾーン
時間バケットごとの集約。各dict には、'timestamp'(ISO 文字列)、'count'(int)、およびリクエストされた各メトリクス+集約に対応する '{agg}_{slug}' キーが含まれます。
クエリ期間全体に対する集約。メトリクス slug(例: 'output_score')をキーにします。各値は agg 名から結果へのマッピングです。
Show child attributes