---
title: "Usage By Day"
method: GET
path: "/api/v1/usage/daily"
tags: ["usage"]
---

# Usage By Day

`GET /api/v1/usage/daily`

## 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/v1/usage/daily`
- Auth: HTTP bearer

The account's cost by day: hosting (the usage ledger on a usage plan,
allocated under a seat plan, else debits), LLM, minutes.

## Query parameters

- `from` string, nullable: ISO start (default: to - 30d)
- `to` string, nullable: ISO end (default: now)

## Response `200`

Successful Response

- DailyUsageReport
  - `periodStart` string, date-time, required
  - `periodEnd` string, date-time, required
  - `hostingBasis` string
  - `plan` string, nullable
  - `days` DayUsage[], required
    - `day` string, date, required
    - `computeMinutes` number, required
    - `hostingCostCents` integer, required
    - `llmCostCents` number, required
    - `totalCostCents` number, required

## Other responses

- `422`: Validation Error

---

[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)
