Update Human Evaluation
PUThttps://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
- application/json
Body
required
status
object
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detail
object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
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"
}'
ResponseClear