curl --request GET \
--url https://api.dualship.run/api/v1/ai/providers \
--header 'Authorization: Bearer <token>' \
--header 'X-Workspace-Id: <x-workspace-id>'{
"providers": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"is_default": true,
"name": "OpenAI Production",
"provider_type": "openai",
"status": "active"
}
]
}Get all AI providers for a workspace
curl --request GET \
--url https://api.dualship.run/api/v1/ai/providers \
--header 'Authorization: Bearer <token>' \
--header 'X-Workspace-Id: <x-workspace-id>'{
"providers": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"is_default": true,
"name": "OpenAI Production",
"provider_type": "openai",
"status": "active"
}
]
}Was this page helpful?