Dynamic Behaviors
Tables for behavior configurations, triggers, and invocations.
Dynamic Behavior Sets Table
Table Name: dynamic_behavior_sets
Description: Dynamic behavior configurations for services
_id
string
Behavior set identifier
applied_to_services
array<string>
Associated service IDs
created_at
timestamp
Creation timestamp
creator_user_id
string
Creator user ID
is_active
boolean
Active status
is_deleted
boolean
Deletion status
latest_version_triggers
json
Current trigger configuration
name
string
Behavior set name
org_id
string
Organization identifier
region_name
string
Deployment region
tags
json
Associated tags
updated_at
timestamp
Last update timestamp
updated_by_user_id
string
Last updater user ID
SELECT
_id,
name,
applied_to_services,
is_active,
updated_at
FROM dynamic_behavior_sets
WHERE is_active = true
AND is_deleted = false;Dynamic Behavior Triggers Table
Table Name: dynamic_behavior_triggers
Description: Trigger definitions for dynamic behaviors
_id
string
Trigger identifier
conversation_trigger
string
Trigger condition
conversation_trigger_embedding
array<number>
Trigger embedding vector
created_at
timestamp
Creation timestamp
dynamic_behavior_set_id
string
Parent behavior set ID
dynamic_behavior_set_version
integer
Behavior set version
expired_at
timestamp
Expiration timestamp
org_id
string
Organization identifier
region_name
string
Deployment region
updated_at
timestamp
Last update timestamp
SELECT
conversation_trigger,
dynamic_behavior_set_id,
dynamic_behavior_set_version,
expired_at
FROM dynamic_behavior_triggers
WHERE expired_at IS NULL OR expired_at > NOW();Dynamic Behavior Invocations Table
Table Name: dynamic_behavior_invocations
Description: Records of triggered dynamic behaviors in conversations
_id
string
Invocation identifier
agent_inner_thoughts_ids
array<string>
Agent thought IDs
agent_message_id
string
Agent message ID
conversation_id
string
Associated conversation ID
created_at
timestamp
Creation timestamp
dynamic_behavior_set_version_info
json
Version information
external_event_message_ids
array<string>
External event IDs
initial_message_id
string
Initial message ID
invoked_at
timestamp
Invocation timestamp
org_id
string
Organization identifier
region_name
string
Deployment region
service_id
string
Associated service ID
updated_at
timestamp
Last update timestamp
user_id
string
Associated user ID
SELECT
conversation_id,
service_id,
user_id,
invoked_at,
dynamic_behavior_set_version_info
FROM dynamic_behavior_invocations
ORDER BY invoked_at DESC;Last updated
Was this helpful?

