How to get repository workflow permissions using API?

Hi,

im trying to reach the selected two sections in the attached picture, using github API / graphql.
under repository actions settings:
1- fork pull request workflows
2- workflow permissions

i didnt find any way to receive this information.
I would appreciate your help if anyone knows how to do it / whats the relevant API.

Thanks