List AI Connections
(v1)GET
Lists the AI connections in your Confident AI project, ordered by name. Fetch a single connection for its full configuration.
curl -X GET "https://api.confident-ai.com/v1/ai-connections" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"aiConnections": [
{
"id": "AI-CONNECTION-ID",
"name": "Production Chatbot",
"endpoint": "https://api.example.com/chat",
"active": true
}
]
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Response
successbooleanIndicates if the request was successful.
dataobjectShow 1 propertyHide 1 property
aiConnectionslist of objectsThe AI connections, ordered by name.
Show 4 propertiesHide 4 properties
idstringThe unique identifier of the AI connection.
namestringThe name of the AI connection, unique within the project.
endpointstringThe URL Confident AI calls. Null when no endpoint has been configured yet.
activebooleanWhether Confident AI could successfully call this endpoint. Computed by Confident AI, not writable.
deprecatedbooleanIndicates if this endpoint is deprecated.