---
title: "Get org usage"
method: GET
path: "/orgs/{org_id}/usage"
tags: ["usage"]
---

# Get org usage

`GET /orgs/{org_id}/usage`

Returns aggregated usage metrics for the organization over a time range (max 90 days). Requires org admin.

## Path parameters

- `org_id` string, required

## Query parameters

- `from` string, required
- `to` string, required
- `group_by` string

## Response `200`

OK

- InternalApiAdminUsageResponse
  - `data` InternalApiAdminUsageDataPoint[]
    - `avg_duration_ms` number
    - `completion_tokens` integer
    - `cost_estimate` number
    - `group_key` string
    - `prompt_tokens` integer
    - `total_requests` integer
    - `total_tokens` integer
  - `from` string
  - `group_by` string
  - `org_id` string
  - `to` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/voidmind-io/apis/untitled-api.md) · [All operations](https://skmtc.dev/voidmind-io/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/voidmind-io/untitled-api/revisions/1405e7d9c155/schema)
