---
title: "UpdateAgentVersionBody"
description: "Request body for updating an AgentVersion."
section: "Reference"
group: "Types"
order: 10
---

## Definition

```ts
interface UpdateAgentVersionBody {
  name?: string | undefined;
  instructions?: string | undefined;
  models?: Array<string> | undefined;
  inputSchemaId?: string | null | undefined;
  outputSchemaId?: string | null | undefined;
}
```

## Fields

| Field            | Type                          | Notes      |
| ---------------- | ----------------------------- | ---------- |
| `name`           | `string \| undefined`         | `optional` |
| `instructions`   | `string \| undefined`         | `optional` |
| `models`         | `Array<string> \| undefined`  | `optional` |
| `inputSchemaId`  | `string \| null \| undefined` | `optional` |
| `outputSchemaId` | `string \| null \| undefined` | `optional` |
