Updates an existing BYO Agent by its UID. Use this endpoint to modify agent configuration, update referenced tools, or change the connected AI framework.
Validation: Referenced tools and actions are validated if provided.
API Key (i.e. Rest API Key from the Dashboard).
Chat API version. Defaults to v3.0.
Unique identifier of the agent
Name of the agent
URL to the icon/avatar of the agent
Whether the agent is active
Integration platform identifier
mastra Type of connection
agent Mastra-specific configuration
List of tool names (must exist in the app's tools)
List of action names (must exist in the app's actions)
Metadata for the agent
Agent updated successfully
Indicates whether the operation was successful
true