Skip to main content
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.
The Anaconda Desktop API provides a programmatic interface for managing models. It provides a complete infrastructure for downloading, hosting, and serving models on your own hardware.

Configuring the Desktop API

To access your Desktop API key and API server port:
  1. Select your profile icon in the upper right-hand corner.
  2. Select Settings.
  3. Navigate to the Desktop API Configurations section.
From the configurations section, you can View, Copy, and Rotate your API key, configure your API server port, and access interactive API documentation.

Making your first request

Understanding your server configuration

Your Desktop API server runs locally on your machine at the address localhost (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.
Your base URL combines the server address and port. For example: 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:
curl --request GET ^
    --url http://localhost:8001/api/models/health ^
    --header 'Authorization: Bearer <API_KEY>' ^
    --header "Content-Type: application/json" ^
Replace <API_KEY> with the API key listed on the Settings page.
The API should return /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.