Introduction to the Senso SDK
Senso is a single REST layer that sits between your data and your AI agents. We act as the Context OS enabling developers to ingest raw content, spin up an agent-ready context window, and trigger actions anywhere—all via schema-safe JSON.
A Context OS is a unified knowledge layer for your application: it ingests documents, emails, and web content, normalizes them into schema-safe data, and exposes rule-driven webhooks—enabling developers to add AI agents, chatbots, or workflow automations with minimal integration effort and immediate, reliable context.
SOURCE → SENSO WORKSPACE → DESTINATION
Zone | What you do | Key endpoints / notes |
---|---|---|
SOURCE | Point any raw input at Senso | • POST /content/* — files, single pages, full-site crawls• POST /conversations — calls, chats, support-email threads |
SENSO WORKSPACE | Index, label, transform, and route the data | • /search , /generate — query / transform• /rules , /rules/{id}/values — define classifications (“BUG”, “FEATURE”)• /triggers + /webhooks — fire actions when a rule value matches |
DESTINATION | Receive clean JSON and act on it | Any endpoint you register as a webhook (GitHub, HubSpot, Gmail, Slack, DB, etc.) — Senso posts directly to it |
Now we’re going to walk through the simplest end-to-end flow:
- Upload content (our “Hello World” text) so Senso has something to work with.
- Create a rule that flags any content containing the word HELLO.
- Register a webhook (point it at RequestBin, Hookdeck, or any public URL).
- Link a trigger so that every HELLO hit instantly calls your webhook.
- (Bonus) Run a quick search and generate to prove the Workspace can answer questions and transform text.
Paste the snippet below (after exporting SENSO_KEY
) and you’ll see the complete Source → Workspace → Destination loop in action—ready to copy-paste for your own use case.
Prerequisite
Ensure you have received the “Your Senso Platform Access” email containing your unique API key and access domain. Contact [email protected] if you require assistance.