Stream api doesn't return cursor

I have that code

// Fetch videos from Cloudflare Stream
async function fetchVideos() {
	console.log('Fetching videos from Cloudflare Stream...');
	const response = await axios.get(streamApiUrl, {
		headers: {
			Authorization: `Bearer ${process.env.CLOUDFLARE_BEARER_TOKEN}`,
			'Content-Type': 'application/json',
		},
	});

	console.log('response: ', response.data);

	console.log(`Fetched ${response.data.result.length} videos.`);
	return response.data.result;
}

it returns 1000 videos. I have 1700 in my account. How can I request all of them? Docs doesn’t say anything about it. Forum says I need to use cursor but there is no cursor in the response. How should I paginate ??

this is response I get.
image

this is what I did to get all my videos - I requested them day by day which is ugly but worked.

// Main function
async function main() {
	let videos = [];

	// Loop through the dates
	for (let day = 18; day <= 27; day++) {
		const start = `2023-07-${day < 10 ? '0' + day : day}T00:00:00Z`;
		const end = `2023-07-${day < 9 ? '0' + (day + 1) : day + 1}T00:00:00Z`;

		const dailyVideos = await fetchVideos(start, end);
		videos = [...videos, ...dailyVideos];
	}

	console.log(`Fetched a total of ${videos.length} videos.`);

	await createVideoPosts(videos);
}

main().catch(console.error);
// Cloudflare Stream API URL
const streamApiUrl = `https://api.cloudflare.com/client/v4/accounts/${process.env.CLOUDFLARE_ACCOUNT_ID}/stream`;

async function fetchVideos(start, end) {
	console.log('Fetching videos from Cloudflare Stream...');
	const response = await axios.get(`${streamApiUrl}?start=${start}&end=${end}`, {
		headers: {
			Authorization: `Bearer ${process.env.CLOUDFLARE_BEARER_TOKEN}`,
			'Content-Type': 'application/json',
		},
	});

	console.log(`Fetched ${response.data.result.length} videos.`);
	return response.data.result;
}