List Transformers
GEThttps://api.confident-ai.com/v2/transformers
Lists the transformers in your Confident AI project one page at a time, ordered by name. Use the returned ids for an AI connection's or a metric collection's transformer fields; retrieve one by id to read its code.
curl -X GET "https://api.confident-ai.com/v2/transformers" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"transformers": [
{
"id": "<TRANSFORMER-ID>",
"name": "Extract nested answer",
"description": "Pulls the answer out of a nested envelope.",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-20T08:15:00.000Z"
}
],
"totalTransformers": 4,
"page": 1,
"pageSize": 25
},
"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 Transformers succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of transformers, with the total across all pages.
Show 4 propertiesHide 4 properties
transformerslist of objectsThe transformers for the current page, ordered by name.
Show 5 propertiesHide 5 properties
idstringThe id of the transformer, generated by Confident AI.
namestringThe name of the transformer.
descriptionstring | nullWhat the transformer extracts.
createdAtstringThe timestamp when the transformer was created.
updatedAtstringThe timestamp when the transformer was last updated.
totalTransformersintegerThe total number of transformers in this project.
pageintegerThe page this response covers.
pageSizeintegerThe number of transformers per page.
deprecatedbooleanIndicates if this endpoint is deprecated.