Homepage

admin_graphql_create

Last edit: Nov 10, 2026

Creates a stored GraphQL query or mutation that can be run with the graphql
tag. Never updates an existing one: raises a validation error if one with the
same name already exists or if the body is not valid GraphQL

admin_graphql_create(
  graphql: GraphqlInputType!
): GraphQL

Arguments

graphql (GraphqlInputType)

Attributes of the new query

Type

GraphQL

GraphQL query or mutation stored in the instance (app/graphql), returned by the admingraphql* mutations

Questions?

We are always happy to help with any questions you may have.

contact us