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

# Retrieve your monthly usages

`GET /usages`

## Request

- Base URL: `https://api.sinay.ai/ports-intelligence/api/v1`
- URL: `https://api.sinay.ai/ports-intelligence/api/v1/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`: Authentication information is missing or invalid
- `500`: Internal server error
- `default`: default

---

[API](https://skmtc.dev/safecube/apis/safecube-ports-intelligence-api.md) - [All operations](https://skmtc.dev/safecube/apis/safecube-ports-intelligence-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safecube/apis/safecube-ports-intelligence-api/revisions/2174dfde250f?raw)
