Skip to main content

Update Evaluation Scenario Score Router

PUT 

https://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

Body

required

    score Score (number)required

Responses

Successful Response

Schema

    any

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
}'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
Body required
{
  "score": 0
}
ResponseClear

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