---
title: "Get project usage"
method: GET
path: "/v1/projects/{projectSlug}/usage"
tags: ["Projects"]
---

# Get project usage

`GET /v1/projects/{projectSlug}/usage`

Returns the credits one project spent in the current billing period, broken down by product area.

## Path parameters

- `projectSlug` string, required — Project slug (human-readable identifier)

## Response `200`

Current period usage for the project

- ProjectUsageResponse
  - `id` string, required — Stable project identifier.
  - `slug` string, nullable, required — Project slug. `null` when the project no longer exists.
  - `name` string, nullable, required — Project name. `null` when the project no longer exists.
  - `credits` integer, required — Credits the project spent during the period.
  - `categories` UsageCategory[], required — The project's credits by product area, largest first.
    - `category` 'traces' | 'flaggers' | 'signals' | 'behaviors' | 'annotations' | 'other', required — Product area the credits were spent on.
    - `credits` integer, required — Credits spent in this category during the period.
  - `period` object, required — Billing period the usage figures cover.
    - `start` string, required — ISO-8601 start of the current billing period.
    - `end` string, required — ISO-8601 end of the current billing period, exclusive.

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `404` — Not found

## Changes

- **2026-09-08** `f291f7101ba7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/latitude-dev/apis/latitude/changes/v1/projects/:projectSlug/usage/get.md)

---

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