GraphQL Explorer

The GraphQL Explorer is an interactive query editor built into the Guardrails console. It lets you run GraphQL queries and mutations against your workspace data, browse the API schema, and iterate on queries in real time.

Access it by clicking Developers in the sidebar -- the GraphQL Explorer tab is the default view.

GraphQL Explorer showing the query editor, schema explorer, and results panel

Query Editor

The left panel is where you write your GraphQL queries. It provides syntax highlighting and auto-completion to help you build queries quickly. Type a query, then click Execute (or press the play button) to run it. Results appear in the response panel below.

For example, to list all S3 buckets in your workspace:

{
  resources(filter: "resourceTypeId:'tmod:@turbot/aws-s3#/resource/types/bucket'") {
    items {
      title
      turpikeId: turbot { id }
    }
  }
}

Schema Explorer

The Explore panel on the right lets you browse the full Guardrails GraphQL schema. Click any query, mutation, or type to see its definition, arguments, and return fields. Use this to discover what data is available and how to structure your queries.

Toggle between Query and Mutation modes to explore read operations and write operations separately.

History

The History tab stores previously executed queries so you can revisit, modify, and re-run them. This is useful when iterating on a query or when you need to re-run a query from an earlier session.

Tips