Evaluations
Update Evaluation
Dataset Items
Evaluations
Evaluation Items
Evaluations
Update Evaluation
PATCH
/
v5
/
evaluations
/
{evaluation_id}
curl --request PATCH \
--url https://api.egp.scale.com/v5/evaluations/{evaluation_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
]
}'
{
"id": "<string>",
"object": "evaluation",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"datasets": [
{
"id": "<string>",
"object": "dataset",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"current_version_num": 123
}
],
"status": "failed",
"tasks": [
{
"task_type": "chat_completion",
"alias": "<string>",
"configuration": {
"top_k": 123,
"frequency_penalty": 123,
"function_call": {},
"functions": [
{}
],
"logit_bias": {},
"logprobs": true,
"max_completion_tokens": 123,
"max_tokens": 123,
"metadata": {},
"modalities": [
"<string>"
],
"n": 123,
"parallel_tool_calls": true,
"prediction": {},
"presence_penalty": 123,
"reasoning_effort": "<string>",
"response_format": {},
"seed": 123,
"stop": "<string>",
"store": true,
"temperature": 123,
"tool_choice": "<string>",
"tools": [
{}
],
"top_logprobs": 123,
"top_p": 123,
"audio": {},
"model": "<string>",
"messages": [
{}
]
}
}
]
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.egp.scale.com/v5/evaluations/{evaluation_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
]
}'
{
"id": "<string>",
"object": "evaluation",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"datasets": [
{
"id": "<string>",
"object": "dataset",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"current_version_num": 123
}
],
"status": "failed",
"tasks": [
{
"task_type": "chat_completion",
"alias": "<string>",
"configuration": {
"top_k": 123,
"frequency_penalty": 123,
"function_call": {},
"functions": [
{}
],
"logit_bias": {},
"logprobs": true,
"max_completion_tokens": 123,
"max_tokens": 123,
"metadata": {},
"modalities": [
"<string>"
],
"n": 123,
"parallel_tool_calls": true,
"prediction": {},
"presence_penalty": 123,
"reasoning_effort": "<string>",
"response_format": {},
"seed": 123,
"stop": "<string>",
"store": true,
"temperature": 123,
"tool_choice": "<string>",
"tools": [
{}
],
"top_logprobs": 123,
"top_p": 123,
"audio": {},
"model": "<string>",
"messages": [
{}
]
}
}
]
}