Agent Management

Update an agent's name, description, deployment target, icon, generated questions, or reconfigure its YAML. Only the creator of the agent can perform this operation.

put/v1/agents/update

Request

Request body multipart/form-data

agent_idstring required

The ID of the agent to update.

namestring nullable

New name for the agent.

descriptionstring nullable

New description for the agent.

deploy_tostring nullable

New deployment target: 'AgentStore' or 'Organization'.

yaml_filestring binary nullable

The new YAML configuration file.

agent_iconstring binary nullable

New agent icon.

Response

Successful Response

messagestring required

Human-readable result message.

Example response

{
  "message": "Operation completed successfully."
}

Changes