Homepage

UpdateGraphqlInputType

Last edit: Oct 13, 2026

Attributes of a stored GraphQL query to change; omitted attributes keep their current value

type UpdateGraphqlInputType {
  body: String
  metadata: HashObject
  path: String
  physical_file_path: String
}

Fields

body (String)

GraphQL document of the query or mutation; it must be valid against the schema

metadata (HashObject)

Arbitrary JSON data stored with the query; replaces the existing metadata

path (String)

Ignored

physical_file_path (String)

New path of the file the query is stored as. Must be under graphql/ (or
legacy graph_queries/), optionally prefixed with
modules/<module_name>/public/ or modules/<module_name>/private/. The query
name is not changed

Questions?

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

contact us