Get oriented to the Cosmo router, the GraphQL CDN, and Studio
| Component | What it does | Dev URL |
|---|---|---|
| Cosmo router | Stateless API gateway that serves frontends and proxies the graph to backends | https://eu-west-1-cosmo-router-dev.carbyneapi-dev.com/graphql |
| GraphQL CDN | Static registry of the graph's schema (see Routing URLs) | https://graphql-cdn.prepared911.dev |
| Cosmo Studio | Developer platform for inspecting the graph, compositions and checks | https://studio.prepared911.dev |
| Cosmo router control plane | Receives metrics, manages routers, composes the graph and updates the CDN | https://cosmo.prepared911.dev |
| NATS | Horizontal pub/sub for event-driven federation (EDFS, Cosmo Streams) | Internal |
yourStuff route to
http://your-service.namespace/graphql. Where the dev router gets these URLs
is open; see Routing URLs.yourStuffUpdated(id:)) to its local router. The router publishes it through
NATS to fan out to the other routers, and handles fan-out and authorization.
Whether services should publish to NATS directly instead is an open question.
See Real-time data and WebSockets.prepared-claims claim
and prepared_user_id. A Doorkeeper token gets a 401. This is not yet verified
end to end.
apps/responder/public/config/appConfig.json is
empty, so it does not set MUNDI_GRAPHQL_URL.MUNDI_GRAPHQL_URL when it is set,
but no console screen runs a query against it.@prepared911/data-gql from the composed client schema. Then follow
the existing GraphQL guides for operations and code generation.| Credential or session | What it authorizes | Where it belongs |
|---|---|---|
| Studio SSO | Studio features | Your browser session |
wgc auth login | A human's interactive CLI administration session (Keycloak device flow) | Your local terminal after loading .env.wgc |
| Carbyne Keycloak access token | An end-user request to the Cosmo router and its subgraphs | An ephemeral Authorization request header |
COSMO_API_KEY | Non-interactive schema fetch and check; CI publication is planned | The approved CI secret store only |
GRAPH_API_TOKEN | Router access to the Cosmo control plane and CDN | The router runtime Secret only |
pnpm schema:sync, never from a local AxonMundi checkout. See
Sync only from the registry.