Step 1: Generate an API Key
- Sign in to your Michi Dashboard.
- Create a new Project.
- Under API Keys, generate a new key.
Ensure you copy the API key immediately and store it securely. You will use it to authorize requests as a
Bearer token.Step 2: Choose Your Platform
Select your preferred language below to view the client implementation code:💻 Javascript / Node.js
First, install the standardopenai library:
🐍 Python
Install the package:🛠️ CLI / Curl
For shell scripting or command line utilities:Step 3: Monitor Live Telemetry
Once you make your first request, open the Logs tab in your dashboard to view:- Exact response latencies (in milliseconds)
- Total prompt & completion tokens
- Dynamic cost calculation based on selected models
- Routing status (e.g. which model was selected)
