---
title: "Get My Usage"
method: GET
path: "/api/v1/enterprise/me/usage"
tags: ["Enterprise"]
---

# Get My Usage

`GET /api/v1/enterprise/me/usage`

## Request

- Base URL: `https://api.gemina.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemina.co/api/v1/enterprise/me/usage`
- Auth: OAuth 2 (password, token URL `token`)

## Query parameters

- `from_date` string, date, nullable
- `to_date` string, date, nullable
- `period` 'yesterday' | 'today' | 'last7d' | 'last30d' | 'this_month' | 'prev_month'

## Response `200`

Successful Response

- UsageSummaryOutDTO
  - `createdAt` string, date-time, nullable
  - `createdAtTimestamp` number, nullable
  - `contractId` string, uuid, required
  - `periodStart` string, date-time, nullable
  - `periodEnd` string, date-time, nullable
  - `totalUsageCents` integer
  - `lineItems` UsageLineItemOutDTO[]
    - `createdAt` string, date-time, nullable
    - `createdAtTimestamp` number, nullable
    - `operationType` 'header' | 'line_item' | 'template' | 'ocr' | 'filetag' | 'index' | 'chat' | 'storage', required
    - `modelType` 'gemina' | 'google' | 'openai' | 'velox' | 'praetorian' | 'invictus', required
    - `featureType` 'basic' | 'thinking' | 'evaluation' | 'correction', required
    - `units` integer
    - `totalCostCents` integer
    - `totalBeforeDiscountCents` integer
    - `totalDiscountCents` integer

## Other responses

- `422`: Validation Error

---

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