Skip to main content
POST
/
openapi
/
v1
/
user
/
team
/
check-key-budget
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>"}'
{
  "enough": true
}

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.
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>"}'
{
  "enough": true
}