Authentication#

Use either header below with a workspace API key. API keys belong on your server, not in browser bundles or URL query strings. Create a separate key for each integration so you can limit access and revoke it independently.

Authentication headers
Authorization: Bearer $LUNI_API_KEY
# Or use this header instead:
X-API-Key: $LUNI_API_KEY
ScopeAllows
readCredit usage, operation inspection, job results and monitor details
scrapePage scraping, source record extraction and monitor changes and checks
mapWebsite URL discovery
searchWeb search and its optional content fetches
crawlCrawl submission and cancellation
companyCompany requests where the service is enabled

Check granted scopes and expiry in API keys. Revoked or expired keys stop authenticating. A valid key with a missing scope returns 403 FORBIDDEN. A key does not enable a service that is unavailable on the server.

Studio generation, saved scrapers and OAuth consent use your signed-in workspace session. API keys do not grant access to those session routes.