Retrieve API usage
GET
https://api.jasper.ai/v1/usage请求参数
Query 参数
start
string
必需
示例值:
{{last7DaysDateTime}}
end
string
必需
示例值:
{{currentDateTime}}
granularity
array[string]
必需
示例值:
["day","week"]
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
requestId
string
必需
resource
string
必需
data
object
必需
requests
array [object {2}]
必需
示例
{
"requestId": "bce766ea-a4ef-48e5-9da1-d9602bfecf2d",
"resource": "usage",
"data": {
"requests": [
{
"t": "2023-09-11T13:28:59.318Z",
"v": 83
},
{
"t": "2023-09-11T14:28:59.318Z",
"v": 173
},
{
"t": "2023-09-11T15:28:59.318Z",
"v": 162
}
]
}
}
最后修改时间: 10 个月前