cURL
curl --request POST \ --url https://api.dualship.run/api/v1/ai/providers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "api_key": "<string>", "name": "<string>", "provider_type": "claude", "workspace_id": "<string>", "base_url": "<string>", "is_default": true, "max_retries": 5, "priority": 1, "timeout_seconds": 150 } '
{ "base_url": "<string>", "created_at": "<string>", "id": "<string>", "is_default": true, "max_retries": 123, "models": [ "<string>" ], "name": "<string>", "priority": 123, "provider_type": "<string>", "status": "<string>", "timeout_seconds": 123, "updated_at": "<string>" }
Add a new AI provider configuration
JWT Bearer token authentication
Provider details
10
1 - 100
claude
openai
gemini
0 <= x <= 10
x >= 0
1 <= x <= 300
Provider created successfully
Was this page helpful?