Update Evaluation Scenario Router
PUThttps://cloud.agenta.ai/api/human-evaluations/:evaluation_id/evaluation_scenario/:evaluation_scenario_id/:evaluation_type
Updates an evaluation scenario's vote or score based on its type.
Raises: HTTPException: If update fails or unauthorized.
Returns: None: 204 No Content status code upon successful update.
Request
Path Parameters
evaluation_id Evaluation Idrequired
evaluation_scenario_id Evaluation Scenario Idrequired
evaluation_type EvaluationTyperequired
Possible values: [human_a_b_testing
, single_model_test
]
- application/json
Body
required
vote Vote (string)
score
object
correct_answer Correct Answer (string)
outputs
object[]
inputs
object[]
is_pinned Is Pinned (boolean)
note Note (string)
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
ResponseClear