List apps
client.apps.list() returns a page of apps (cursor-style pagination). Choose an approach below based on how much control you need over paging.
One page at a time
Use this when you build UI with Next/Previous, tables, or APIs that expose one page per request. You call list() for each screen, read page.data, and pass startingAfter / starting_after when hasMore / has_more is true.
Collect a bounded set
Use this when you only need up to N apps and do not want to write the paging loop yourself. In JavaScript, chain autoPagingToArray({ limit: N }) on list() — the SDK fetches pages until it reaches your cap or runs out of apps. In Python, use Stream every app below and stop after N items if you need a cap.
Stream every app
Use this for scripts, exports, or sync jobs when you want to walk the full list. The SDK keeps requesting pages until there are no more results. In JavaScript use for await; in Python, iterate the object returned by list().
Source: stackmachine/sdks examples.