Auth
Get the authenticated user and workspace
Returns the authenticated user and (when present) workspace from the auth context, plus the calling credential's own scopes. Requires an authenticated user but NOT a workspace — workspace is omitted when the caller has none.
get/v1/auth/whoami
Response
The caller's identity
Example response
{
"user": {
"userId": "user_2abcDEFghiJKLmnop",
"email": "dev@example.com"
},
"workspace": {
"workspaceId": "org_2abcDEFghiJKLmnop",
"slug": "acme-inc"
}
}