Skip to main content

Update Evaluator Config

PUT 

https://cloud.agenta.ai/api/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

Body

required
    nameobject
    anyOf
    string
    evaluator_keyobject
    anyOf
    string
    settings_valuesobject

    required

    anyOf

Responses

Successful Response
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
curl -L -X PUT 'https://cloud.agenta.ai/api/evaluators/configs/:evaluator_config_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"name": "string",
"evaluator_key": "string",
"settings_values": {}
}'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
Body required
{
  "name": "string",
  "evaluator_key": "string",
  "settings_values": {}
}
ResponseClear

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