Authenticated user, role and accessible workspaces
Minimum role: VIEWER. Active workspace via the X-Workspace-Id header. activeWorkspaceId is null and workspaces is [] when the credential is valid but the user does not have any workspace yet (just registered via POST /auth/signup, before POST /workspaces).
/meAuthorizationAPI key · headerrequiredAPI key prefixed with Bearer . Alternative: the x-api-key header with the raw key. Available scopes: read and write (see /.well-known/oauth-protected-resource).
x-api-keyAPI key · headerrequiredRaw API key (without Bearer ), alternative to Authorization.
X-Workspace-IdstringActive workspace to operate on. Optional: when omitted, the default workspace of the user who owns the key is used (pickActiveOrg).
OK
dataMerequiredShow propertiesHide properties
userIdstringrequirednamestringrequiredemailstringrequiredrolestringrequiredDEPRECATED: effective role in the ACTIVE workspace. Use the role of each workspaces row instead. Kept for compatibility with already-published clients.
SUPER_ADMINADMINSTAFFVIEWERMINCULTURAactiveWorkspaceIdstring | nullrequiredShow propertiesHide properties
stringnullworkspacesWorkspaceAccess[]requiredShow propertiesHide properties
WorkspaceAccessidstringrequirednamestringrequiredslugstringrequiredrolestringrequiredThe user's effective role IN THIS workspace.
SUPER_ADMINADMINSTAFFVIEWERMINCULTURAsectionsstring[] | nullrequiredEnabled sections (slugs). null = unrestricted; [] = access expired or revoked.
Show propertiesHide properties
stringstringnullMissing or invalid credential.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyInsufficient role or resource not accessible.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyResource does not exist or is out of scope.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyRequest body/parameter validation failed.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsany
