curl --request POST \
--url https://api.novita.ai/openapi/v1/user/team/check-budget-by-cost \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Content-Type: application/json' \
--data '{"member_id": "<string>", "cost": 10000}'
{
"enough": true
}
Team Budget
Check If Member Budget Is Sufficient for a Given Cost
POST
/
openapi
/
v1
/
user
/
team
/
check-budget-by-cost
curl --request POST \
--url https://api.novita.ai/openapi/v1/user/team/check-budget-by-cost \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Content-Type: application/json' \
--data '{"member_id": "<string>", "cost": 10000}'
{
"enough": true
}
Request Headers
string
vereist
Enum:
application/jsonstring
vereist
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
string
vereist
The sub-user account ID of the member to check.
int64
vereist
The cost amount to be deducted, in units of 1/10000 USD (e.g.,
10000 = $1.00).Response Parameters
bool
vereist
Whether the member’s remaining budget is sufficient to cover the given cost (i.e., remaining balance is greater than or equal to the specified cost).
curl --request POST \
--url https://api.novita.ai/openapi/v1/user/team/check-budget-by-cost \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Content-Type: application/json' \
--data '{"member_id": "<string>", "cost": 10000}'
{
"enough": true
}
Laatst gewijzigd op 10 augustus 2026