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
requerido
Enum:
application/jsonstring
requerido
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
string
requerido
Sub-user account ID.
string
requerido
API Key ID.
Response Parameters
bool
requerido
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
}
Última modificación el 15 de mayo de 2026