Is this possible to search for content in the Trash and in the Archived Pages section through the REST API using CQL?


We have a use case where it would be beneficial if the /content/search endpoint in the Confluence Cloud REST API which supports CQL queries would also search among deleted contents (in the trash) and among archived pages.

For example, “give me the pages that are in the trash and their title includes FOOBAR”.

  1. Is this possible? Or, that end-point will never search in those 2 areas. (I couldn’t make it search and the doc doesn’t suggest it’s possible, but it could save me a bunch of work if it would.)
  2. If not, then is there a workaround (another end-point or some trick, whatever)?