---
title: "List compact token and estimated cost usage for session cards"
method: GET
path: "/api/v1/usage/sessions"
tags: ["usage"]
---

# List compact token and estimated cost usage for session cards

`GET /api/v1/usage/sessions`

## Query parameters

- `projectId` string — Optional project id filter for dashboard cards.

## Response `200`

OK

- ListCompactSessionUsageResponse
  - `sessions` CompactSessionUsageResponse[], required
    - `estimatedCost` EstimatedCostResponse, required
      - `cachedInputNanos` integer, nullable, required
      - `coverage` 'complete' | 'partial', required
      - `inputNanos` integer, nullable, required — Every non-cache-read input charge, cache writes included.
      - `outputNanos` integer, nullable, required
      - `providerAttribution` 'observed' | 'inferred' | 'mixed', required — Whether contributing billing providers were detected, inferred from model ownership, or both.
      - `totalNanos` integer, required
    - `incomplete` boolean, required
    - `processedTokens` integer, nullable, required — Canonical input plus output. Null when either component is unknown.
    - `sessionId` string, required
    - `totalTokens` integer, required — Deprecated compatibility alias for processedTokens.

## Other responses

- `500` — Internal Server Error
- `501` — Not Implemented

## Changes

- **2026-08-28** `e853ada076ff` — 1 info
  - added the required property `sessions/items/estimatedCost` to the response with the `200` status
- **2026-08-21** `5682a5de7409` — 1 info
  - added the required property `sessions/items/processedTokens` to the response with the `200` status
- **2026-08-06** `966e7144cdbc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/usage/sessions/get.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/composiohq/agent-orchestrator-http-daemon/revisions/09f65272fe44/schema)
