List Frameworks
GEThttps://api.confident-ai.com/v2/rt-frameworks
Lists the red teaming frameworks in your Confident AI project one page at a time, ordered by name. Each framework is returned with its risk categories counted; retrieve one by id to see what those categories select.
curl -X GET "https://api.confident-ai.com/v2/rt-frameworks" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"rtFrameworks": [
{
"id": "<RT-FRAMEWORK-ID>",
"name": "OWASP Top 10 for LLMs",
"description": "Our baseline coverage before each release.",
"riskCategories": [
{
"name": "Data protection",
"numVulnerabilityTypes": 4,
"numAttackMethods": 3
}
]
}
],
"totalRTFrameworks": 3,
"page": 1,
"pageSize": 25
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/frameworks",
"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 Frameworks succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of frameworks, with the total across all pages.
Show 4 propertiesHide 4 properties
rtFrameworkslist of objectsThe frameworks for the current page, ordered by name.
Show 4 propertiesHide 4 properties
idstringThe id of the framework, generated by Confident AI.
namestringThe name of the framework.
descriptionstring | nullWhat the framework covers.
riskCategorieslist of objectsThe framework's risk categories, counted rather than resolved.
Show 3 propertiesHide 3 properties
namestringThe name of the risk category.
numVulnerabilityTypesintegerHow many vulnerability types the category selects.
numAttackMethodsintegerHow many attack methods the category selects.
totalRTFrameworksintegerThe total number of frameworks in this project.
pageintegerThe page this response covers.
pageSizeintegerThe number of frameworks per page.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.