GET /openapi/memorylake/admin/v1/billing/credit-balance/alert/events
所需权限:
credits:view查询参数
integer
default:"20"
每页条数(1–100)
string
上一页返回的令牌
curl -X GET 'https://app.memorylake.cn/openapi/memorylake/admin/v1/billing/credit-balance/alert/events' \
-H 'Authorization: Bearer sk_xxxxxx'
响应
object
Show Load More Response Balance Alert Event 对象
Show Load More Response Balance Alert Event 对象
array
当前页的条目列表
Show Balance Alert Event 对象
Show Balance Alert Event 对象
integer
触发时的余额,以 tokens 计(透支后为负数)
integer
Unix 秒级时间戳
integer
事件 ID
array
boolean
余额此后已回升至该水位之上
object
integer
恢复时间,Unix 秒级时间戳
string
用于获取下一页的令牌;最后一页不返回
integer
所有分页中符合筛选条件的条目总数;无法获取计数时省略
{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"balance_tokens": 1200000,
"fired_at": 1760000000,
"id": 1,
"recipients": [
{
"status": "sent",
"email": "alice@example.com"
}
],
"recovered": false,
"threshold": {
"type": "percent_used",
"value": 1
},
"recovered_at": 1760000000
}
],
"continuation_token": "eyJvZmZzZXQiOjIwfQ",
"total": 1
}
}