Hello Oleh Pedan,
Try the following. It has the file name and its ID properties, using which you can try retrieving the definitions. https://graph.microsoft.com/beta/deviceManagement/groupPolicyUploadedDefinitionFiles?$select=id,fileName
Also, refer to: https://learn.microsoft.com/en-us/graph/api/resources/intune-grouppolicy-grouppolicyuploadeddefinitionfile?view=graph-rest-beta
Hope this helps!
If you found the information above helpful, please Click Yes. This will assist others in the community who encounter a similar issue, enabling them to quickly find the solution and benefit from the guidance provided.