One API call. It observes, learns, and adapts — you decide.
You tell Cadreen what you want to build. It proposes the rules, connects the tools, and tells you what's ready. Then every response shows you what happened and why.
user_id — a developer-defined identifier for the end user making the request (like your internal customer ID or Auth0 sub). Cadreen uses it to scope memory, conversations, and history to that person. Omit it to build a shared workspace where all requests are tenant-level. Each workspace is isolated by default.Choose your first call
Not sure where to start? Pick the row that matches what you are trying to do.
| I want to | Use | Why |
|---|---|---|
| Ask a question — get an answer grounded in your data | /api/v1/cadreen/chat/completions | OpenAI-compatible. Full intelligence layer — rules, memory, decision logs, tool calling. Drop into any tool that speaks OpenAI protocol. |
| Ask it to do something — refund, transfer, approve — with your rules enforced | /api/v1/cadreen/intent | Cadreen-native. Typed outcomes: answered, needs_input, blocked_by_policy, blocked_by_missing_connection, executing. |
| Set everything up — one call, describe what you need | /api/v1/cadreen/setup | Describe your purpose. Cadreen proposes connections, memory, policies, and webhooks. No manual endpoint choreography. |
| See what it can handle before you go live | /api/v1/cadreen/assess | Capability preflight. Returns what Cadreen can and cannot do for your purpose. No action taken. |
| See exactly why it decided what it did | /api/v1/cadreen/intelligence/{trace_id} | Full breakdown: which rules fired, what knowledge was consulted, why the gate decided what it did. Send this trace to support. |
Choose your path
Pick the path that matches what you're building. Each one has copy-paste code you can run against a dev server.
Swap your base URL. Keep your code. Get governance, memory, and healing for free.
Let Cadreen call your APIs. Every call checked against your rules first.
Teach it facts, preferences, and precedents. It remembers across requests.
Set rules that ask you before Cadreen does something risky.
10-step guide. Send sensor data, receive commands, work offline.
Register Cadreen as an MCP server. Use it inside Claude Desktop, Cursor, or any MCP client.
Model gateway — BYOK, budgets, multi-provider routing. With or without Cadreen.
See what happened, what it learned, and what needs your judgment.
POST /api/v1/cadreen/intent
Authorization: Bearer sk_cadreen_...
{"messages":[{"role":"user","content":"Refund $700 to customer 123 for order 456"}],"user_id":"cust_12345"}{"type":"direct","status":"blocked_by_policy","reason_code":"policy.requires_human_approval","policy_id":"pol_refund_threshold","trace_id":"cad_a2c9"}Try it live
Loading endpoints from OpenAPI spec...