init_graphql_request

Action that executes when a GraphQL Request begins. This is a great place for plugins to hook in and modify things that should only occur in the context of a GraphQL Request. The base class hooks into this action to kick off the schema creation, types are not set up until this action has run.

do_action( 'init_graphql_request' );

Source

File: wp-graphql/src/Request.php