Paginated response from a sandbox list operation.
This structure supports cursor-based pagination for efficiently browsing large collections of sandboxes.
Opaque continuation token for retrieving the next page. null indicates no more pages available.
List of sandbox metadata objects for the current page
const response: SandboxListResponse = {
items: [
{ sandboxId: "sb_001", metadata: { status: "running" } },
{ sandboxId: "sb_002", metadata: { status: "stopped" } },
],
cursor: "eyJvZmZzZXQiOjEwMH0=",
};
// Fetch next page
const nextResponse = await provider.list({ cursor: response.cursor });