Clef Demo

Integrate Clef Omni with a Simple REST API

Hosted decide endpoint for agents: authenticate with an API key, send state + typed questions (and optional media), get calibrated option probabilities. Upstream Cloudflare credentials stay on our servers.

bash
curl https://clefdemo.com/v1/clef-omni/run/ 
  -X POST 
  -H "Authorization: Bearer sk_live_YOUR_KEY" 
  -H "Content-Type: application/json" 
  -d {
    "model": "clef-omni",
    "state": "A customer reports repeated payment failures.",
    "questions": {
      "urgent": {
        "type": "noul",
        "instructions": "Is this issue urgent?"
      }
    }
  }
  1. Register and create a sk_live_ key
  2. Buy a prepaid pack on Pricing (1 credit ≈ 1 input token (media is tokenized as input). Packs from $5.)
  3. Call POST /v1/clef-omni/run/ — full parameters, errors, and TS/Python/curl tabs

Learn the model: Clef Omni capabilities. Tutorials: Python, quickstart.