> ## Documentation Index
> Fetch the complete documentation index at: https://docs.techforgeinnovate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Credits

> Return the current credit balance for the account behind the API key.

# Get Credits

Returns the current credit balance for the authenticated account.

## Request

No path params, query params, or request body.

## Example request

```bash theme={null}
curl "https://api.techforgeinnovate.com/auth/credits" \
  -H "x-api-key: $TFI_API_KEY"
```

## Response

<ResponseField name="credits" type="number">
  Current credit balance for the API-key owner.
</ResponseField>

Example response:

```json theme={null}
{
  "credits": 1250
}
```

## Status codes

* `200 OK` when the key is valid
* `401 Unauthorized` when the key is missing or invalid
