---
title: "Check Credit Threshold"
method: GET
path: "/credits/threshold"
tags: ["credits"]
---

# Check Credit Threshold

`GET /credits/threshold`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/credits/threshold`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Check if user has hit credit thresholds (80%, 95%, 100%).

Useful for showing warnings/alerts in the UI.

Returns:
    Credit information with threshold alert if applicable

## Response `200`

Successful Response

- CreditThresholdResponse: Credit threshold alert information.
  - `user_id` string, required
  - `subscription_tier` string, required
  - `credits_total` integer, required
  - `credits_used` integer, required
  - `credits_remaining` integer, required
  - `percentage_used` number, required
  - `credits_reset_at` string, nullable, required
  - `threshold` string, nullable: warning, critical, or depleted
  - `message` string, nullable: User-facing message

---

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