Skip to main content

GraphQL

GraphQL - https://graphql.org - a query language that allows clients to mutate and fetch exactly (and only) the data that they need. All Mosaic Services expose their APIs as GraphQL APIs. GraphQL offers clients a type-safe way to consume the APIs.

In Mosaic, each service offers a GraphQL API out of the box, usually available under /graphql behind the service URL.

API documentations is available in the respective section of the service documentation.

All services follow the same authentication and authorization model when exposing GraphQL APIs - they all accept a Mosaic JWT in the Authorization header. See Authentication and Authorization for more details.