agents

Create Agent

post/api/v1/agents

Headers

authorizationstring nullable

Bearer <token>

Bearer <token>

Request body

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

Response

Successful Response

Changes

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