Authentication
Every published endpoint requires a bearer token.
Generate a token
- Sign in and open Settings.
- Select Generate Access Token.
- Copy the token and store it somewhere safe. It is shown once.

Use the token
Send it in the Authorization header on every request:
curl https://api.subconscious.ai/api/v1/traits \
-H "Authorization: Bearer $SUBCONSCIOUS_TOKEN"
A missing or invalid token returns 403.
Keep it secret
The token carries your account's full API access, and experiments cost money to run. Treat it as a credential:
- Never commit it to a repository or paste it into a shared document.
- Keep it in an environment variable or a secret manager, not in source.
- Rotate it from the settings page if you think it has leaked.