OptionalagentThe agent associated with this membership, as an expanded agent object. null when the member is a user, the type is unknown, or the association is not preloaded.
Optionalcreated_When this membership record was created (ISO 8601).
Team membership ID (tmb_...).
Optionaljoined_When the principal joined the team (ISO 8601).
OptionalmetadataArbitrary key-value metadata attached to this membership record. null if no metadata has been set.
OptionalnameDisplay name of the member, derived from the associated user or agent. null if the principal is unknown.
Optionalprofile_Profile picture of the member, derived from the associated user or agent. null if not set or principal is unknown.
OptionalroleThe member's role within the team. One of "owner", "admin", or "member".
OptionalteamThe team this membership belongs to, as an expanded team object. null when the team association is not preloaded.
OptionaltypeResolved principal type. One of "user", "agent", or "unknown" when the principal cannot be determined.
Optionalupdated_When this membership record was last updated (ISO 8601).
OptionaluserThe user associated with this membership, as an expanded user object. null when the member is an agent, the type is unknown, or the association is not preloaded.
A record representing a user's or agent's membership in a team, including their resolved identity details and role.