schemaVersion
schemaVersion: 1
state
state: "closed" | "virgin" | "active" | "inactive" | "archived"
createdAt
createdAt: string
lastActivityAt
lastActivityAt: string
participants
participants: { userIds: string[]; agentIds: string[]; botIds: string[] }
connections
connections: {
channel:
| "whatsapp"
| "telegram"
| "instagram"
| "twilio_sms"
| "twilio_rcs"
| "chatwoot"
| "email"
| "webhook"
| "system"
| "other";
providerConversationId: string;
}[]
memory
memory: Record<string, unknown>
cursor
cursor: {
last_ts_seconds: null | number;
last_message_id: null | string;
updated_at: string;
imported_count: number;
}
message_count
message_count: number
participant_count
participant_count: number
top_senders
top_senders: { contact_id: string; count: number }[]