Build

查询流水线 AI 用量汇总。Get pipeline AI usage summary.

查询指定流水线的 AI 用量汇总(按模型分组的 token / 调用次数 / 消费额度)。 Query the AI usage summary of a pipeline (tokens / request count / credit grouped by model). 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-cnb-history:r

get/{repo}/-/build/logs/ai-audit/{sn}/{pipelineId}

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/{repo}/-/build/logs/ai-audit/{sn}/{pipelineId}
  • Auth: API key in header Authorization

Path parameters

repostring required

仓库路径。Repo path.

snstring required

构建号。SN.

pipelineIdstring required

流水线 ID。Pipeline ID.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.