Update Evaluation Scenario Score Router
PUThttps://cloud.agenta.ai/api/human-evaluations/evaluation_scenario/:evaluation_scenario_id/score
Updates the score of an evaluation scenario.
Raises: HTTPException: Server error if the evaluation update fails.
Returns: None: 204 No Content status code upon successful update.
Request
Path Parameters
evaluation_scenario_id Evaluation Scenario Idrequired
- application/json
Body
required
score Score (number)required
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_scenario/:evaluation_scenario_id/score' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"score": 0
}'
ResponseClear