CreateAgentVersionBody
Request body for creating an AgentVersion.
Definition
TypeScript
interface CreateAgentVersionBody {
agentId: string;
name?: string | undefined;
instructions?: string | undefined;
models?: Array<string> | undefined;
inputSchemaId?: string | null | undefined;
outputSchemaId?: string | null | undefined;
}Fields
| Field | Type | Notes |
|---|---|---|
agentId | string | required — Agent to create a new version of. |
name | string | undefined | optional |
instructions | string | undefined | optional |
models | Array<string> | undefined | optional |
inputSchemaId | string | null | undefined | optional |
outputSchemaId | string | null | undefined | optional |