Files
directus/docs/reference/api/query/limit.md
2020-12-09 19:31:16 -05:00

472 B

Limit

Using limit can be set the maximum number of items that will be returned. You can also use -1 to return all items, bypassing the default limits. The default limit is set to 100.

Examples

# Returns a maximum of 10 items
?limit=10

# Returns an unlimited number of items
?limit=-1

::: warning Fetching unlimited data may result in degraded performance or timeouts, use with caution. :::