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의 집계 사용량을 하위 항목 롤업과 함께 계산합니다.
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의 집계된 사용량을 계산하기 위한 요청입니다.
이 엔드포인트는 요청된 각 루트 call에 대한 사용 메트릭을 반환하며, 각 루트의 메트릭에는 해당 루트 자체의 사용량과 모든 하위 항목의 사용량 합계가 포함됩니다.
참고: 집계를 위해 일치하는 모든 call이 메모리에 로드됩니다. 결과 집합이 매우 큰 경우(>10k calls)에는 루트 call ID를 배치로 나누어 처리하거나 애플리케이션 계층에서 더 좁은 필터를 사용하는 것을 고려하세요.