Skip to main content
GET
/
api
/
r2r
/
v3
/
users
/
{id}
/
limits
Fetch User Limits
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
          }
        }
      }
    }
  }
}
Only superusers or the user themself may fetch these values.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

User ID

Response

200

results
object
I