Update Evaluator Config
PUT/evaluators/configs/:evaluator_config_id
Endpoint to update evaluator configurations for a specific app.
Returns: List[EvaluatorConfigDB]: A list of evaluator configuration objects.
Request
Path Parameters
evaluator_config_id Evaluator Config Idrequired
- application/json
Body
required
name Name (string)
evaluator_key Evaluator Key (string)
settings_values object
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id Id (string)required
name Name (string)required
evaluator_key Evaluator Key (string)required
settings_values object
created_at date-timerequired
updated_at date-timerequired
{
"id": "string",
"name": "string",
"evaluator_key": "string",
"settings_values": {},
"created_at": "2024-08-19T07:55:04.461Z",
"updated_at": "2024-08-19T07:55:04.461Z"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...