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 Schema Contracts API

Manage schema contracts for providing filtered graph views to different consumers.

WunderGraph Schema Contracts 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 Schema Contracts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 10 JSON Schemas.

This API exposes 2 operations across 1 path, and defines 2 schemas. 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.

2 operations 1 paths 2 schemas 1 GET1 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 Schema Contracts 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 2

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

Schema Contracts 2

Manage schema contracts for providing filtered graph views to different consumers.

GET
/v1/schema-contracts
WunderGraph List schema contracts
listSchemaContracts 1 param → 200
POST
/v1/schema-contracts
WunderGraph Create a schema contract
createSchemaContract body → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are SchemaContract (9 properties), OperationResponse (2 properties). Each schema is shown below with its type and property counts.

OperationResponse
object
2 properties
SchemaContract
object
9 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wundergraph-schema-contracts-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 Router API
WunderGraph Subgraphs API