Get Usage Summary

Changed on

Activity-card aggregates: per-bucket totals + grand totals for the requested time window. period ∈ {24h, 7d, 1m, 3m, all}. group_by ∈ {model, provider, agent}. Buckets sorted by total_tokens DESC so the UI can take top-N directly.

get/api/usage/summary

Request

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

Query parameters

periodstring
group_bystring

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name