DataStax Astra Developer Hub

Welcome to the DataStax Astra Developer Hub. You'll find comprehensive guides and documentation to help you start working with DataStax Astra as quickly as possible. Use the included APIs to create, modify, and terminate databases, and interact with the databases you create. Let's do it!

Astra Docs      API Reference      CQL for Astra

Document API

In this QuickStart, you’ll use the Stargate Document API plugin to enable schemaless storage of free form JSON Documents in your Astra database. No modeling needed!

To use the Document API, you must define the namespace and collections that will store the data. A namespace is a container for which a replication factor defines the number of data replicas the database will store. Collections consist of unstructured JSON documents. Documents can themselves hold multiple documents. Multiple collections are contained in a namespace, but a collection cannot be contained in multiple namespaces.

We'll show you you how to:

  1. Generate an authorization token
  2. Check for namespace
  3. Write documents
  4. Read documents
  5. Update documents
  6. Delete documents

Updated 10 days ago



Document API


In this QuickStart, you’ll use the Stargate Document API plugin to enable schemaless storage of free form JSON Documents in your Astra database. No modeling needed!

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.