← All Foundational Objects/Prefix: user_39 Fields
AI-Agent-First Documentation
/SKILL.md
Prompt your Agent: "Query and mutate records on the 'user' table (ID prefix 'user_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."

User (user)

User is you! What we need to make sure the application works best for you!

Python SDK & PlatformContext Example
# 1. Query user via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM user ORDER BY created_date DESC LIMIT 25")

# 2. Create user record (Generates 'user_...' Base62 ID)
created = await platform.records.create("user", [
    {"name": "Example User"}
])
Field API NameType / FormatLookup TargetFlagsDescription
idstring—requiredsystemId
namestring—Name
created_datestringdate-time—systemCreated Date
modified_datestringdate-time—systemModified Date
created_bystringlookup→ user (string ID)systemCreated By
modified_bystringlookup→ user (string ID)systemModified By
emailstringemail—Email
first_namestring—First Name
last_namestring—Last Name
phonephonejson—Phone
is_activeboolean—Is Active
is_superuserboolean—Is Superuser
is_account_ownerboolean—Is Account Owner
is_account_adminboolean—Is Account Admin
organization_idstring—Organization Id
activation_codestring—Activation Code
permissionslist—Permissions
notification_tokenstring—Notification Token
notification_token_activeboolean—Notification Token Active
notification_token_datetimestringdate-time—Notification Token Datetime
notificationsjsonjson—Notifications
settingsjsonjson—Settings
organization_namestring—Organization Name
salesforce_idstring—Salesforce Id
organizationslist—Organizations
do_not_disturbboolean—Do Not Disturb
managerstringlookup→ user (string ID)Manager
rolestringlookup→ role (string ID)Role
availabilityjsonuser_availability—The availability of the user
integration_userboolean—Whether the user will be used for integrations
ui_accessboolean—Whether the user can access the ui
profile_pictureobjectimage—Picture for the User
vacationlistdate_list—The days the user is away.
email_addresseslist—A list of emails associated with this user where if an email is sent by one of these addresses, the user is the owner.
mfa_requiredboolean—MFA Required
shared_withlistsharing—systemShared With
ownerstringlookup→ user (string ID)systemOwner
is_portal_userboolean—Whether they are an external portal user or not
portal_idstring—The id of the portal they belong to