POST
/
v2
/
autoevals
curl --request POST \
  --url https://api.scale.com/v2/autoevals \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "libraryName": "<string>",
  "libraryVersion": "<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"
}

Authorizations

Authorization
string
header
required

Your API Key is the Bearer token. See the Authentication section to learn how to access your key.

Body

application/json

Response

200
application/json

Auto-evaluation job successfully started.

The response is of type object.