Get agent analytics
Get usage analytics for a single agent. Owner, admin, viewer. When Collector analytics is configured, period spend, requests, and tokens are merged from GET /v1/analytics/saas/costs-by-entities with entityType=agent and the requested agent id.
路径参数
id
Agent UUID
请求头
Authorization
Bearer {access_token}
X-Workspace-Id
Workspace UUID
查询参数
days
Days to retrieve (1-365)
响应
data: usage analytics
错误
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error