manage
manage

Usage Summary

本租户 token 用量汇总:总量 + 按维度(agent/user/space/hour/day/week/model/kind)分组。

since 给一个时间窗口(ISO 8601):最近 24 小时配 group=hour、最近若干天配 group=day、更长区间配 group=week——窗口由调用方算好传进来,这里只做过滤+分桶。 不传 since 时统计全部历史(向后兼容原有 group=agent 等调用)。

用量是纯元数据(仅 token 数),隐私模式租户也照常计量(见 docs/18)。

get/manage/usage

Request

  • Base URL: https://api.agent4.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.agent4.io/manage/usage
  • Auth: none declared

Query parameters

groupstring
sincestring nullable

Response

Successful Response

groupstring required

Changes

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