id | string | Unique user identifier (UUID). |
foreignId | string | null | Your system’s user ID if this user was created via external auth. |
projectId | string | The project this user belongs to. |
role | "admin" | "moderator" | "visitor" | The user’s role within the project. |
name | string | null | Display name. |
username | string | null | Unique username handle. |
avatar | string | null | Avatar image URL. |
avatarFileId | string | null | ID of the managed avatar file record. |
bannerFileId | string | null | ID of the managed banner file record. |
avatarFile | File | null | Populated avatar file object when include contains "files". |
bannerFile | File | null | Populated banner file object when include contains "files". |
bio | string | null | Short biography (max 300 characters). |
birthdate | Date | null | User’s date of birth. |
location | GeoPoint | null | GeoJSON point representing the user’s location. |
metadata | Record<string, any> | Custom key-value data for your project (max 10 KB). |
reputation | number | The user’s overall reputation total — the sum of all their reputation buckets across every space. Always present. See Reputation. |
spaceReputation | number | Opt-in. The user’s reputation in a specific space, added only when an endpoint is called with the spaceReputation object (or the deprecated spaceReputationId param). See Reputation. |
createdAt | Date | Timestamp when the account was created. |