https://ai.mongodb.com/v1
The Atlas Embedding and Reranking API provides programmatic access to the latest Voyage AI embedding and reranking models through a RESTful interface. This feature is in preview and subject to change.
Provide your model API key using the Bearer token format when constructing API requests.
For example, the following cURL command sends a request to the /embeddings endpoint
to embed a sample text:
curl https://ai.mongodb.com/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer VOYAGE_API_KEY" \
-d '{
"input": ["Sample text to embed"],
"model": "voyage-4-large"
}'
To learn more, see the Embedding and Reranking API Overview. To learn how to create and manage your model API keys, see Manage Model API Keys.
Authentication
All requests must include an Authorization header with your model API key using the Bearer token format:
Authorization: Bearer VOYAGE_API_KEY
Rate Limits
Rate limits are applied per API key and measured in two dimensions:
- TPM (Tokens Per Minute): Maximum number of tokens processed per minute
- RPM (Requests Per Minute): Maximum number of API requests per minute
This is version 1.1 of this API documentation. Last update on Jan 14, 2026.