OnyxIQ uses session-based authentication. There is no separate API key system — every request is authenticated using the session cookie set when you sign in at onyxiq.in/login.Documentation Index
Fetch the complete documentation index at: https://docs.onyxiq.in/llms.txt
Use this file to discover all available pages before exploring further.
How it works
When you sign in at onyxiq.in/login, a session cookie namedsb-[project-ref]-auth-token is set in your browser. The API reads this cookie on every request to verify your identity and check your credit balance.
In the browser, the cookie is attached automatically to same-origin requests — no extra steps required.
In cURL or scripts, you must copy the cookie value from your browser and pass it with each request.
Getting the cookie for cURL
Sign in
Go to onyxiq.in/login and complete sign-in.
Open DevTools
Open your browser’s DevTools (F12), go to Application → Cookies, and select
https://onyxiq.in.Example request
[ref] with the project ref in the cookie name you copied (e.g. sb-abcdefgh-auth-token) and [token] with the full cookie value.
Error responses
| Status | Body | Meaning |
|---|---|---|
401 | {"error":"Authentication required"} | The session cookie is missing, expired, or invalid. Sign in again at onyxiq.in/login. |
402 | {"error":"Insufficient credits...","balance":N,"required":10} | Your account does not have enough credits. Top up at onyxiq.in/credits. |
