cURL
Update the Agent's name, description, or draft config.
Updating an Agent requires Knowledge Base - Modify permission.
The
agent_config structure is the same as Create Agent.Authorizations
string
header
required
DashScope API Key, obtained from the API Key page in the console.
Body
application/jsonstring
required
Agent ID.
string
New Agent name, up to 200 characters.
length <= 200
string
New Agent description, up to 1000 characters.
length <= 1000
string
Agent version number, defaults to beta. When a published version number is passed, only agent_version_desc can be modified.
string
Version description.
object
Agent configuration object. If not provided, default configuration is used.
Response
200-application/json