Screening – Updated
The endpoints that return the matches of an entity and the entities of a batch can now return their results in pages, so very large result sets no longer fail because the response is too large. Paging is optional.
To get the results in pages, send the optional paginationToken query parameter with the value start to get the first page. Every response includes a paginationToken field: send its value as paginationToken on the next request to get the next page, and continue until it is null, which marks the last page. Each page holds up to 5 MB of results, and the server decides how many items fit in a page. A paginationToken is only valid for the batch (and, for matches, the entity and returnMaterialMatches value) it was issued for, and an invalid or mismatched token returns 400.
A request without paginationToken returns the full list as before, and the paginationToken field in the response is null. If that full response is too large to be returned, the endpoint now returns 413 instead of failing with a server error. Clients that expect large results should use paginationToken.