DescribeAiUsageDataDetail
1. 接口描述
2. 请求参数
参数名称
必选
类型
描述
3. 响应结果
参数名称
类型
描述
4. 代码示例
POST / HTTP/1.1
Host: console.zenlayer.com/api/v2/aigw
Content-Type: application/json
X-TC-Action: DescribeAiUsageDataDetail
<Common Request Params>
Request:
{
"instanceIds": "1597494548165039443",
"start": 1772074800,
"end": 1772075400
}
Response:
{
"requestId": "T63CFC9EF-872E-4F8D-AE6C-D830D9FEFA7C",
"response": {
"request": [
{
"gemini-2.5-flash": 1,
"time": 1772074800000,
"gpt-4o": 2
}
],
"inputToken": [
{
"gemini-2.5-flash": 10,
"time": 1772074800000,
"gpt-4o": 41
}
],
"requestId": "T63CFC9EF-872E-4F8D-AE6C-D830D9FEFA7C",
"outToken": [
{
"gemini-2.5-flash": 3335,
"time": 1772074800000,
"gpt-4o": 553
}
],
"token": [
{
"gemini-2.5-flash": 3345,
"time": 1772074800000,
"gpt-4o": 594
}
]
}
}5. 错误码
最后更新于