cURL
curl --request POST \ --url https://api.scale.com/v2/autoevals \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "libraryName": "<string>", "evaluationType": { "chatCompletion": { "solutions": 1, "shots": 0, "chainOfThought": false } }, "modelVersionConfig": "<string>", "modelParams": {} }'
{ "jobId": "<string>", "status": "Pending", "libraryName": "<string>", "libraryVersion": "<string>", "evaluationOptions": {}, "modelVersionConfig": "<string>", "modelParams": {}, "createdAt": "2023-11-07T05:31:56Z", "completedAt": "2023-11-07T05:31:56Z" }
Submits an evaluation job for a model version config.
Your API Key is the Bearer token. See the Authentication section to learn how to access your key.
Auto-evaluation job successfully started.
The response is of type object.
object