agents

Update Agent

patch/api/v1/agents/{agent_id}

Path parameters

agent_idstring uuid required

Headers

authorizationstring nullable

Bearer <token>

Bearer <token>

Request body

channel'email' | 'push' nullable
namestring nullable
trigger_descriptionstring nullable
trigger_source'posthog_event' | 'subscription_event' | 'enrichment' | 'agent_chain' | 'renewal_date' | 'habit_rebuild' | 'habit_maintenance' | 'first_week' | 'streak' nullable
event_namestring nullable
hogql_querystring nullable
trigger_match'any' | 'all' nullable
condition_window_daysinteger nullable
instructionsstring nullable
sender_accountstring nullable
sender_display_namestring nullable
resend_from_emailstring nullable
reply_tostring nullable
auto_sendboolean nullable
delivery_mode'review' | 'auto' | 'slack' | 'discord' | 'resend' | 'autosend' | 'push' | 'info' nullable
autonomy_level'off' | 'shadow' | 'live' nullable
holdout_enabledboolean nullable
info_channel'slack' | 'discord' nullable
digest_idstring uuid nullable
enrichment_backfill_daysinteger nullable
min_confidencenumber nullable
enrichment_match_allboolean nullable
poll_fromstring date-time nullable
trigger_delay_hoursinteger nullable
trigger_delay_minutesinteger nullable
stale_after_hoursinteger nullable
renewal_offset_daysinteger nullable
exclusivity_groupstring nullable
priorityinteger nullable
parent_agent_idstring uuid nullable
ignore_liststring[] nullable
review_context_keysstring[] nullable
cooldown_daysinteger nullable
daily_capinteger nullable
context_mode'trigger' | 'activity_window' nullable
context_window_daysinteger nullable
copy_mode'ai' | 'template' nullable
enrichment_context_thresholdnumber nullable
enrichment_instructionsstring nullable
feedback_questionsstring nullable
enabledboolean nullable
skip_redraftboolean
base_instructions_versioninteger nullable

Response

Successful Response

Changes