Page relations API not working

Hello,
Has anyone used successfully the API to retrieve to and from page relations?
It keeps on returning empty arrays to me.
https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation/

Thanks

	async function pageLinksOut(pageId) {
		// console.log(pageId);
		const response = await api
			.asApp()
			.requestConfluence(
				route`/wiki/rest/api/relation/link/from/content/${pageId}/to/content`,
				{
					headers: {
						Accept: "application/json",
					},
				}
			);

		// console.log(`Response: ${response.status} ${response.statusText}`);
		const myResponse = await response.json();
		console.log(myResponse.results);

		return myResponse.results;
	}