Get Connector
GEThttps://api.confident-ai.com/v2/forwarding-connectors/{forwardingConnectorId}
Retrieves a forwarding connector by id, with its headers, the environments it forwards, and how its deliveries have gone. Header values come back masked, never in plaintext.
curl -X GET "https://api.confident-ai.com/v2/forwarding-connectors/{forwardingConnectorId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<FORWARDING-CONNECTOR-ID>",
"name": "Acme OTLP collector",
"endpoint": "https://otlp.acme-observability.com/v1/traces",
"headers": [
{
"key": "Authorization",
"value": "***************a1b2c3"
}
],
"environments": [
"production"
],
"enabled": true,
"lastForwardedAt": "2025-01-15T10:30:00.000Z",
"lastError": null,
"successCount": 1284,
"failureCount": 3,
"createdAt": "2025-01-01T09:00:00.000Z",
"updatedAt": "2025-01-15T10:29:00.000Z"
},
"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.
Path parameters
forwardingConnectorIdstringRequiredThe id of the forwarding connector.
Response
Get Connector succeeded.
successbooleanIndicates if the request was successful.
dataobjectA destination Confident AI forwards your traces to over OTLP/HTTP, with its delivery history. Header values are always masked.
Show 12 propertiesHide 12 properties
idstringThe id of the connector, generated by Confident AI.
namestringThe name of the connector.
endpointstringThe OTLP/HTTP collector the connector forwards traces to.
headerslist of objectsThe HTTP headers sent with every forwarded batch, with every value masked. To change one, resend the whole list with the new value in place and the other values left masked; to leave them all alone, omit
headersfrom the update entirely.Show 2 propertiesHide 2 properties
keystringThe name of the HTTP header, returned exactly as stored.
valuestringThe masked value of the header: fifteen asterisks followed by the last six characters of the stored value. The stored value itself is never returned. Send this masked value back on an update to keep the header unchanged.
environmentslist of enumsThe environments whose traces this connector forwards. An empty list forwards traces from every environment.
Show 4 enum valuesHide 4 enum values
productiondevelopmentstagingtesting
enabledbooleanWhether the connector is currently forwarding traces.
lastForwardedAtstring | nullWhen this connector last delivered a batch, or null when it never has.
lastErrorstring | nullThe error from the most recent failed delivery, or null when the last delivery succeeded.
successCountintegerHow many batches this connector has delivered successfully.
failureCountintegerHow many batches this connector has failed to deliver.
createdAtstringWhen the connector was created.
updatedAtstringWhen the connector was last changed.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.