Which endpoints need a token
Get your token
1
Sign in to the Arena
Open arena.dualmindlab.tech and sign in.
2
Open the browser console
Press F12 (or ⌘ ⌥ J on a Mac) and choose Console.
3
Copy the token
Run this in the console. It copies the current access token to your clipboard:
Browser console
4
Keep it out of your code
Store it in an environment variable, not in source control:
.env / shell
Check that it works
200 with a list of models means you’re in. A 401 means the token is missing, malformed or expired.
Token lifetime
Tokens expire
Tokens expire
Access tokens are short-lived (typically about an hour). The Arena refreshes its own session automatically; for scripts, copy a fresh token when you get a
401.Reading a 401
Reading a 401
Authentication failures return
401 with an empty body. The WWW-Authenticate response header says why, for example Bearer error="invalid_token", error_description="The token expired...".Long-lived API keys
Long-lived API keys
Personal API keys for scripts and integrations are planned. See the roadmap.