a6-recipe-graphql-proxy
Installation
SKILL.md
a6-recipe-graphql-proxy
Overview
APISIX provides built-in GraphQL support through three variables that let you route and apply policies based on GraphQL query content — without parsing GraphQL yourself:
| Variable | Description | Example Value |
|---|---|---|
graphql_name |
Operation name from the query | "getUser" |
graphql_operation |
Operation type | "query", "mutation" |
graphql_root_fields |
Top-level fields requested | ["user", "orders"] |
These variables are extracted automatically from POST requests with
Content-Type: application/json or application/graphql, and from GET
requests with a query parameter.