Agent Triggers

Update trigger status

Enable or disable a trigger for the specified agent.

patch/api/agents/{agentId}/trigger/{triggerId}/status

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Path parameters

agentIdstring uuid required

Unique identifier of the agent

triggerIdstring uuid required

Unique identifier of the trigger

Request body

enabledboolean required

Whether the trigger should be enabled or disabled

Response

Successful response

successboolean required

Whether the status update was successful

enabledboolean required

Current enabled state of the trigger after update

Changes

No recorded changes to this operation across all 2 revisions of this API.