Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WunderGraph Router API

Manage router configuration and authentication tokens.

WunderGraph Router API is one of 10 APIs that WunderGraph publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 10 JSON Schema definitions.

Tagged areas include Router. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 10 JSON Schemas.

This API exposes 3 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://cosmo-cp.wundergraph.com.

3 operations 2 paths 1 schemas 1 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Server
https://cosmo-cp.wundergraph.com
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

WunderGraph Router API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (apiKey).

  • apiKey — API key for authenticating with the Cosmo Platform API. Obtain via Cosmo Studio or wgc CLI. Set as COSMOAPIKEY environment variable.

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 1 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Router 3

Manage router configuration and authentication tokens.

POST
/v1/router/compose
WunderGraph Compose router configuration
composeRouterConfig body → 200
GET
/v1/router/tokens
WunderGraph List router tokens
listRouterTokens 2 params → 200
POST
/v1/router/tokens
WunderGraph Create a router token
createRouterToken body → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is RouterToken (4 properties). Each schema is shown below with its type and property counts.

RouterToken
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wundergraph-router-api-openapi.yml Raw ↑

Other APIs WunderGraph publishes across the network.

WunderGraph Analytics API
WunderGraph API Keys API
WunderGraph Feature Flags API
WunderGraph Feature Subgraphs API
WunderGraph Federated Graphs API
WunderGraph Monographs API
WunderGraph Namespaces API
WunderGraph Schema Contracts API
WunderGraph Subgraphs API