Atlas
Auth

Get current session

Returns the current session and user info. Requires a valid session cookie or Authorization header.

GET
/api/auth/get-session

Authorization

bearerAuth
AuthorizationBearer <token>

API key or JWT token. Pass via Authorization: Bearer .

In: header

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:3001/api/auth/get-session"
{}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}