---
id: get-evaluator-config-evaluators-configs-evaluator-config-id-get
title: "Get Evaluator Config"
description: "Endpoint to fetch evaluator configurations for a specific app."
sidebar_label: "Get Evaluator Config"
hide_title: true
hide_table_of_contents: true
api: eJzNVktPGzEQ/iuWT62EEop62lPDQ4CgLQLaS4giszubGDZeY8+ipqv8987Yzos8inpqLnHsb8Yz33wzTitRjbzM+vLsVVWNwtp5OTiQBfjcaYu6NjKTZ6awtTYosBYlYD4WMEeLvDalHjVOMdaLkraU8BZyXepcKGs7D+bB3AI2zvjswQj6XGuP/cWFJ8HD6fEgEz1R0ZGoy10XiPrxCXL0HXkgawtx87KgGEeAw4XRMBotN3za8cNNkC6GQ7Imj1Y5NQEEx4y00tAP8rzFgLCaibEKx7R28NJoBxQGugYOpM/HMFEyayVOLbvw6LQZERI1VryxSF7E7AXlMJsN2JW3xCN4tj46POSv9WLcNXkO3pdNJW4TmBxTaAgGGU6cVzoPzHSfPNu0KxFZx7yhjjdQKnui5KAOEg27Ud/4nHDkmWsz3O/zJqJE9L3k9hmm7yPsioBk6QGRIH7IBzEZZabfy1C55CWKhdCLHdNUlWSe537vkhvxM7ohz7kDhVAMFe4L6CSiRI/9y8YW77D5EVHBhozWo1yVUV8GjQXm14h9y9hatGthDLZwF7VGd/Ptn4+ONsVFLOgidtqZc7X7d2UVgEpXQWMIE78JqOp87XSjeom+lerRCIIROCrgkj3lnJqucHxdxwC5KhM/2leOr9RGahS0GyF75MdkiHs+/VvlOK94dcKtVGJJb2R3dxqnkb5tl80hF/f3NxsOY21piI3rNBXDXKMxlcnuchx20zjstlum20xye7nX+RxsHNVRjhGtz7rdvKqbokO8GVQdpbvKavn2weiFU3HC0NBuHvLGaZwGf72bS2riC1AF1TLrD1YBdyynKJB12KI2dN9VUH4az72GcnX6d6x6GszjaMVcaFPWwTzRlmI7VvkzGO4ozjOGfdj51DnclUwyEBRW6gqVh66YxxFg3IRrdC2I4t6dhJaQCGryZXnAUdra40SZFX/ngOLtM/E2tnbZnf/pI52KhvALu7ZSOvRlYKhNsuwvR5qPxLIwaZVte3hJKmOiis3a9lF5+OGq2Yy3XxpwrC9aviqn1SNXm9RWaM9r6oZSVR72MPjhNrXxR7Er8rkGDQswvDz0i5bh9dr6TyHMqvFc621C9ugNt7jiY2O0clMs2vj87J5U8gcwC1rP
sidebar_class_name: "get 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={"Get Evaluator Config"}></Heading>

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

Endpoint to fetch 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>
<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>
