Get project analytics

以 Markdown 格式查看

Return summary usage and top spenders across assigned members and agents for an Enterprise workspace. All workspace members may read; PATs require the read scope.

路径参数

idstring必需格式: "uuid"
Project UUID

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需格式: "uuid"
Workspace UUID

查询参数

periodenum可选默认为 7d
Analytics period
允许的值:

响应

data: project analytics

dataobject可选

错误

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
503
Service Unavailable Error