Actions42
- Agent Actions
- Channel Actions
- Chat Actions
- Intention Actions
- Interaction Actions
- Training Actions
- Workspace Actions
Agent → Update
AI-generatedSummary
Update an agent via PUT /v2/agent/{agentId} with specified configurable fields.
Inputs
- agentId (required) — Select the agent. Choose from the list, or specify an ID using an expression.
- updateFields (required) — Only the fields you add here will be sent to the API. At least one non-empty field must be provided after empty-string stripping; the agentType field is mapped to 'type' and removed from the body.
Output shape
API response from PUT /v2/agent/{agentId}, typically the updated agent object.
Empty strings are stripped from the body. If agentType is selected, it sets the agent's type and is removed from the payload. The operation throws an error if no valid fields remain after processing.