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
- MOD1
- MOD1
nameobject
anyOf
string
evaluator_keyobject
anyOf
string
settings_valuesobjectrequired
anyOf
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id Id (string)required
name Name (string)required
project_id Project Id (string)required
evaluator_key Evaluator Key (string)required
settings_valuesobject
anyOf
created_at Created At (string)required
updated_at Updated At (string)required
{
"id": "string",
"name": "string",
"project_id": "string",
"evaluator_key": "string",
"settings_values": {},
"created_at": "string",
"updated_at": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...