Skip to main content
GET
列出活动记录
此端点需要管理 API 密钥。不接受标准 Gateway API 密钥。

授权

Authorization
string
header
必填

Bearer 令牌身份验证

查询参数

workspace_id
string<uuid>

可选的工作区覆盖值。除非由内部控制调用方使用,否则必须与已认证的工作区一致。

days
integer
默认值:30

要包含的活动天数。

必填范围: x >= 1
limit
integer
默认值:50

要返回的活动行最大数量。

必填范围: 1 <= x <= 250
offset
integer
默认值:0

分页时要跳过的活动行数。

必填范围: x >= 0

响应

已获取

ok
enum<boolean>
必填
可用选项:
true
period_days
integer
必填
示例:

30

limit
integer
必填
示例:

50

offset
integer
必填
示例:

0

total
integer
必填
示例:

1250

total_cost_cents
number
必填
示例:

42.75

activity
object[]
必填
最后修改于 2026年10月2日