---
title: "Get the caller's org cost summary"
method: GET
path: "/billing/summary"
tags: ["Billing"]
---

# Get the caller's org cost summary

`GET /billing/summary`

## Request

- Base URL: `https://api-docs.jackhamr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.jackhamr.ai/billing/summary`
- Auth: none declared

Return the org-level cost summary for the period.

Defaults to the current calendar month. Category totals come from
:func:`~app.services.billing._queries.get_org_summary`.

## Query parameters

- `period_start` string, date-time, nullable: Start of period (ISO 8601)
- `period_end` string, date-time, nullable: End of period (ISO 8601)

## Response `200`

Successful Response

- BillingSummary: Org-level cost summary for a period.
  - `organization_id` string, required
  - `period_start` string, date-time, required
  - `period_end` string, date-time, required
  - `today_cost` number
  - `yesterday_cost` number
  - `current_hourly_rate` number
  - `projected_daily` number
  - `projected_monthly` number
  - `projected_yearly` number
  - `currency` string
  - `compute_cost` number
  - `ram_cost` number
  - `storage_cost` number
  - `llm_cost` number
  - `data_transfer_cost` number
  - `total_cost` number
  - `total_input_tokens` integer
  - `total_output_tokens` integer
  - `total_cache_read_tokens` integer
  - `total_cache_write_tokens` integer
  - `input_token_cost` number
  - `output_token_cost` number
  - `cache_read_token_cost` number
  - `cache_write_token_cost` number

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jackhamr/apis/jackhamr-api.md) · [All operations](https://skmtc.dev/jackhamr/apis/jackhamr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jackhamr/apis/jackhamr-api/revisions/f75d221481d8?raw)
