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

# Check If API Key Budget Is Sufficient

## Request Headers

**Content-Type** `string` *required*

Enum: `application/json`

**Authorization** `string` *required*

Bearer authentication format, for example: Bearer \{\{API Key}}.

## Request Body

**member\_id** `string` *required*

Sub-user account ID.

**key\_id** `string` *required*

API Key ID.

## Response Parameters

**enough** `bool` *required*

Whether the API Key's budget is sufficient.

```bash theme={"system"}
curl --request POST \
  --url https://api.novita.ai/openapi/v1/user/team/check-key-budget \
  --header 'Authorization: Bearer <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{"member_id": "<string>", "key_id": "<string>"}'
```

```json 200 theme={"system"}
{
  "enough": true
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.