Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
Extended User response that includes token scope permissions.
curl --request GET \
--url https://api.primeintellect.ai/api/v1/user/whoami \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"role": "USER",
"createdAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"slug": "<string>",
"email": "<string>",
"image": "<string>",
"emailVerified": true,
"hasBetaAccess": false,
"isBanned": false,
"skipPrepay": false,
"blacklist": [],
"scope": {}
}
}curl --request GET \
--url https://api.primeintellect.ai/api/v1/user/whoami \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"role": "USER",
"createdAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"slug": "<string>",
"email": "<string>",
"image": "<string>",
"emailVerified": true,
"hasBetaAccess": false,
"isBanned": false,
"skipPrepay": false,
"blacklist": [],
"scope": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Extended User response that includes token scope permissions.
Show child attributes