Chat integrations
SemiLayer plugs into the chat tools your team already lives in — Slack and Discord today, with a single OAuth install. Every product surface on the platform is reachable from chat: search a lens, run an analyze, watch a metric, get a notification when ingest fails. The bot is opt-in, RBAC-aware, and audit-logged.
This is the hub. Each link below dives into one capability.
ℹ️
The same API key powers all of these. There are no separate "chat licenses" — installing the bot into a workspace does not change billing. Notifications and scheduled watches count against your existing API quota.
What you can do from chat
| Capability | Page | Slack | Discord |
|---|---|---|---|
| Install the bot | Install | ✅ | ✅ |
| Link your chat identity | Install | ✅ | ✅ |
| Search a lens | Slash commands | ✅ | ✅ |
| Find similar rows | Slash commands | ✅ | ✅ |
| Run a typed predicate query | Slash commands | ✅ | ✅ |
| Read a feed page | Slash commands | ✅ | ✅ |
| Render an analyze as a chart image | Analyze | ✅ | ✅ |
| Schedule a recurring post | Watch & Remind | ✅ | ✅ |
| Subscribe to system notifications | Notifications | ✅ | ✅ |
| Pin scope to a channel | Scoping | ✅ | ✅ |
How the surfaces fit together
Three independent layers stack:
- Identity —
/semilayer loginties your chat user to your SemiLayer account. Every command runs as you with your RBAC. A viewer can search; an admin canhere setand watch. - Scope — every read needs an
org / project / env / lens. Pass them on the command (--org=acme --lens=products), pin them per channel with/semilayer here set, or set them per user with/semilayer config set. The resolver walks the chain in that order. - Surface — once identity + scope are settled, every command is
a thin wrapper over the platform API.
searchcallsPOST /v1/search/:lens.analyzecallsPOST /v1/analyze/:lens/:name. The chat layer adds rendering + signing + audit.
Privacy & defaults
- Read commands post privately by default in shared channels. You
see the result; nobody else does. Add
--publicto broadcast the same response to the channel. - Notifications never leak across orgs. A channel can subscribe
to one org's notifications. Posting to
#engineeringfromacmedoesn't reveal anything fromglobex. - Watches fire as the creator. A watch you set up runs with your RBAC at fire time. If your role drops below what the watch needs, the watch soft-pauses and DMs you a pointer to resume it.
- Audit log entries land in the platform's
admin_audit_logfor every state change — installs, linkings, subscriptions, watches, and/herepins.
Pick your starting point
Install the bot
OAuth round-trip into Slack or Discord, then
/semilayer login to bind your identity.Slash command reference
Every command, every flag, every option — copy/pasteable.
Analyze → chart image
Turn any declared analyze into a posted chart with one slash command.
Watch & Remind
Schedule a recurring post for any read or analyze. "Daily standup metrics" in one line.
Chat notifications
Subscribe a channel to ingest, billing, member, or admin events.
Channel scope (
/here)Pin org / project / env / lens defaults to a channel so commands stay terse.