DataStax Astra DB provides multiple APIs to connect to your database:
- link:_attachments/docv2.html[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.
- link:_attachments/restv2.html[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.
- Stargate GraphQL API: The GraphQL playground 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.
- Stargate gRPC API: gRPC is a modern, open source remote procedure call (RPC) framework. It enables client and server applications to communicate transparently, and makes it easier to build connected systems. Get examples of using the gRPC API in the Developing your application/gRPC API section.
Older versions
- link:_attachments/restv1.html[Stargate REST API v1^]
Astra DB provides a DevOps API to manage the lifecycle of your databases:
- link:_attachments/devopsv2.html[DevOps API v2^]