Gandalf home page
Search...
⌘K
Feedback
Dashboard
Dashboard
Search...
Navigation
Queries
lookupTrait
Documentation
Join the Gandalf Guild Slack
Get Started
Introduction
Quickstart
Concepts
Connect
Sauron
Data Types
Helper Packages
The Network
Guides
Keep user data updated
Examples
Heimdall
Data Sources
Amazon
Booking
Instacart
Instagram
Netflix
PlayStation
Uber
Uber Eats
YouTube
X
Schema
API
Queries
getActivity
getAppByPublicKey
getTraits
lookupActivity
lookupTrait
Types
On this page
Arguments
Type
Queries
lookupTrait
Looks up a specific trait by its unique identifier (ID) and a data key.
Returns: A trait object containing detailed information about the requested trait.
Copy
lookupTrait
(
dataKey
:
String
!
traitId
:
UUID
!
):
Trait
!
Arguments
dataKey
String!
required
A unique key that is generated after a user has completed the data submission flow.
traitId
UUID!
required
The unique identifier (UUID) of the trait to retrieve.
Type
Trait
object
Represents a User Trait.
lookupActivity
ActivityType
Assistant
Responses are generated using AI and may contain mistakes.