---
title: "Retrieve your monthly usages"
method: GET
path: "/usages"
tags: ["Usage"]
---

# Retrieve your monthly usages

`GET /usages`

## Request

- Base URL: `https://api.sinay.ai/co2/api/v2`
- URL: `https://api.sinay.ai/co2/api/v2/usages`
- Auth: API key in header `API_KEY`

The endpoint allows you to retrieve your monthly usages of the API

## Query parameters

- `startTime` string, date-time
- `endTime` string, date-time

## Response `200`

The monthly usages

- UsagesResponse
  - `allCalls` integer, required
  - `successCalls` integer, required
  - `clientErrorCalls` integer, required
  - `serverErrorCalls` integer, required
  - `consumedApiUnits` integer, required
  - `periodicUsages` PeriodicUsages

## Other responses

- `401`: The authentication failed
- `500`: An error occurend on server side
- `default`: default

---

[API](https://skmtc.dev/safecube/apis/api-co2-emission.md) - [All operations](https://skmtc.dev/safecube/apis/api-co2-emission/llms.txt) - [OpenAPI document](https://skmtc.dev/safecube/apis/api-co2-emission/revisions/b5f66c9995d3?raw)
