Benchling

Pagination

Endpoints that support pagination use page tokens to paginate. An endpoint that supports pagination will respond with nextToken:

GET /assay-results

{
    "results": [...],
    "nextToken": "W3sidmFsdWUiOiAiMjAxNy0wNC0xOFQwMjo1OTowMy41MzMxNzAiLCAiX19iZW5jaGxpbmdUeXBlIjogImRhdGV0aW1lIn0sICIwMTIyNTNiMi1lM2U3LTQ2NzAtYmM0OC1jZTU5NmQ1ZmMwMWEiXQ=="
}

nextToken will be "" if there is no next page, and a non-empty string otherwise. Pass this as nextToken in your next request to pick up where you left off. You can also include pageSize to control how many results are returned:

GET /assay-results?pageSize=2&nextToken=W3sidmFsdWUiOiAiMjAxNy0wNC0xOFQwMjo1OTowMy41MzMxNzAiLCAiX19iZW5jaGxpbmdUeXBlIjogImRhdGV0aW1lIn0sICIwMTIyNTNiMi1lM2U3LTQ2NzAtYmM0OC1jZTU5NmQ1ZmMwMWEiXQ==

{
    "results": [...],
    "nextToken": ""
}

Pagination


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.