Audit Log - Web query and GraphQL query different results

Hi, I’m trying to set up a migration of data from GitHub to an archive - when I look at the API logs in the GitHub GUI I see lots, but when I use GraphQL with my own PAT I only seem to see actions that I’ve done myself. Is this by design or am I missing something?

Thanks!

Hi @atomray,

Thank you for being here! Your GraphQL personal access must have the admin:org scope, or full repo scope. As detailed in this post:

 GitHub blog post about the Audit log API:

Grant full permissions to the PAT for both the repository and admin:org