Hi @Wang, Wei
As per my testing, to get the mail search folders, you can use beta to get mail search folders.
GET https://graph.microsoft.com/beta/me/mailFolders
Please note: APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Also, you can use List childFolder in v1.0 but in this case, you need to iterate through mailFolders where you have created search folder.
GET /me/mailFolders/{id}/childFolders
GET /users/{id | userPrincipalName}/mailFolders/{id}/childFolders
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.