Authentication
Cortex uses bearer tokens. A developer is a normal Cortex user tied to an organization.
Login
| Method | Path | Auth | Purpose |
|---|---|---|---|
POST | /auth/login | None | Validate credentials and return a token plus user profile. |
POST /auth/login
Content-Type: application/json
{
"email": "developer@example.com",
"password": "..."
}Use The Token
Authorization: Bearer <token>Current Identity
| Method | Path | Auth | Purpose |
|---|---|---|---|
GET | /me | Bearer token | Return the authenticated request context. |