runanything.ai

Authentication

Every API request needs your key in the Authorization header:

Authorization: Bearer sk-ra-YOUR_API_KEY

Keys start with sk-ra- and are issued by email during the beta — request one at help@runanything.ai. In the OpenAI SDKs, pass the key as api_key / apiKey exactly as you would with OpenAI.

Failed authentication

Requests without a key, or with an unknown key, get a 401 with code invalid_api_key:

{
  "error": {
    "message": "Incorrect API key provided: sk-ra-****abcd. Request a key at help@runanything.ai.",
    "type": "invalid_request_error",
    "param": null,
    "code": "invalid_api_key"
  }
}

Handling your key

  • Keep it server-side. Calling the API from a browser exposes the key to anyone who opens dev tools.
  • Store it in an environment variable, not in source control.
  • If a key leaks, email us and we'll rotate it — revocation is immediate on our side.
Keys are personal during the beta: one key per project, no shared keys. That keeps usage attributable and lets us raise your limits safely.