Budget Limit Management
The UUID of the company.
Maximum number of items to return.
Number of items to skip.
A list of company budget limits.
1Server error.
Client error.
GET /v1/companies/{companyId}/budget_limits HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"company_uuid": "text",
"target_type": "company",
"target_uuid": "text",
"limit_type": "general",
"is_renewed": true,
"value": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
],
"total": 1
}The UUID of the company.
The target type of the budget limit (only team or user are supported).
The UUID of the target (team or user). Empty string for default budget
The type of budget limit.
Whether the budget limit is renewed periodically.
The budget limit value.
A single company budget limit.
The UUID of the company.
The target type of the budget limit. Only team or user are supported for new limits.
The UUID of the target (team or user).
The type of budget limit.
Whether the budget limit is renewed periodically.
The budget limit value.
When the budget limit was created.
When the budget limit was last updated.
Invalid request data.
PUT /v1/companies/{companyId}/budget_limits HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"target_type": "team",
"target_uuid": "text",
"limit_type": "general",
"is_renewed": true,
"value": 1
}{
"company_uuid": "text",
"target_type": "company",
"target_uuid": "text",
"limit_type": "general",
"is_renewed": true,
"value": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}The UUID of the company.
The target type of the budget limit (only team or user are supported).
The UUID of the target (team or user).
The type of budget limit.
Budget limit deleted successfully.
No content
Budget limit not found.
DELETE /v1/companies/{companyId}/budget_limits HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"target_type": "team",
"target_uuid": "text",
"limit_type": "general"
}No content
The UUID of the company.
A list of company budget limits.
1Invalid request data.
PUT /v1/companies/{companyId}/budget_limits/bulk HTTP/1.1
Host: api.nexos.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 120
{
"items": [
{
"target_type": "team",
"target_uuid": "text",
"limit_type": "general",
"is_renewed": true,
"value": 1,
"remove": true
}
]
}{
"items": [
{
"company_uuid": "text",
"target_type": "company",
"target_uuid": "text",
"limit_type": "general",
"is_renewed": true,
"value": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
],
"total": 1
}Last updated

