Saif Ali Shaik —
Is there a way (a API) that where I can get the current logged in user details? such as email address? or any identifier?
I watched the stream recording for Archestra, and it was actually great. By the way, what projects are you all working on?
/health api endpoint works. But if try to GET /api/organization I see:I'm using the API key at: Settings > Your Account > API Keys > Create API Key
cURLRead-only live mirror of Archestra.AI Slack
👋Join the discussion withAI enthusiasts!{
"session": {
"userId": "...",
"activeOrganizationId": "..."
},
"user": {
"id": "...",
"email": "<mailto:user@example.com|user@example.com>",
"name": "Jane Doe",
"role": "admin",
"emailVerified": true
}
}```
*Option 2: API key*
API keys use the header format `Authorization: archestra_<key>`
Currently there isn't a dedicated "get my user info" endpoint that works with API keys. The `/api/auth/get-session` endpoint only recognizes cookie sessions
There is the `GET /api/user/permissions` endpoint, which will return your RBAC permissions (but not email/name)