Skip to main content
Build a comprehensive graph of connections for a specific profile.

Method

client.profiles.buildConnectionGraph(params: ProfileBuildConnectionGraphParams): Promise<ProfileBuildConnectionGraphResponse>

Parameters

profileId
string
required
The ID of the profile to build the connection graph for.
depth
number
The depth of connections to traverse (default: 1).

Usage

const result = await client.profiles.buildConnectionGraph({
  profileId: '123456789',
  depth: 2
});

console.log(result);

Response

Returns a ProfileBuildConnectionGraphResponse object.