I'm attempting to search for pages in a personal space with date filtering using the Confluence REST API on Cloud, but I'm getting empty results with all approaches I've tried.
Note: spaceKey refers to the personal space key.
What works on Data Center:
<span>GET /rest/api/content/search?cql=type=page AND space="~spaceKey" AND lastModified > "2026-02-01"</span>
This works perfectly on Data Center.
What I've tried on Cloud (all fail with empty results):
- Using
cqlcontext:
<span>/wiki/rest/api/content/search?cql=type="page" AND lastModified > "2026-02-01"&cqlcontext={"spaceKey":"~spaceKey"}</span>- Using
/search endpoint:
<span>/wiki/rest/api/search?cql=type=page AND space="~spaceKey" AND lastModified > "2026-01-02"</span>
- Using
space in CQL:
<span>/wiki/rest/api/content/search?cql=space="~spaceKey" AND type="page" AND lastModified > "2026-02-01"</span>
Could someone help me understand what I might be missing to make personal space search work on Cloud? Any guidance on the correct approach would be greatly appreciated.
Thanks in advance!