Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
User ID
Response
200
curl --request GET \
--url https://api.intelligence.io.solutions/api/r2r/v3/users/{id}/limits \
--header 'Authorization: Bearer <token>'
{
"results": {
"storage_limits": {
"chunks": {
"limit": 1,
"used": 1,
"remaining": 1
},
"documents": {
"limit": 1,
"used": 1,
"remaining": 1
},
"collections": {
"limit": 1,
"used": 1,
"remaining": 1
}
},
"system_defaults": {
"global_per_min": 1,
"monthly_limit": 1,
"route_per_min": 1
},
"user_overrides": {
"key": "value"
},
"effective_limits": {
"global_per_min": 1,
"monthly_limit": 1,
"route_per_min": 1
},
"usage": {
"global_per_min": {
"used": 1,
"limit": 1,
"remaining": 1
},
"monthly_limit": {
"used": 1,
"limit": 1,
"remaining": 1
},
"routes": {
"key": {
"route_per_min": {
"used": 1,
"limit": 1,
"remaining": 1
},
"monthly_limit": {
"used": 1,
"limit": 1,
"remaining": 1
}
}
}
}
}
}
Return the system default limits, user-level overrides, and final “effective” limit settings for the specified user.
curl --request GET \
--url https://api.intelligence.io.solutions/api/r2r/v3/users/{id}/limits \
--header 'Authorization: Bearer <token>'
{
"results": {
"storage_limits": {
"chunks": {
"limit": 1,
"used": 1,
"remaining": 1
},
"documents": {
"limit": 1,
"used": 1,
"remaining": 1
},
"collections": {
"limit": 1,
"used": 1,
"remaining": 1
}
},
"system_defaults": {
"global_per_min": 1,
"monthly_limit": 1,
"route_per_min": 1
},
"user_overrides": {
"key": "value"
},
"effective_limits": {
"global_per_min": 1,
"monthly_limit": 1,
"route_per_min": 1
},
"usage": {
"global_per_min": {
"used": 1,
"limit": 1,
"remaining": 1
},
"monthly_limit": {
"used": 1,
"limit": 1,
"remaining": 1
},
"routes": {
"key": {
"route_per_min": {
"used": 1,
"limit": 1,
"remaining": 1
},
"monthly_limit": {
"used": 1,
"limit": 1,
"remaining": 1
}
}
}
}
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
User ID
200
Show child attributes
Was this page helpful?