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
}
Team Budget
Check If API Key Budget Is Sufficient
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
string
requis
Enum:
application/jsonstring
requis
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
string
requis
Sub-user account ID.
string
requis
API Key ID.
Response Parameters
bool
requis
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
}
Dernière modification le 15 mai 2026