Cosmic JS GraphQL API

Welcome to the Cosmic JS GraphQL documentation. Learn about all of the features and methods to perform queries and mutations on your Bucket content.

The API is fully CRUD capable, allowing you to perform Create, Read, Update, and Delete requests to your Cosmic JS Buckets.

API Endpoint

All queries and mutations are called to the Cosmic JS GraphQL endpoint:

https://graphql.cosmicjs.com/v1

To access the legacy endpoint: https://graphql-legacy.cosmicjs.com/v1

Playground

Full screen