Skip to main content
Manage agents throughout their lifecycle with operations like update, delete, clone, and list.

Quick Start


Get Agent

Retrieve an agent by its ID.

Parameters

Example


List Agents

List all agents in your account.

Example

Filtering Agents


Update Agent

Update an agent’s configuration.

Parameters

Examples

Update Basic Properties

Update Instructions

Enable Features

Update with Structured Output


Delete Agent

Delete an agent permanently.

Example

Delete by ID


Bulk Delete

Delete multiple agents at once.

Example

Delete All Agents (Careful!)


Clone Agent

Create a copy of an agent with a new name.

Parameters

Examples

Basic Clone

Clone with Default Name

Clone and Modify


Agent Properties

Access agent properties directly:

Convert to Dictionary


Error Handling


Examples

Agent Versioning Pattern

Agent Migration

Cleanup Old Agents