<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: jaswant singh</title>
    <description>The latest articles on DEV Community by jaswant singh (@jaswant_singh_22de64b1052).</description>
    <link>https://dev.to/jaswant_singh_22de64b1052</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3950479%2F62ee2e35-e357-43c1-864c-a1589a3687d6.png</url>
      <title>DEV Community: jaswant singh</title>
      <link>https://dev.to/jaswant_singh_22de64b1052</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jaswant_singh_22de64b1052"/>
    <language>en</language>
    <item>
      <title>I built a decision-intelligence API: one POST, a verdict back</title>
      <dc:creator>jaswant singh</dc:creator>
      <pubDate>Mon, 25 May 2026 10:40:37 +0000</pubDate>
      <link>https://dev.to/jaswant_singh_22de64b1052/i-built-a-decision-intelligence-api-one-post-a-verdict-back-21i3</link>
      <guid>https://dev.to/jaswant_singh_22de64b1052/i-built-a-decision-intelligence-api-one-post-a-verdict-back-21i3</guid>
      <description>&lt;p&gt;Most "AI" endpoints give you text. I wanted one that gives you a &lt;em&gt;decision&lt;/em&gt; — a verdict, a confidence score, the reasoning, and a receipt you can verify later. So I built Lumi.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;You POST a question as plain JSON to one REST endpoint:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://api.kauzio.com/public/v1/brain/query &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Authorization: Bearer kz_live_..."&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{ "question": "Should we expand to the US market in Q3?" }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And you get back structured analysis, not prose:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"answer"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Not yet. Two of your top three markets are still under-penetrated. Recommend a Q4 pilot with a 90-day proof window."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;0.74&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"verdict"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"hold"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"receipt_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rcpt_9f3a21c8"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"latency_ms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;312&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What's behind it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A "decide" endpoint that returns a verdict + confidence + reasoning&lt;/li&gt;
&lt;li&gt;An "oppose" endpoint that argues the strongest case &lt;em&gt;against&lt;/em&gt; your decision&lt;/li&gt;
&lt;li&gt;A "verify" endpoint — every decision is signed, so you (or anyone) can confirm it later, no auth needed&lt;/li&gt;
&lt;li&gt;Webhooks for decision.completed, certificate.issued, anomaly.detected&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why signed receipts?
&lt;/h2&gt;

&lt;p&gt;The thing I cared most about: every verdict gets a tamper-proof certificate with a public verify URL. If your app makes an automated call, you can prove what was decided, when, and on what basis. Useful for audit, compliance, or just trust.&lt;/p&gt;

&lt;p&gt;There's a free tier (no card) if you want to poke at it: &lt;a href="https://lumi.kauzio.com" rel="noopener noreferrer"&gt;https://lumi.kauzio.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would genuinely love feedback from this community — especially on the API shape. Does the request/response feel natural to drop into your own code? What endpoints would you want?&lt;/p&gt;

</description>
      <category>api</category>
      <category>ai</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
