---
title: "Get Billing Summary"
method: GET
path: "/api/billing"
tags: ["billing"]
---

# Get Billing Summary

`GET /api/billing`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/billing`
- Auth: HTTP bearer

## Response `200`

Successful Response

- BillingInfoResponse
  - `totalAgents` integer, required
  - `totalCost` number, required
  - `computeMinutes` number, required
  - `agents` AgentBillingResponse[], required
    - `agentId` string, required
    - `agentName` string, required
    - `tier` string, required: Deprecated. A retired per-agent pricing label kept for old clients. It is not what the account is billed.
    - `cost` number, required: Deprecated. A retired per-agent pricing label kept for old clients. It is not what the account is billed.
    - `invocations` integer, required
    - `computeMinutes` number, required
    - `computeMinutesThisPeriod` number
    - `invocationsThisPeriod` integer
    - `limitMinutes` number, nullable
    - `usagePercent` number
  - `billingPeriod` string

---

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