How to create a ClearRun API key

Sign in at api.clearrun.net/account/keys and choose Create API key. Copy the key right away. It is shown only once and starts with crun_. A verified free account can create one developer key.

Last updated

Steps

  1. Open the API keys page

    Go to api.clearrun.net/account/keys and sign in.

  2. Create the key

    Choose Create API key.

  3. Copy it now

    The page shows "Your new key (copy it now, it will not be shown again):" with a Copy button. Save it somewhere safe, such as a password manager or your CI secrets.

  4. Use it

    npx @clearrun/cli login

    Or set it as CLEARRUN_API_KEY.

On a free plan

A signed-in account with a verified email can create one developer key. It calls evaluate, score and chat, returns the free verdict, and is limited to 2 requests a second, 6 a minute, 30 an hour and 40 a day. Revoke it before creating another. An unverified email is refused with 403 EMAIL_NOT_VERIFIED. See Why can a free account key be refused?

Lost the key?

ClearRun keeps only a hash, so it can't show it again. Create a new one.