The Rhetoric Audit API does not use HTTP authorization headers. Instead, you identify yourself by includingDocumentation Index
Fetch the complete documentation index at: https://www.rhetoricaudit.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
userId or deviceId directly in the JSON request body. The API resolves your access tier from those fields, checks your daily quota or credit balance, and either processes the request or returns an appropriate error.
Identity fields
Your Rhetoric Audit user ID. Obtain this from Dashboard → Settings or by reading the
id field from your Supabase session token. When present, the API checks your credit balance to determine your tier.A client-generated UUID that identifies your device or application. Required when you do not have a
userId. The Chrome extension stores this in chrome.storage and sends it with every request. At least one of userId or deviceId must be present.Access tiers
| Tier | How it is resolved | Daily limit | Credit cost |
|---|---|---|---|
anon | deviceId only, no userId | 10 requests/day | — |
signed_free | userId present, credits balance = 0 | 50 requests/day | — |
paid | userId present, credits balance > 0 | Unlimited | 1 credit per cache miss |
Getting your userId
- Log in at rhetoricaudit.com.
- Go to Dashboard → Settings.
- Copy your user ID from the account details section.
Error responses
400 — Missing identity
If you send a request without eitheruserId or deviceId, the API responds:
429 — Rate limit exceeded
Always
true on a 429 response.The tier that was rate-limited:
anon or signed_free.The daily limit for this tier.
How many cache-miss requests you have made today.
ISO 8601 timestamp of the next quota reset (always UTC midnight).
