---
id: update-evaluator-config-evaluators-configs-evaluator-config-id-put
title: "Update Evaluator Config"
description: "Endpoint to update evaluator configurations for a specific app."
sidebar_label: "Update Evaluator Config"
hide_title: true
hide_table_of_contents: true
api: eJzNVk1v4zYQ/SsETy3g2mnQk051sgF2sds2yEcvjmEwEm1zVyJZcpSuK/i/7wxJW5JlO4sAC9SHRCJnHodv3syo4SBWnmczfvMiylqAcZ7PR7yQPnfKgjKaZ/xGF9YoDQwMq20hQDK5M2e50Uu1qp0gY8+WuCSYtzJXS5UzYe34ST/pOwm10z570gx/n5SH2f7E64Dw7mqesSkrcYuZ5akDmHn+LHPwYz7ixsq4+KHAIGNgi73fIvq1Cz6t+MXQSBWLha0BQa1wopIgHbHScI0vCH7EAW0VkWMFrPHZyX9q5SRGAq6WI+7ztawEzxoOG0sQHpzSK7QEBSUt7O/PIgEMr7HdziOU9HBlig35HyJjBCA10BayW6o8cDD57ClXTedg64ghUNLTW7wJ+ujNX8twt35g29F+RddlySmSXah/ku921KHhi9y8Fay990cEQVQvAdDJL2gjBjvAjWk/i3ufYNjfEWaL0H3vbpZmg2M7UI9BSwcCRUCCdNJbFHqM8/Ligv71y+W+znPp/bIu2V0y5m9OGwrtjIZIMqN9ak9Z7dKHyMTD4jzmbbRiEXuQ8tfl/IPTilQ6iekpFgLOBXQdrdiU8FN7eM0nJj76vCKf0AEC8z1iDxnrRdsL41hJ9JT22+XlUFzIgipiK7xxzri3K6uQIFQZNAay8kOD0uS93e8odhwSciUdJrBlTzgnNh2OP5kYIGWl8qtz6fgDy0isgnajyRn5ERnsgXZfyxzdKx6d7DqZaOmN7J6+xrtI37HDdibvHx5uB4Axtzhi1obG1m7q4BDJ+KQdVpM0rCbNkdmz5VRe7mU3pWqHeeRrAOuzySQvTV2MkTcNYizURFjFD0f6NOyyazIN5eZlXjsFm4A3vf2ARfxeigJzmc3mXYN7klMUSN9snxs872NQfhqe0xrv6tR/MetpbK6jF3FBQr1rZ97NV1HZUrYzq032QTNqN4a9hoCVXpoQV8pHuvSVyL9ITaVKBEY+Lsa/ji9OsZQcGN43lZvIoRNfNKPq7uVhnwGKvAq1xkGK6vd2g6K0xkMldAcvdiF2+IFwGF7TVv7/9RMtKQLkV5jYUqhQ9IGlJml+1ibVR3JJ9fiUHfvmQh2ukS5ya5pn4eWjK7dbWkb5OBIvPr4Ip8QzZRylXChPz1hqS1F6eYbCn+5Sj/iZnYp8J3BN6g5Swzd8jGo8FnBohOtdITXJ8joe+ktoVy3SoHtTZ40eU/yksHDWdt7pKrePD2j7nL4gK1OQixP/UifEvyFoEzgIhRzWsOELvaqp32Y8QtLvGzSDOL8=
sidebar_class_name: "put api-method"
info_path: reference/api/agenta-backend
custom_edit_url: null
---

import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<Heading as={"h1"} className={"openapi__heading"} children={"Update Evaluator Config"}></Heading>

<MethodEndpoint method={"put"} path={"/evaluators/configs/{evaluator_config_id}"}></MethodEndpoint>

Endpoint to update evaluator configurations for a specific app.

Returns:
List[EvaluatorConfigDB]: A list of evaluator configuration objects.

<Heading id={"request"} as={"h2"} className={"openapi-tabs__heading"} children={"Request"}></Heading>

<details style={{ marginBottom: "1rem" }} className={"openapi-markdown__details"} data-collapsed={false} open={true}>
  <summary style={{}}>
    <h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3>
  </summary>
  <div>
    <ul>
      <ParamsItem
        className={"paramsItem"}
        param={{
          name: "evaluator_config_id",
          in: "path",
          required: true,
          schema: { type: "string", title: "Evaluator Config Id" },
        }}
      ></ParamsItem>
    </ul>
  </div>
