Limits

Flux API has various limits to ensure optimal performance and prevent abuse. Understanding these limits helps you design efficient applications and handle edge cases appropriately.

Request Limits

LimitValueDescription
Results per request50Maximum number of resources returned in a single request
Request timeout60 secondsMaximum time allowed for request processing
Response size5 MBMaximum size of API response payload
Authentication timeout10 minutesMaximum time difference allowed for secure authentication timestamps

Search & Query Limits

LimitValueDescription
Join folders3Maximum number of folders that can be joined in a single query
Population depth3 levelsMaximum nesting depth for resource population (e.g., author.company.address)
Full text search query length1,000 charactersMaximum length for find_text and find_phrase queries
Typo tolerance0-2Range of allowed typos in full-text search

Pagination Limits

LimitValueDescription
Maximum results per page50Maximum number of results per page

URL & Browser Limits

LimitValueDescription
URL length~2,048 charactersTypical browser URL length limit (affects List Resources with complex queries)

Error Responses for Limit Violations

When limits are exceeded, Flux API returns specific error codes:

Request Timeout (408)

{
  "message": "Request timeout",
  "error_code": "request_timeout",
  "detail": null
}

Response Size Exceeded (413)

{
  "message": "Response size exceeded",
  "error_code": "max_response_size_exceeded",
  "detail": null
}

Too Many Join Folders (422)

{
  "message": "Too many folders in join",
  "error_code": "too_many_join_folders",
  "detail": null
}

Rate Limit Exceeded (429)

{
  "message": "Rate limit exceeded",
  "error_code": "rate_limit_exceeded",
  "detail": null
}

Was this page helpful?