Leaderboard v1 APIs
v1 Models Risk Percentiles
Leaderboard API Documentation
Leaderboard v2 APIs
Leaderboard v1 APIs
v1 Models Risk Percentiles
GET
/
leaderboard
/
percentiles
curl --request GET \
--url https://api.enkryptai.com/leaderboard/percentiles \
--header 'apikey: <api-key>'
{
"status": "success",
"data": {
"percentiles": [
{
"target_model": "gemini-1.5-pro-latest",
"model_provider": "Google",
"model_source": "https://ai.google.dev/gemini-api/docs/models/gemini#gemini-1.5-pro",
"model_type": "text_to_text",
"test_date": "2024-06-05T10:01:55.232804",
"toxicity_percentile": "NA",
"malware_percentile": 15.8,
"bias_percentile": 8.8,
"jailbreak_percentile": 1.8,
"risk_score_percentile": 1.8
}
]
}
}
Authorizations
Response
200 - application/json
A JSON object containing the percentiles of various models
Example:
"success"
Example:
"gemini-1.5-pro-latest"
Example:
"Google"
Example:
"https://ai.google.dev/gemini-api/docs/models/gemini#gemini-1.5-pro"
Example:
"text_to_text"
Example:
"2024-06-05T10:01:55.232804"
Example:
"NA"
Example:
15.8
Example:
8.8
Example:
1.8
Example:
1.8
curl --request GET \
--url https://api.enkryptai.com/leaderboard/percentiles \
--header 'apikey: <api-key>'
{
"status": "success",
"data": {
"percentiles": [
{
"target_model": "gemini-1.5-pro-latest",
"model_provider": "Google",
"model_source": "https://ai.google.dev/gemini-api/docs/models/gemini#gemini-1.5-pro",
"model_type": "text_to_text",
"test_date": "2024-06-05T10:01:55.232804",
"toxicity_percentile": "NA",
"malware_percentile": 15.8,
"bias_percentile": 8.8,
"jailbreak_percentile": 1.8,
"risk_score_percentile": 1.8
}
]
}
}