---
title: "Get AI credits"
method: GET
path: "/me/credits"
tags: ["Me"]
---

# Get AI credits

`GET /me/credits`

## Request

- Base URL: `https://api.mockflow.com/v1`
- URL: `https://api.mockflow.com/v1/me/credits`
- Auth: HTTP bearer

The AI credit wallet and the Mida message quota, both metered per workspace and reset monthly.

## Response `200`

OK

- Credits
  - `remaining` integer
  - `total` integer
  - `messages` object, nullable: The Mida message quota, a second counter the product enforces.
    - `remaining` integer
    - `total` integer
  - `resetsAt` string, date-time
  - `canGenerate` boolean: False on Basic, which cannot spend model time through the API.

## Other responses

- `429`: Too many requests.
- `4XX`: An error. See the envelope and the code list on the Errors page.

---

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