نظرة عامة
تعيد نقطة النهاية هذه تجميعات فوترة قائمة على الاستهلاك لمفتاح API المحدد، بما في ذلك التكلفة الإجمالية وإجمالي الطلبات والاستخدام حسب وحدة الفوترة، إضافة إلى التفصيلات حسب اسم النموذج المطلوب (model) والمزوّد وscene وaccessChannel وفئة الـ cache واتجاه التكلفة اليومي.
ملاحظات
- يتم استبعاد عمليات الشحن والفواتير والسجلات المالية الأخرى على مستوى المؤسسة.
مثال
الطلب / الاستجابة
استخدم لوحة OpenAPI التفاعلية أعلاه للحصول على المخطط الدقيق.Response example
Important fields
API key summary using the same fields as list/create/update responses.
Aggregated totals for the selected filters.
Aggregated breakdowns for the selected filters.
Total request count.
Total cost in USD as a JSON number for display.
Exact total cost in USD as a decimal string.
Total prompt tokens.
Total completion tokens.
Total tokens.
Usage quantity grouped by usage unit.
Breakdown by requested public model.
Breakdown by logical public model.
Breakdown by public model vendor.
Breakdown by public request scene.
Breakdown by
platform or byok access channel.Daily cost trend.