ClearRun API help

Call the hosted API directly: auth, score, evaluate, chat, verify and exports. A verified free account can create one developer key.

Last updated

Start here

  1. How to authenticate ClearRun API requests

    Send your API key as Authorization: Bearer crun_.... A verified free account can create one developer key. Paid plans can turn API access off.

  2. How to score text with POST /api/score

    Send POST /api/score with the answer as responseText and your key. You get back verdict and receipt. Use it when you have the answer but not the prompt.

  3. How to score an answer and its prompt with POST /api/evaluate

    Send POST /api/evaluate with responseText and, if you have it, the prompt that produced it. The answer must be 10 to 100,000 characters. Steps inside.

  4. How to look up a verdict with GET /api/verify/{verdictId}

    GET /api/verify/{verdictId} looks up a ClearRun verdict with no key and no credits. It returns verified, the checks, the receipt and the verdict. More inside.

All API articles

Other topics