How to use API for building search filter in Cloud JIRA service Desk

How to use API for building search filter in Cloud JIRA service Desk.
In customer portal there in no way to search documents based on specific filter. As we have thousands of documents to browse and if we want to have some sort of filter options like date of publication , document type , author name something like that.

Regards,
Nishant Nirmale.