
Mind Reasoner API uses Bearer token authentication. Every request requires your API key in the Authorization header—no complex OAuth flows or token refresh mechanisms.
Log in to your Mind Reasoner account and navigate to your account dashboard or settings.
Include your API key in the Authorization header of every request:
The format is: Authorization: Bearer YOUR_API_KEY
Note the space between “Bearer” and your key. This is required.
.env files (add to .gitignore)process.env or equivalentStore your API key in environment variables for different platforms:
Create a .env file in your project root:
Add .env to your .gitignore:
Access in your code:
Cause: Invalid or missing API key
Response:
Solutions:
Cause: Valid key but insufficient permissions
Response:
Solutions:
Follow this checklist to keep your API keys secure:
.env files added to .gitignoreUnderstand minds, snapshots, and simulations in the Core Concepts guide.
Follow the Quick Start guide to create your first mind and run simulations.
Explore all endpoints, parameters, and responses in the complete API Reference.