Agents API

Update an automation (partial)

patch/api/v1/automations/{id}

Request

  • Base URL: https://three.ws
  • URL: https://three.ws/api/v1/automations/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

idstring required

Headers

Idempotency-Keystring

A retry with the same key and body replays the stored response for 24 hours.

Request body

titlestring

Up to 80 characters; defaults to a description of the trigger and action.

triggerobject

One of: schedule (cron), price_threshold, balance_below, whale_buy and others listed in the guide.

actionobject

One of: agent_prompt, notify, swap, transfer. swap and transfer spend funds: they need confirm: true and a key holding wallet:write.

triggerOnceboolean
limitsobject

Spend ceilings for swap and transfer actions.

confirmboolean

Required for swap and transfer actions.

enabledboolean

Response

The { data, meta: { requestId, timestamp } } envelope.

Changes

No recorded changes to this operation across all 1 revision of this API.