</details>
<MimeTabs className={"openapi-tabs__mime"}>
  <TabItem label={"application/json"} value={"application/json-schema"}>
    <details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}>
      <summary style={{}} className={"openapi-markdown__details-summary-mime"}>
        <h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3>
        <strong className={"openapi-schema__required"}>required</strong>
      </summary>
      <div style={{ textAlign: "left", marginLeft: "1rem" }}></div>
      <ul style={{ marginLeft: "1rem" }}>
        <SchemaItem collapsible={true} className={"schemaItem"}>
          <details style={{}} className={"openapi-markdown__details"}>
            <summary style={{}}>
              <strong>name</strong>
              <span style={{ opacity: "0.6" }}>object</span>
            </summary>
            <div style={{ marginLeft: "1rem" }}></div>
            <div>
              <span className={"badge badge--info"}>anyOf</span>
              <SchemaTabs>
                <TabItem label={"MOD1"} value={"0-item-properties"}>
                  <div style={{ marginTop: ".5rem", marginBottom: ".5rem" }}>string</div>
                </TabItem>
              </SchemaTabs>
            </div>
          </details>
        </SchemaItem>
        <SchemaItem collapsible={true} className={"schemaItem"}>
          <details style={{}} className={"openapi-markdown__details"}>
            <summary style={{}}>
              <strong>evaluator_key</strong>
              <span style={{ opacity: "0.6" }}>object</span>
            </summary>
            <div style={{ marginLeft: "1rem" }}></div>
            <div>
              <span className={"badge badge--info"}>anyOf</span>
              <SchemaTabs>
                <TabItem label={"MOD1"} value={"0-item-properties"}>
                  <div style={{ marginTop: ".5rem", marginBottom: ".5rem" }}>string</div>
                </TabItem>
              </SchemaTabs>
            </div>
          </details>
        </SchemaItem>
        <SchemaItem collapsible={true} className={"schemaItem"}>
          <details style={{}} className={"openapi-markdown__details"}>
            <summary style={{}}>
              <strong>settings_values</strong>
              <span style={{ opacity: "0.6" }}>object</span>
              <strong style={{ fontSize: "var(--ifm-code-font-size)", color: "var(--openapi-required)" }}>
                required
              </strong>
            </summary>
            <div style={{ marginLeft: "1rem" }}></div>
            <div>
              <span className={"badge badge--info"}>anyOf</span>
            </div>
          </details>
        </SchemaItem>
      </ul>
    </details>
  </TabItem>
