Leaderboard v2 APIs
v2 Model Score
Leaderboard API Documentation
Leaderboard v2 APIs
Leaderboard v2 APIs
v2 Model Score
Retrieves score of a single model
GET
/
leaderboard
/
v2
/
scores
/
{modelName}
curl --request GET \
--url https://api.enkryptai.com/leaderboard/v2/scores/{modelName} \
--header 'apikey: <api-key>'
{
"status": "success",
"data": {
"score": {
"model_name": "gpt-4o",
"provider": "OpenAI",
"source": "OpenAI",
"risk_score": 18.7582,
"bias_score": 18.7582,
"cbrn_score": 18.7582,
"harmful_score": 18.7582,
"insecure_code_score": 18.7582,
"toxicity_score": 18.7582,
"robustness_score": null
}
}
}
Authorizations
Path Parameters
The name of the model
Example:
"gpt-4o"
Response
200 - application/json
A model's score
Example:
"success"
Example:
"gpt-4o"
Example:
"OpenAI"
Example:
"OpenAI"
Example:
18.7582
Example:
18.7582
Example:
18.7582
Example:
18.7582
Example:
18.7582
Example:
18.7582
Example:
null
curl --request GET \
--url https://api.enkryptai.com/leaderboard/v2/scores/{modelName} \
--header 'apikey: <api-key>'
{
"status": "success",
"data": {
"score": {
"model_name": "gpt-4o",
"provider": "OpenAI",
"source": "OpenAI",
"risk_score": 18.7582,
"bias_score": 18.7582,
"cbrn_score": 18.7582,
"harmful_score": 18.7582,
"insecure_code_score": 18.7582,
"toxicity_score": 18.7582,
"robustness_score": null
}
}
}