Help us improve these docs. Take our quick survey.
curl --request POST \
--url https://api.example.com/calls/usage \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"call_ids": [
"<string>"
],
"include_costs": false,
"limit": 10000
}
'{
"call_usage": {},
"unfinished_call_ids": [
"<string>"
]
}子孫 call を含めて集計し、複数のルート call の集約使用量を計算します。
curl --request POST \
--url https://api.example.com/calls/usage \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"call_ids": [
"<string>"
],
"include_costs": false,
"limit": 10000
}
'{
"call_usage": {},
"unfinished_call_ids": [
"<string>"
]
}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.
複数のルート call の集計された使用状況を計算するリクエスト。
この Endpoint は、リクエストされた各ルート call の使用状況メトリクスを返します。各ルートのメトリクスには、そのルート自身の使用状況の合計に加えて、すべての子孫の使用状況の合計も含まれます。
注: 集計のために、条件に一致するすべての call がメモリに読み込まれます。結果セットが非常に大きい場合(>10k calls)は、ルート call ID をバッチ処理するか、application レイヤーでより限定的なフィルターを使用することを検討してください。