Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Start for Free
You're viewing documentation for a previous version of this software. Switch to the latest stable version.

Apollo Workbench


Apollo Workbench is a VS Code extension that helps you design and reason about your organization's without writing any server code.

Currently, Workbench is especially useful for working on federated . Whether you're creating a new graph or making changes to an existing one, Workbench helps you understand how your graph composes throughout the design process.

Get started

Create graphs

Build graphs from scratch

Quickly create a new design and start adding :

Creating a Workbench design from scratch

Import graphs from Studio

After authenticating Workbench with Apollo Studio, you can create local Workbench designs that are based on any Studio graph you have access to:

Creating a Workbench design from Studio

See Importing a Studio graph into Workbench.

View supergraph and API schemas

As soon as you have a design that successfully composes, you can view its and :

Viewing a supergraph schema in Workbench

These schemas update as you make changes to your .

Create operations

Build operations from scratch

Workbench provides intelligent code completion to help you write against your design:

Creating a new operation in Workbench

Import operations from Studio

After authenticating Workbench with Apollo Studio, you can import operations that have been executed against any graph you have access to:

Query plan view

See Importing operations.

View query plans

You can view the that the gateway uses to route each based on your subgraph schemas:

Query plan view

Your design must compose successfully to be able to view query plan details.

Debug your graph

See composition errors in-line

Any errors in your design are displayed in both the VS Code editor and the Problems panel. This helps you understand conflicts and resolve them before writing any server code for your subgraphs:

In-line composition error info

Run locally with mocks

See Testing designs locally.

Export your designs

See Exporting Workbench designs.

Ready to try it out? Continue to Setup.

Subgraph specification
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy