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.

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.