Authentication

Use a personal Runlode key to authenticate your server-side API requests.

Before you start#

  • Create an active key using API keys.
  • Have enough available AI balance for the request reservation.
  • Choose a public model ID from the current catalog.

Base URL#

https://api.runlode.xyz/v1

Both documented endpoints live on the dedicated API host. The site origin keeps answering /v1 requests as a fallback, so existing integrations keep working.

Authorization header#

curl -fsS https://api.runlode.xyz/v1/models \
  -H "Authorization: Bearer $RUNLODE_KEY"

Set RUNLODE_KEY in your server environment before running the command. Never paste the real secret into code you share with others. Replace model placeholders only with public IDs returned by the model list.

Invalid or revoked keys#

A missing, invalid or revoked key returns HTTP 401 with INVALID_API_KEY. Check the Authorization header, then verify that the key is active in Terminal. Errors documents the response format.

Search documentation

Start typing to search the documentation.