Schema
The GraphQL Schema is the overarching structure that defines the entire API.
The schema includes the root types (queries and mutations) that provide the entry point to get and modify information. It also describes the relationships between types, and specifies what you can do with the API.
With schemas, you can validate the exact composition of your requests, and know in advance exactly what you'll get back. The schema is always up to date, so it's your main point of reference to integrate Swan.
Explore the schema
Swan gives you several ways to browse and test the schema:
- API Explorer: an interactive playground to build and run queries against the live schema, with autocomplete and inline documentation.
- API Reference: the full, browsable reference for every type, query, and mutation.
- Introspection: query the schema itself to discover the types it supports.
- Postman collection: a ready-made collection for exploring the API from Postman.
- MCP servers: connect AI assistants to Swan's schema through the Model Context Protocol.