---
title: "Get Organization Monthly Usage"
method: GET
path: "/v1/usage/monthly/"
tags: ["Usage"]
---

# Get Organization Monthly Usage

`GET /v1/usage/monthly/`

## Request

- Base URL: `https://logfire-api.pydantic.dev/api`
- URL: `https://logfire-api.pydantic.dev/api/v1/usage/monthly/`
- Auth: OAuth 2
  - Authorization code: `api/oauth/authorize`
  - Token URL: `/api/oauth/token` scopes: `organization:payment`
- TypeScript: <https://skmtc.dev/pydantic/apis/pydantic-logfire-api/docs/v1/usage/monthly/get.ts> (a function with typed inputs; its response is checked against the schema)

Get organization-level monthly usage since account opening.

Returns monthly usage aggregated across all projects, read from `token_usage_monthly`.

## Query parameters

- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Successful Response

- UsageResponseV1
  - `start_date` string, date, required
  - `end_date` string, date, required
  - `total_records_count` integer, required
  - `total_metrics_count` integer, required
  - `total_observations` integer, required
  - `usage` UsageRowV1[], required
    - `date` string, date, required
    - `records_count` integer, required
    - `metrics_count` integer, required
    - `total_observations` integer, required

## Other responses

- `422`: Validation Error
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/pydantic/apis/pydantic-logfire-api.md) - [All operations](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/revisions/7996e45256f4?raw)
