Cassandra Summit is back! Join us in San Jose, CA on March 13-14. Learn more.

Toggle Menu

Astra GraphQL

Getting started with the Stargate GraphQL API on Astra


GraphQL is an open-source data query and manipulation language for APIs that allows clients to understand the data that your APIs expose and ask for only the portions they want. With GraphQL, you can create applications and services to aggregate data from multiple services or data stores. The Stargate open source project provides an API layer that allows you to expose a GraphQL API on top of any Cassandra database. Astra now offers offers a GraphQL API via Stargate, which we explore in this scenario.

Astra now offers offers a REST API via Stargate, which we explore in this scenario.

We'll use the GraphQL API to:

  • Create tables and records
  • Read records from the table
  • Update records
  • Delete records

As a prerequisite, be sure to setup an Astra account and create a Cassandra as a Service database at

GraphQL is great stuff! Let's take a look.

Time to Complete