1. 用量统计
AIone API
  • 引言
    • 快速开始
    • 认证方式
    • 错误码说明
    • 定价说明
    • 联系我们
    • 服务质量保障
    • 完整请求案例
    • 关于缓存与成本优化
    • 模型质量监控与保障
    • 关于模型真实性验证
    • 在IDE中使用AIone
    • 网络与连接说明
    • 模型命名与兼容规则
    • Gemini 图片生成
  • 聊天(Chat)
    • 基础文本对话
      POST
    • 流式响应
      POST
  • 模型(Models)
    • 获取模型列表
      GET
    • List Models
      GET
  • API Key 管理
    • List Keys
      GET
    • Create Key
      POST
    • Get Key
      GET
    • Update Key
      PUT
    • Delete Key
      DELETE
    • Rotate Key
      PUT
    • Disable Key
      PUT
    • Enable Key
      PUT
  • 用量统计
    • Query Usage
      GET
    • Get Dashboard
      GET
  • 账单
    • Get Current Plan
    • Get Billing Account
    • List Invoices
  • 数据模型
    • HTTPValidationError
    • DashboardResponse
    • KeyCreateRequest
    • KeyListResponse
    • PlanDetailResponse
    • ModelListResponse
    • KeyResponse
    • InvoiceListResponse
    • KeyRotateResponse
    • BillingAccountResponse
    • UsageRow
    • KeyUpdateRequest
    • ValidationError
    • TechDashboardData
    • ModelInfo
    • BusinessDashboardData
    • DailyTrend
    • TeamCostItem
    • ModelDistribution
  1. 用量统计

Get Dashboard

GET
/api/v1/obs/dashboard

请求参数

Authorization
Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/obs/dashboard?range_days' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200
application/json
Successful Response
Body

示例
{
    "view_mode": "tech",
    "tech": {
        "total_tokens": 0,
        "prompt_tokens": 0,
        "completion_tokens": 0,
        "total_requests": 0,
        "total_cost_rmb": "string",
        "avg_latency_ms": 0,
        "p99_latency_ms": 0,
        "error_rate_pct": "string",
        "rpm_usage_pct": "string",
        "model_distribution": [
            {
                "model": "string",
                "requests": 0,
                "tokens": 0
            }
        ],
        "daily_trend": [
            {
                "date": "2019-08-24",
                "requests": 0,
                "tokens": 0,
                "cost_rmb": "string"
            }
        ]
    },
    "business": {
        "total_chars_wan": 0,
        "total_conversations": 0,
        "total_cost_rmb": "string",
        "budget_progress_pct": "string",
        "capacity_status": "sufficient",
        "service_status": "normal",
        "team_cost_ranking": [
            {
                "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
                "team_name": "string",
                "cost_rmb": "string",
                "conversations": 0
            }
        ],
        "daily_trend": [
            {
                "date": "2019-08-24",
                "requests": 0,
                "tokens": 0,
                "cost_rmb": "string"
            }
        ]
    },
    "data_freshness": "string"
}
🟠422
修改于 2026-03-30 15:31:45
上一页
Query Usage
下一页
Get Current Plan
Built with