---
title: "Current-period copilot usage rollup"
method: GET
path: "/api/copilot/usage"
tags: ["Copilot"]
---

# Current-period copilot usage rollup

`GET /api/copilot/usage`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/copilot/usage`
- Auth: API key in cookie `luca.session_token`

Ask Luca consumption for the current billing period: included units used, units left in top-up packs, overage units and what they cost, and the overage cap in force. A coach who set their own cap keeps it. The tier default only fills in for someone who never did.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- CopilotUsageResponse
  - `periodStart` string, required
  - `includedUsed` integer, required
  - `includedLimit` integer, required
  - `packsRemaining` integer, required
  - `overageUsed` integer, required
  - `overageCostCents` integer, required
  - `overageCapCents` integer, required
  - `overageEnabled` boolean, required
  - `costMtdUsd` number, required

## Other responses

- `401`: unauthorized
- `429`: rate limited
- `503`: service unavailable

---

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