Query / admin
getUserBy
Fetch a user by external ID or email. Requires user:read permission.
Arguments
externalIdStringExternal system identifier
emailStringUser email address
Returns UserState
Scalar fields at a glance
idUserID!externalIdStringemailString!nameStringkindUserKind!createdAtString!Explore in a view
View exact SDL
"""Fetch a user by external ID or email. Requires user:read permission."""
getUserBy(
"""External system identifier"""
externalId: String
"""User email address"""
email: String
): UserState @topic(names: ["admin"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.