Skip to main content
Everything defaults to production (https://api.devin.ai). To target another Devin deployment, pass baseUrl to createDevin or set DEVIN_BASE_URL — the REST client and the ACP WebSocket both derive from it. Your API key has to come from the same deployment you point at.
The spawned CLI inherits your environment; deployments are selected with the CLI’s own environment variables.
Pass createDevin({baseUrl}); the adapter forwards the deployment selection to the CLI in the sandbox.