1. Create A Routing Key
Open API Keys in the Dari Dashboard and create a Routing key.2. Send A Request
The default/v1 router uses Dari-managed provider credentials. Its model set is managed by Dari and may change over time.
dari_routing.selected_model field shows which model handled the request.
Use Different Or Custom Models
Change the default router’s models in the dashboard, or make a new router and use itsrtr_... endpoint. Add your own API keys or custom models to any router.
If The Request Fails
A401 usually means the Routing key is invalid. For a specific router, it can also mean the key and router belong to different organizations. For other router errors, verify the copied endpoint and Provider Key Setup.