Page Through All Examples in a Dataset

A dataset can contain thousands of examples. To make life easier, use the offset and count query parameters to page through them.
  • offset—Index of the example from which you want to start paging. Optional.
  • count—Number of examples to return. Optional.
If you omit the count parameter, the call returns 100 examples by default. If you omit the offset parameter, paging starts at 0. This cURL command gets the first 50 examples from the specified dataset.
curl -X GET -H "Authorization: BEARER <TOKEN>" -H "Cache-Control: no-cache" "https://api.metamind.io/v1/vision/datasets/<DATASET_ID/examples?offset=0&count=50