Clef Demo

2026-10-11

Clef Omni API Quickstart

Call Clef Omni via POST /v1/clef-omni/run with a sk_live_ API key �?curl example, auth, and credit metering.

1) Get a key Register at [/account/](/account/), create an API key (`sk_live_…`). Copy it once. ## 2) Call the API

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": "Checkout failing for all customers for 1 hour.",
    "questions": {
      "urgent": { "type": "noul", "instructions": "Is this urgent?" },
      "team": {
        "type": "choice",
        "instructions": "Which team owns this?",
        "criteria": {
          "billing": "Payments",
          "technical": "Outages",
          "sales": "Plans"
        }
      }
    }
  }

3) Metering Successful uncached runs consume credits �?input tokens. Cache hits are free. See [pricing](/pricing/) and [API docs](/docs/api/clef-omni/).

Ready to test? Open the Clef Decision Playground.

Clef Omni API Quickstart · Clef Demo