Anaconda Desktop is currently available through a limited early access program. Anaconda AI Navigator provides many of the same capabilities and is available to all users.
Configuring the Desktop API
To access your Desktop API key and API server port:- Select your profile icon in the upper right-hand corner.
- Select Settings.
- Navigate to the Desktop API Configurations section.
Making your first request
Understanding your server configuration
Your Desktop API server runs locally on your machine at the addresslocalhost (also written as 127.0.0.1).
The Settings page shows two additional key pieces of information you’ll need:
- Server port - The port number where your server listens for requests.
- API key - Used for authentication in your requests.
http://localhost:8001/
Testing your connection
To test your connection to the Desktop API server, open Anaconda Prompt (Terminal on macOS/Linux) and run the following command:Replace <API_KEY> with the API key listed on the Settings page.
/api/models/health ok. If you receive an error, verify your API key and port number match what’s on the Settings page, then try again.