GET
/
session
curl --request GET \
  --url https://ragapi.sno.ai/v1/session \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "[email protected]",
    "firstName": "<string>",
    "lastName": "<string>",
    "profilePictureUrl": "<string>",
    "hasOnboarded": true
  }
}

Retrieves the current user’s session information, including user ID, email, name, profile picture URL, and onboarding status.

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Response

200
application/json

Successful response with session data

The response is of type object.