InsionInsion
Python

List records

Retrieve records for the authenticated organization

page = client.list_records(limit=20, entity="post", status="Flagged")

All arguments are optional. Filter with client_id, user, entity, or status. Use starting_after or ending_before for cursor pagination; never send both in one call.

page = client.list_records(limit=100)
while True:
    for record in page.data:
        process_record(record)
    if not page.has_more:
        break
    page = client.list_records(limit=100, starting_after=page.data[-1].id)

The result is ListRecordsResponse, which contains data and has_more.