> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# apiUsage

> Shows your account's usage in the current billing period against your plan quota. Free to call, even when the account is over its limit.

## GraphQL

```
type Query {
  apiUsage: ApiUsage!
}

enum ApiUsageUnit {
  COMPUTE_UNITS
  REQUESTS
}

type ApiUsageBreakdown {
  query: String!
  mutation: String!
  subscription: String!
  webhook: String!
}

type ApiUsage {
  unit: ApiUsageUnit!
  periodStart: Int!
  periodEnd: Int!
  used: String!
  limit: String
  remaining: String
  percentUsed: Float
  breakdown: ApiUsageBreakdown!
  updatedAt: Int
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.