db_mirror_status
Show whether this workspace's read-only platform-data mirror is on: enabled, status, synced_at, last_error, and the views in schema dialogbrain_v1 that db.query can read (threads, messages, contacts, entities, channel_accounts, files, agents, calls, campaigns, campaign_items). Example once healthy: db.query sql="SELECT id, title, last_message_preview FROM dialogbrain_v1.threads WHERE channel_account_id = AND last_message_is_outgoing = false". Turn it on with db.mirror.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |