API References
Astra provides APIs to manage both DB and Streaming instances.
Astra DB
Astra provides multiple APIs to connect to your database:
-
Stargate Document API v2: The Stargate Document API allows you to use schemaless storage of free-form JSON Documents in your Astra database. Get examples of using the Document API in the Developing your application/Document API section.
-
Stargate REST API v2: The DataStax Astra REST API allows you to perform standard CRUD operations on your data using a simple, cross-language interface. Get examples of using the REST API v2 in the Developing your application/REST API section.
The DataStax Stargate Astra GraphQL API allows you to easily interact with your data using GraphQL types, queries, and mutations. For every table in your keyspace, a series of GraphQL objects are generated, along with queries and mutations that allow you to search and modify the table data. Get examples of using the GraphQL API in the Developing your application/GraphQL API section.
Astra DB and Astra Streaming DevOps APIs
Astra DB and Astra Streaming provide DevOps APIs to manage the lifecycles of your databases and streaming instances: