List Connectors
GEThttps://api.confident-ai.com/v2/forwarding-connectors
Lists the forwarding connectors in your Confident AI project one page at a time, newest first. Each connector is returned as a summary; retrieve one by id for its headers, environments and delivery history.
curl -X GET "https://api.confident-ai.com/v2/forwarding-connectors" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"forwardingConnectors": [
{
"id": "<FORWARDING-CONNECTOR-ID>",
"name": "Acme OTLP collector",
"endpoint": "https://otlp.acme-observability.com/v1/traces",
"enabled": true
}
],
"totalForwardingConnectors": 2,
"page": 1,
"pageSize": 25
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/project-settings/exports",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
pageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of results per page, at most 100. Defaults to 25.
Response
List Connectors succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of forwarding connectors, with the total across all pages.
Show 4 propertiesHide 4 properties
forwardingConnectorslist of objectsThe forwarding connectors for the current page, newest first.
Show 4 propertiesHide 4 properties
idstringThe id of the connector, generated by Confident AI.
namestringThe name of the connector.
endpointstringThe OTLP/HTTP collector the connector forwards traces to.
enabledbooleanWhether the connector is currently forwarding traces.
totalForwardingConnectorsintegerThe total number of forwarding connectors in this project.
pageintegerThe page this response covers.
pageSizeintegerThe number of forwarding connectors per page.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.