About searching in the Confluence cloud API

I’m using the API in my Confluence cloud automation.

Immediately after creating a page at “wiki/rest/api/conten”,
When I search for that page with “wiki/rest/api/content/search?cql=” it is not found. It is possible to find it after some processing, not immediately. Should there be a time interval after creation?
If you use the following query instead of cql,
No such problem occurs.