list endpoint to list the IDs of records in an index namespace. You can list the IDs of all records in a namespace or just the records with a common ID prefix.
Using list to get record IDs and not the associated data is a cheap and fast way to check upserts.
list endpoint is supported only for serverless indexes.namespace parameter:
list endpoint to list all of the records with the common prefix. For more details, see Use structured IDs.
list endpoint returns up to 100 IDs per page at a time by default. If the limit parameter is passed, list returns up to that number of IDs per page instead. For example, if limit=3, up to 3 IDs be returned per page. Whenever there are additional IDs to return, the response also includes a pagination_token for fetching the next page of IDs.
list paginates automatically.
list_paginated().
pagination_token:
pagination_token: