# Update an eval

> Updates an eval. Changing `agent_id` re-validates the scorers against the new agent, since an `output_schema` scorer that was legal against the old one may not be.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Update an eval"}
>
</Heading>

<MethodEndpoint
  method={"put"}
  path={"/api/v1/evals/{eval_id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Updates an eval. Changing `agent_id` re-validates the scorers against the new agent, since an `output_schema` scorer that was legal against the old one may not be.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./update-eval.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./update-eval.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./update-eval.StatusCodes.json")}
>
  
</StatusCodes>
