RG_LIVE Endpoints
These are the only public routes intended for external tools usingrg_live_* keys.
POST /api/keys/create
Creates a new key for a script.
Auth
Use one of:x-api-key: rg_live_...Authorization: Bearer rg_live_...- body field
apiKeyorapi_key
Body
Notes
scriptIdrequiredtype:permanentortemporarydurationused for temporary keys (minutes)prefixoptional, sanitized to alphanumeric/-/_
Success (200)
Errors
400invalid JSON, missingscriptId, invalid prefix401invalid API key500internal error
POST /api/keys/verify
Validates whether a key exists for a script and is currently valid.
Auth
Use one of:x-api-key: rg_live_...Authorization: Bearer rg_live_...
Body
Valid (200)
Invalid (200)
Errors
400missingscriptIdorkey401missing/invalid API key500database/internal failure