---
title: "Retrieve all credit consumption periods"
method: GET
path: "/consumption/periods"
tags: ["Consumption"]
---

# Retrieve all credit consumption periods

`GET /consumption/periods`

## Response `200`

The consumption periods

- ConsumptionPeriod[]
  - `id` string, uuid, required — Unique identifier of the consumption period
  - `credits` integer, required — Remaining credits
  - `creditsInitial` integer, required — Credits allocated at the start of the period
  - `periodStart` string, date-time, required — Start of the period
  - `periodEnd` string, date-time, required — End of the period
  - `expired` boolean, required — Whether this period has expired

## Other responses

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

---

[API](https://skmtc.net/safecube/apis/api-container-tracking.md) · [All operations](https://skmtc.net/safecube/apis/api-container-tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/safecube/api-container-tracking/versions/e74a670ab7a5/schema)
