---
title: "Project Usage"
method: GET
path: "/api/projects/{project_id}/usage"
tags: ["projects"]
---

# Project Usage

`GET /api/projects/{project_id}/usage`

## 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/projects/{project_id}/usage`
- Auth: HTTP bearer

Per-customer usage rollup (plan 18 follow-up): what each binding cost
over the last 30 days, so a dev can re-bill THEIR customers.

Attribution: an instance's 30d compute + LLM spend is split across its
bindings weighted by message_count (equal split when all zero). For
spawn-per-customer projects this is exact (one binding per instance);
for single/assign it's a fair proxy.

## Path parameters

- `project_id` string, required

## Response `200`

Successful Response

- unknown

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