Skip to main content
GET /api/v1/forward/usage/identities This endpoint is for tenant-level usage queries and only supports Qoder PAT authentication. Identity AccessTokens target a single identity and are not allowed to access tenant-level usage data.

Headers

Query parameters

Example request

Example response

HTTP 200 OK

Response fields

Error codes

Notes

  • The time window uses a half-open interval: created_at >= start_time and created_at < end_time.
  • When CAS credit query is unavailable, the endpoint still returns session and duration stats with credits set to null.
  • session_ids is deduplicated and returned in lexicographic order.

List Template Usage

List Sessions