---
title: "Update Eval Config"
method: PUT
path: "/eval_configs/{id}"
---

# Update Eval Config

`PUT /eval_configs/{id}`

## Request

- Base URL: `https://api.vogent.ai/api`
- URL: `https://api.vogent.ai/api/eval_configs/{id}`
- Auth: HTTP bearer

Updates an AI evaluation configuration.

## Request body

- UpdateAIEvalConfigInput
  - `promptSnippet` string: The prompt snippet for the evaluation configuration.

## Response `200`

Successful operation

- AIEvalConfig
  - `id` string, required
  - `name` string, required
  - `promptSnippet` string, required

## Other responses

- `400`: Invalid input
- `422`: Validation exception

---

[API](https://skmtc.dev/vogent/apis/vogent-openapi-3-0.md) - [All operations](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/revisions/a5966cc364ef?raw)
