/api/ai/generate
Generate AI content. Subject to the AI request limit for the selected user tier.
A Node.js and Express API demonstrating custom, in-memory rate limiting based on user tier and endpoint category.
/api/ai/generate
Generate AI content. Subject to the AI request limit for the selected user tier.
/api/ai/summarise
Summarise content. Subject to the AI request limit for the selected user tier.
/api/data/list
Retrieve the available data list.
/api/data/export
Access the data export endpoint.
Exceeding a limit returns HTTP 429 until the current 60-second window expires.
Choose the user tier with this header:
X-User-Tier: free
X-User-Tier: paid
Missing or invalid tier values default to the free tier.
Allowed requests return a JSON response:
{"ok":true}