DataStax Docs
Astra DB Serverless
Astra DB Serverless by DataStax provides the tools developers need to create robust AI applications, featuring strong APIs, real-time data processing, and easy integration with other systems.
from astrapy import DataAPIClient
# connect to a database
database =
DataAPIClient(TOKEN).get_database_by_api_endpoint(URL)
# Ingest vectors into your collection
collection = database.test_collection
collection.insert_many(documents=DOCUMENTS)
# Find the closest vectors
collection.find(vector=[0.15, 0.1, 0.1, 0.35, 0.55])
Popular Products
Astra DB Serverless
Scale with cloud-native databases
RAGStack
Enterprise RAG
DSE
Enterprise scalability and performance
Mission Control
Manage your data ecosystem
Astra Streaming
Efficient data streaming
Luna Support
Expertise and support for DataStax products
Latest Additionsnew_label
Loading data into Astra DB databases
Use the Astra DB Data Loader to load data in your database from a variety of sources, including CSV files, sample datasets, and Amazon DynamoDB.
Read Loading data into Astra DB databases arrow_forward
Optimizing Query Performance
Improve the efficiency of your queries on AI-ready cloud databases with best practices for indexing and query tuning.
Read Optimizing Query Performance arrow_forward
Securing Database Connections
Learn how to secure connections to your AI-ready cloud database using SSL encryption and access control methods.
Read Securing Database Connections arrow_forward
Working with AI/ML smart_toy
Automating Backups and Recovery
Set up automated backups for your cloud database and learn how to quickly recover your data in case of loss or corruption.
Read Automating Backups and Recovery arrow_forward
Monitoring and Alerts
Monitor the health and performance of your cloud database with real-time analytics and set up alerts for potential issues.
Read Monitoring and Alerts arrow_forward
Scaling Your Database
Scale your AI-ready cloud database vertically or horizontally to meet changing workload demands and optimize performance.
Read Scaling Your Database arrow_forward