Getmasterkeysvaultsummary

以 Markdown 格式查看

Single master key KPIs over a calendar window (vault). Requires valid non-nil masterKeyId.

Success data: { "window", "masterKeyId", "summary": { ... } } — summary fields align with daily rollup KPIs (strings from CH).

身份验证

AuthorizationBearer
Bearer credential containing a JWT, Virtual Key, or PAT.

请求头

X-Workspace-Idstring可选格式: "uuid"

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-Idstring可选格式: "uuid"

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.

查询参数

masterKeyIdstring必需格式: "uuid"

Master key UUID (cannot be all-zero UUID).

presetenum可选默认为 30d

Calendar preset when start+end omitted; default 30d.

startstring可选

YYYY-MM-DD with end.

endstring可选

YYYY-MM-DD with start.

响应

codeinteger
messagestring
dataany