We're updating how pagination works across the Daytona API, CLI, and SDKs. It's a one-time change, and we want to give you plenty of runway.
What's changing: The offset-based page parameter and the /api/sandbox/paginated endpoint are being replaced by cursor-based pagination. Cursor pagination is faster and stays consistent as data changes underneath you — no skipped or duplicated results when sandboxes are created or removed mid-listing.
The deadline: The deprecated endpoint and page parameter stop working on June 25, 2026.
Who needs to act: Anyone on an SDK or CLI version below v0.180.0. If you're already on v0.180.0 or newer, you're on cursor-based pagination and there's nothing to do.
Migrating your stack
Each migration is small — drop the page argument, and list() now returns an iterator that handles paging for you. Find your language below.
API
Before
After
The response includes the next cursor — pass it back in to fetch the following page.
CLI
Before
After
Python SDK
Before
After
TypeScript SDK
Before
After
Go SDK
Before
After
Ruby SDK
Before
After
Java SDK
Before
After
Before you go
Upgrade to v0.180.0 or newer whenever it suits your schedule before June 25. Once you're on it, you're set going forward — no further changes needed.
Questions? Reach us at support@daytona.io or the in-dashboard chat.