Model API keys serve as the authentication and authorization mechanism for the Embedding and Reranking API and enable you to access Voyage AI models through the API. This page describes how to create and manage your API keys in the Atlas UI.
Note
It is named model API key to distinguish it from other API keys in Atlas. You use this key the same way as API keys from other model providers.
Create and Manage Model API Keys
You can create and manage model API keys from the Atlas UI at the organization and project levels. Rate limits apply to the API keys based on whether you created them at the organization or project level.
Required Permissions
To create, update, and delete model API keys:
At the organization level, you must have
Organization Owneraccess to Atlas.At the project level, you must have
Project Owneror higher access to Atlas.
To view model API keys:
At the organization and project levels, you must have
Organization Read Onlyor higher access to Atlas.At only the project level, you must have
Project Read Onlyor higher access to Atlas.
For a complete list of permissions for each role, see Organization and Project Access.
Create an API Key
When you create a model API key at the organization level, link the key to a project. After you create the key, you can't change which project the key is linked to. Rate limits apply to each key in the project.
To create model API keys at the organization level, complete the following steps:
To create model API keys at the project level, complete the following steps:
Log in to Atlas.
Go to the AI Models page in the Atlas UI.
If it's not already displayed, select your desired organization from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
At the project level, click AI Models under the Services header in the navigation bar.
View an API Key
Organization owners can view and edit all model API keys for the organization at the organization level. Project owners can view and edit only the model API keys for the projects to which they have access.
To view model API keys at the organization level, complete the following steps:
Log in to Atlas.
To view model API keys at the project level, complete the following steps:
Log in to Atlas.
Go to the AI Models page in the Atlas UI.
If it's not already displayed, select your desired organization from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
At the project level, click AI Models under the Services header in the navigation bar.
Edit an API Key
To edit model API keys at the organization level, complete the following steps:
Log in to Atlas.
To edit model API keys at the project level, complete the following steps:
Log in to Atlas.
Go to the AI Models page in the Atlas UI.
If it's not already displayed, select your desired organization from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
At the project level, click AI Models under the Services header in the navigation bar.
Delete an API Key
When you delete a model API key, MongoDB immediately disables the key and rejects any API requests made using the deleted key. Once you delete the key, you can't view, restore, or modify it.
To delete model API keys at the organization level, complete the following steps:
Log in to Atlas.
To delete model API keys at the project level, complete the following steps:
Log in to Atlas.
Go to the AI Models page in the Atlas UI.
If it's not already displayed, select your desired organization from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
At the project level, click AI Models under the Services header in the navigation bar.
Next Steps
After creating a model API key, you can:
Set rate limits for your model API keys.
Monitor API key usage in real-time.