Creates a new widget.
id
(string): Generated widget UUIDpathway_id
(string): Associated pathway UUIDagent_id
(string | null): Associated agent UUID or nullallowed_domains
(string[]): Array of allowed domainsmessages_per_minute
(number): Rate limit for messagesconfig
(object): Widget configuration objectcreated_at
(string): ISO timestampupdated_at
(string): ISO timestamp