[bt_bb_section layout=”boxed_1200″ lazy_load=”yes” show_boxed_content=”no” allow_content_outside=”no”][bt_bb_row][bt_bb_column lazy_load=”yes” highlight=”no” align_to_edge_column=”no” width=”1/1″][bt_bb_text]
AnalyticsOS Analytics Results REST API achieves pagination through limit and offset parameters. In practical terms, this means that the API will by default return up to 50 evaluation records, and the user can change this to 100 by passing in a limit parameter in the GET request.
A common pattern for clients is:
- Perform GET request with limit X and offset 0
- If more than X records are returned, add X to offset amount and perform GET request again
- Repeat step 2 until less than X records are returned
This allows the client to pull all records in manageable chunks without missing data.