API Reference
Limits
Check workspace limits and current usage.
Limits
Check your workspace limits and current usage.
Get Workspace Limits
GET
/v1/limitsGet your current tier limits and nerfing rules.
Response
{
"data": {
"tier": "pro",
"rateLimitRpm": 60,
"nerfingRules": []
}
}Response Fields
Prop
Type
Example
curl https://api.assistantrouter.com/v1/limits \
-H "Authorization: Bearer $API_KEY"const response = await fetch('https://api.assistantrouter.com/v1/limits', {
headers: {
Authorization: `Bearer ${process.env.API_KEY}`,
},
});
const { data } = await response.json();
console.log(`Tier: ${data.tier}, RPM: ${data.rateLimitRpm}`);Get Tier Information
GET
/v1/limits/tiersGet information about all available tiers and their limits.
Response
{
"data": {
"tiers": {
"free": {
"rateLimitRpm": 5,
"maxAssistants": 1,
"removeBranding": false
},
"hobby": {
"rateLimitRpm": 10,
"maxAssistants": 2,
"removeBranding": false
},
"pro": {
"rateLimitRpm": 60,
"maxAssistants": 10,
"removeBranding": true
},
"team": {
"rateLimitRpm": 300,
"maxAssistants": -1,
"removeBranding": true
},
"enterprise": {
"rateLimitRpm": -1,
"maxAssistants": -1,
"removeBranding": true
}
}
}
}Response Fields
Prop
Type
Tier Comparison
| Feature | Hobby | Pro | Team | Enterprise |
|---|---|---|---|---|
| Assistants | 2 | 10 | Unlimited | Unlimited |
| Requests/min | 10 | 60 | 300 | Unlimited |
| Remove Branding | No | Yes | Yes | Yes |
Understanding Limits
Unlimited Values
A value of -1 indicates no limit. For example, maxAssistants: -1 means unlimited assistants.
Rate Limit Headers
Every API response includes rate limit headers:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 55
X-RateLimit-Reset: 1704067260When you exceed a rate limit, the API returns a 429 Too Many Requests error with a Retry-After header.