Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt

Use this file to discover all available pages before exploring further.

All API requests require a bearer token in the Authorization header.
Authorization: Bearer $CONSOLE_API_KEY
You can create an API key from the API Keys section of the console, or programmatically via POST /api/v3/keys. Existing keys can be listed and revoked through the same endpoint family.
import requests

headers = {"Authorization": "Bearer $CONSOLE_API_KEY"}
response = requests.post(
    "https://api.lighton.ai/api/v3/search",
    headers=headers,
    json={"query": "vacation policy", "max_results": 3},
)

Error responses

StatusMeaning
401Missing or invalid API key
403Key exists but lacks permission for this resource
429Rate limit exceeded