Query Parameters
Use the following query parameters to control the results returned in a list.| Parameter | Default | Max | Description |
|---|---|---|---|
limit | 25 | 100 | A limit on the number of objects to be returned. |
offset | 0 | - | A cursor for use in pagination. Offset skips the first N results. |
Example Request
Response Structure
List responses always return an object with adata array and a has_more boolean.
Attributes
| Attribute | Type | Description |
|---|---|---|
data | array | The list of resources requested. |
has_more | boolean | true if there are more results available beyond this page. |
Best Practices
Iterating through all results
To fetch every resource in a list, start withoffset=0 and increment the offset by your limit until has_more returns false.
Default Sorting
Unless otherwise specified, Bota returns lists sorted bycreated_at in descending order (newest first).
