Create Evaluation Config
curl --request POST \
--url https://api.egp.scale.com/v4/evaluation-configs \
--header 'Content-Type: application/json' \
--data '
{
"question_set_id": "<string>",
"account_id": "<string>",
"evaluation_type": "llm_auto",
"studio_project_id": "<string>",
"auto_evaluation_model": "gpt-4-turbo-2024-04-09",
"auto_evaluation_parameters": {
"temperature": 1,
"batch_size": 13
}
}
'import requests
url = "https://api.egp.scale.com/v4/evaluation-configs"
payload = {
"question_set_id": "<string>",
"account_id": "<string>",
"evaluation_type": "llm_auto",
"studio_project_id": "<string>",
"auto_evaluation_model": "gpt-4-turbo-2024-04-09",
"auto_evaluation_parameters": {
"temperature": 1,
"batch_size": 13
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
question_set_id: '<string>',
account_id: '<string>',
evaluation_type: 'llm_auto',
studio_project_id: '<string>',
auto_evaluation_model: 'gpt-4-turbo-2024-04-09',
auto_evaluation_parameters: {temperature: 1, batch_size: 13}
})
};
fetch('https://api.egp.scale.com/v4/evaluation-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.egp.scale.com/v4/evaluation-configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'question_set_id' => '<string>',
'account_id' => '<string>',
'evaluation_type' => 'llm_auto',
'studio_project_id' => '<string>',
'auto_evaluation_model' => 'gpt-4-turbo-2024-04-09',
'auto_evaluation_parameters' => [
'temperature' => 1,
'batch_size' => 13
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.egp.scale.com/v4/evaluation-configs"
payload := strings.NewReader("{\n \"question_set_id\": \"<string>\",\n \"account_id\": \"<string>\",\n \"evaluation_type\": \"llm_auto\",\n \"studio_project_id\": \"<string>\",\n \"auto_evaluation_model\": \"gpt-4-turbo-2024-04-09\",\n \"auto_evaluation_parameters\": {\n \"temperature\": 1,\n \"batch_size\": 13\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.egp.scale.com/v4/evaluation-configs")
.header("Content-Type", "application/json")
.body("{\n \"question_set_id\": \"<string>\",\n \"account_id\": \"<string>\",\n \"evaluation_type\": \"llm_auto\",\n \"studio_project_id\": \"<string>\",\n \"auto_evaluation_model\": \"gpt-4-turbo-2024-04-09\",\n \"auto_evaluation_parameters\": {\n \"temperature\": 1,\n \"batch_size\": 13\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.egp.scale.com/v4/evaluation-configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"question_set_id\": \"<string>\",\n \"account_id\": \"<string>\",\n \"evaluation_type\": \"llm_auto\",\n \"studio_project_id\": \"<string>\",\n \"auto_evaluation_model\": \"gpt-4-turbo-2024-04-09\",\n \"auto_evaluation_parameters\": {\n \"temperature\": 1,\n \"batch_size\": 13\n }\n}"
response = http.request(request)
puts response.read_body{
"evaluation_type": "studio",
"question_set_id": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"account_id": "<string>",
"created_by_user_id": "<string>",
"created_by_identity_type": "user",
"studio_project_id": "<string>",
"auto_evaluation_model": "gpt-4-32k-0613",
"auto_evaluation_parameters": {
"temperature": 1,
"batch_size": 13
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Evaluation Configs
Create Evaluation Config
Description
Creates a evaluation config
Details
This API can be used to create a evaluation config. To use this API, review the request schema and pass in all fields that are required to create a evaluation config.
POST
/
v4
/
evaluation-configs
Create Evaluation Config
curl --request POST \
--url https://api.egp.scale.com/v4/evaluation-configs \
--header 'Content-Type: application/json' \
--data '
{
"question_set_id": "<string>",
"account_id": "<string>",
"evaluation_type": "llm_auto",
"studio_project_id": "<string>",
"auto_evaluation_model": "gpt-4-turbo-2024-04-09",
"auto_evaluation_parameters": {
"temperature": 1,
"batch_size": 13
}
}
'import requests
url = "https://api.egp.scale.com/v4/evaluation-configs"
payload = {
"question_set_id": "<string>",
"account_id": "<string>",
"evaluation_type": "llm_auto",
"studio_project_id": "<string>",
"auto_evaluation_model": "gpt-4-turbo-2024-04-09",
"auto_evaluation_parameters": {
"temperature": 1,
"batch_size": 13
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
question_set_id: '<string>',
account_id: '<string>',
evaluation_type: 'llm_auto',
studio_project_id: '<string>',
auto_evaluation_model: 'gpt-4-turbo-2024-04-09',
auto_evaluation_parameters: {temperature: 1, batch_size: 13}
})
};
fetch('https://api.egp.scale.com/v4/evaluation-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.egp.scale.com/v4/evaluation-configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'question_set_id' => '<string>',
'account_id' => '<string>',
'evaluation_type' => 'llm_auto',
'studio_project_id' => '<string>',
'auto_evaluation_model' => 'gpt-4-turbo-2024-04-09',
'auto_evaluation_parameters' => [
'temperature' => 1,
'batch_size' => 13
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.egp.scale.com/v4/evaluation-configs"
payload := strings.NewReader("{\n \"question_set_id\": \"<string>\",\n \"account_id\": \"<string>\",\n \"evaluation_type\": \"llm_auto\",\n \"studio_project_id\": \"<string>\",\n \"auto_evaluation_model\": \"gpt-4-turbo-2024-04-09\",\n \"auto_evaluation_parameters\": {\n \"temperature\": 1,\n \"batch_size\": 13\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.egp.scale.com/v4/evaluation-configs")
.header("Content-Type", "application/json")
.body("{\n \"question_set_id\": \"<string>\",\n \"account_id\": \"<string>\",\n \"evaluation_type\": \"llm_auto\",\n \"studio_project_id\": \"<string>\",\n \"auto_evaluation_model\": \"gpt-4-turbo-2024-04-09\",\n \"auto_evaluation_parameters\": {\n \"temperature\": 1,\n \"batch_size\": 13\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.egp.scale.com/v4/evaluation-configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"question_set_id\": \"<string>\",\n \"account_id\": \"<string>\",\n \"evaluation_type\": \"llm_auto\",\n \"studio_project_id\": \"<string>\",\n \"auto_evaluation_model\": \"gpt-4-turbo-2024-04-09\",\n \"auto_evaluation_parameters\": {\n \"temperature\": 1,\n \"batch_size\": 13\n }\n}"
response = http.request(request)
puts response.read_body{
"evaluation_type": "studio",
"question_set_id": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"account_id": "<string>",
"created_by_user_id": "<string>",
"created_by_identity_type": "user",
"studio_project_id": "<string>",
"auto_evaluation_model": "gpt-4-32k-0613",
"auto_evaluation_parameters": {
"temperature": 1,
"batch_size": 13
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Body
application/json
- AutoEvalEvaluationConfigRequest
- ManualEvaluationConfigRequest
The name of the model to be used for auto-evaluation
Available options:
llama-3-1-70b-instruct, gpt-4-turbo-2024-04-09, llama-3-70b-instruct-bedrock, gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-5-nano, gpt-5-mini, gpt-5, gpt-5.1, gpt-5.2, o1, o3, o3-mini, o4-mini Response
Successful Response
The name of the model to be used for auto-evaluation
Available options:
gpt-4-32k-0613, gpt-4-turbo-preview, gpt-4-turbo-2024-04-09, gpt-4o-2024-05-13, gpt-4o, gpt-4o-mini-2024-07-18, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-5-nano, gpt-5-mini, gpt-5, gpt-5.1, gpt-5.2, o1, o1-mini, o3, o3-mini, o3-mini-2025-01-31, o4-mini, gpt-oss-120b, gpt-oss-20b, llama-3-70b-instruct, llama-3-1-70b-instruct, llama-3-70b-instruct-bedrock