DataStax Astra DB 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.
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.