</MimeTabs>
<div>
  <div>
    <ApiTabs label={undefined} id={undefined}>
      <TabItem label={"200"} value={"200"}>
        <div>Successful Response</div>
        <div>
          <MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}>
            <TabItem label={"application/json"} value={"application/json"}>
              <SchemaTabs className={"openapi-tabs__schema"}>
                <TabItem label={"Schema"} value={"Schema"}>
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary style={{}} className={"openapi-markdown__details-summary-response"}>
                      <strong>Schema</strong>
                    </summary>
                    <div style={{ textAlign: "left", marginLeft: "1rem" }}></div>
                    <ul style={{ marginLeft: "1rem" }}>
                      <SchemaItem
                        collapsible={false}
                        name={"id"}
                        required={true}
                        schemaName={"Id (string)"}
                        qualifierMessage={undefined}
                        schema={{ type: "string", title: "Id" }}
                      ></SchemaItem>
                      <SchemaItem
                        collapsible={false}
                        name={"name"}
                        required={true}
                        schemaName={"Name (string)"}
                        qualifierMessage={undefined}
                        schema={{ type: "string", title: "Name" }}
                      ></SchemaItem>
                      <SchemaItem
                        collapsible={false}
                        name={"project_id"}
                        required={true}
                        schemaName={"Project Id (string)"}
                        qualifierMessage={undefined}
                        schema={{ type: "string", title: "Project Id" }}
                      ></SchemaItem>
                      <SchemaItem
                        collapsible={false}
                        name={"evaluator_key"}
                        required={true}
                        schemaName={"Evaluator Key (string)"}
                        qualifierMessage={undefined}
                        schema={{ type: "string", title: "Evaluator Key" }}
                      ></SchemaItem>
                      <SchemaItem collapsible={true} className={"schemaItem"}>
                        <details style={{}} className={"openapi-markdown__details"}>
                          <summary style={{}}>
                            <strong>settings_values</strong>
                            <span style={{ opacity: "0.6" }}>object</span>
                          </summary>
                          <div style={{ marginLeft: "1rem" }}></div>
                          <div>
                            <span className={"badge badge--info"}>anyOf</span>
                          </div>
                        </details>
                      </SchemaItem>
                      <SchemaItem
                        collapsible={false}
                        name={"created_at"}
                        required={true}
                        schemaName={"Created At (string)"}
                        qualifierMessage={undefined}
                        schema={{ type: "string", title: "Created At" }}
                      ></SchemaItem>
                      <SchemaItem
                        collapsible={false}
                        name={"updated_at"}
                        required={true}
                        schemaName={"Updated At (string)"}
                        qualifierMessage={undefined}
                        schema={{ type: "string", title: "Updated At" }}
                      ></SchemaItem>
                    </ul>
                  </details>
                </TabItem>
                <TabItem label={"Example (from schema)"} value={"Example (from schema)"}>
                  <ResponseSamples
                    responseExample={
                      '{\n  "id": "string",\n  "name": "string",\n  "project_id": "string",\n  "evaluator_key": "string",\n  "settings_values": {},\n  "created_at": "string",\n  "updated_at": "string"\n}'
                    }
                    language={"json"}
                  ></ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem>
      <TabItem label={"422"} value={"422"}>
        <div>Validation Error</div>
        <div>
          <MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}>
            <TabItem label={"application/json"} value={"application/json"}>
              <SchemaTabs className={"openapi-tabs__schema"}>
                <TabItem label={"Schema"} value={"Schema"}>
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary style={{}} className={"openapi-markdown__details-summary-response"}>
                      <strong>Schema</strong>
                    </summary>
                    <div style={{ textAlign: "left", marginLeft: "1rem" }}></div>
                    <ul style={{ marginLeft: "1rem" }}>
                      <SchemaItem collapsible={true} className={"schemaItem"}>
                        <details style={{}} className={"openapi-markdown__details"}>
                          <summary style={{}}>
                            <span className={"openapi-schema__container"}>
                              <strong className={"openapi-schema__property"}>detail</strong>
                              <span className={"openapi-schema__name"}>object[]</span>
                            </span>
                          </summary>
                          <div style={{ marginLeft: "1rem" }}>
                            <li>
                              <div
                                style={{
                                  fontSize: "var(--ifm-code-font-size)",
                                  opacity: "0.6",
                                  marginLeft: "-.5rem",
                                  paddingBottom: ".5rem",
                                }}
                              >
                                Array [
                              </div>
                            </li>
                            <SchemaItem collapsible={true} className={"schemaItem"}>
                              <details style={{}} className={"openapi-markdown__details"}>
                                <summary style={{}}>
                                  <span className={"openapi-schema__container"}>
                                    <strong className={"openapi-schema__property"}>loc</strong>
                                    <span className={"openapi-schema__name"}>object[]</span>
                                    <span className={"openapi-schema__divider"}></span>
                                    <span className={"openapi-schema__required"}>required</span>
                                  </span>
                                </summary>
                                <div style={{ marginLeft: "1rem" }}>
                                  <li>
                                    <div
                                      style={{
                                        fontSize: "var(--ifm-code-font-size)",
                                        opacity: "0.6",
                                        marginLeft: "-.5rem",
                                        paddingBottom: ".5rem",
                                      }}
                                    >
                                      Array [
                                    </div>
                                  </li>
                                  <div>
                                    <span className={"badge badge--info"}>anyOf</span>
                                    <SchemaTabs>
                                      <TabItem label={"MOD1"} value={"0-item-properties"}>
                                        <div style={{ marginTop: ".5rem", marginBottom: ".5rem" }}>string</div>
                                      </TabItem>
                                      <TabItem label={"MOD2"} value={"1-item-properties"}>
                                        <div style={{ marginTop: ".5rem", marginBottom: ".5rem" }}>integer</div>
                                      </TabItem>
                                    </SchemaTabs>
                                  </div>
                                  <li>
                                    <div
                                      style={{
                                        fontSize: "var(--ifm-code-font-size)",
                                        opacity: "0.6",
                                        marginLeft: "-.5rem",
                                      }}
                                    >
                                      ]
                                    </div>
                                  </li>
                                </div>
                              </details>
                            </SchemaItem>
                            <SchemaItem
                              collapsible={false}
                              name={"msg"}
                              required={true}
                              schemaName={"Message (string)"}
                              qualifierMessage={undefined}
                              schema={{ type: "string", title: "Message" }}
                            ></SchemaItem>
                            <SchemaItem
                              collapsible={false}
                              name={"type"}
                              required={true}
                              schemaName={"Error Type (string)"}
                              qualifierMessage={undefined}
                              schema={{ type: "string", title: "Error Type" }}
                            ></SchemaItem>
                            <li>
                              <div
                                style={{ fontSize: "var(--ifm-code-font-size)", opacity: "0.6", marginLeft: "-.5rem" }}
                              >
                                ]
                              </div>
                            </li>
                          </div>
                        </details>
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem>
                <TabItem label={"Example (from schema)"} value={"Example (from schema)"}>
                  <ResponseSamples
                    responseExample={
                      '{\n  "detail": [\n    {\n      "loc": [\n        "string",\n        0\n      ],\n      "msg": "string",\n      "type": "string"\n    }\n  ]\n}'
                    }
                    language={"json"}
                  ></ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem>
    </ApiTabs>
  </div>
</div>
