Skip to main content

Update Human Evaluation

PUT 

https://cloud.agenta.ai/api/human-evaluations/:evaluation_id

Updates an evaluation's status.

Raises: HTTPException: If the columns in the test set do not match with the inputs in the variant.

Returns: None: A 204 No Content status code, indicating that the update was successful.

Request

Path Parameters

    evaluation_id Evaluation Idrequired

Body

required

    status

    object

    anyOf

    string

    Possible values: [EVALUATION_INITIALIZED, EVALUATION_STARTED, EVALUATION_FINISHED, EVALUATION_FINISHED_WITH_ERRORS, EVALUATION_FAILED, EVALUATION_AGGREGATION_FAILED]

Responses

Successful Response

Schema

    any

curl -L -X PUT 'https://cloud.agenta.ai/api/human-evaluations/:evaluation_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"status": "EVALUATION_INITIALIZED"
}'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
Body required
{
  "status": "EVALUATION_INITIALIZED"
}
ResponseClear

Click the Send API Request button above and see the response here!