curl --request GET \
--url https://api.getmaxim.ai/v1/evaluators \
--header 'x-maxim-api-key: <api-key>'{
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "<string>",
"config": {
"model": "<string>",
"provider": "<string>",
"gradingStyle": "<string>",
"passFailCriteria": {
"runLevel": {
"name": "<string>",
"value": 123,
"operator": "<string>"
},
"entryLevel": {
"name": "<string>",
"value": "<string>",
"operator": "<string>"
}
},
"variables": {}
},
"accountId": "<string>",
"workspaceId": "<string>",
"builtin": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"tags": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"pagination": {
"cursor": "<string>",
"hasMore": true
}
}Get an evaluator by ID, name or fetch all evaluators for a workspace
curl --request GET \
--url https://api.getmaxim.ai/v1/evaluators \
--header 'x-maxim-api-key: <api-key>'{
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "<string>",
"config": {
"model": "<string>",
"provider": "<string>",
"gradingStyle": "<string>",
"passFailCriteria": {
"runLevel": {
"name": "<string>",
"value": 123,
"operator": "<string>"
},
"entryLevel": {
"name": "<string>",
"value": "<string>",
"operator": "<string>"
}
},
"variables": {}
},
"accountId": "<string>",
"workspaceId": "<string>",
"builtin": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"tags": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"pagination": {
"cursor": "<string>",
"hasMore": true
}
}API key for authentication
Unique identifier for the workspace
1Unique identifier for the evaluator
Maximum number of records to return. 10 by default
Name of the evaluator
Cursor for pagination
Was this page helpful?