Getsaasagentanalytics
Per-agent daily cost/requests/tokens ending today UTC over the last days calendar days.
Success data: period, periodSpend, periodRequests, periodTokens, budgetCents (null), dailySeries.
身份验证
AuthorizationBearer
Bearer credential containing a JWT, Virtual Key, or PAT.
路径参数
id
Agent UUID.
请求头
X-Workspace-Id
Required for a normal JWT, Virtual Key, or PAT. A JWT may instead send X-Openmodel-User-Id. Not used by the public health endpoint.
X-Openmodel-User-Id
JWT-only alternative to X-Workspace-Id. Must be a UUID equal to the JWT subject; the server uses it as the workspace id. Not valid as the sole workspace header for Virtual Key or PAT authentication.
查询参数
days
Lookback calendar days (default 30, max 365).
响应
code
message
data