Performs a BFS traversal of the identity relationship graph starting from the given identity. Returns nodes (identities) and edges (relationships) with depth metadata indicating hop distance from the root identity.
Supports filtering by relationship type, identity status, and identity exclusion to focus queries on relevant subgraphs. Useful for programmatic fraud ring detection, compliance audits, and network analysis.
Each node includes a depth field (0 = root, 1 = direct neighbor, etc.).
Each edge includes a hops field indicating at which depth level it was discovered.
Organization API key. Keys are prefixed with vk_live_ (production) or
vk_sandbox_ (sandbox).
Identity ID (idn_*) or external reference.
API version date string (e.g. 2026-02-01). If omitted, the version
pinned to your API key is used.
Response key casing. Defaults to snake.
Maximum number of hops from the root identity (1-5).
Comma-separated list of identity statuses to include.
Valid values: pending, verified, rejected, under_review, merged, redacted.
If omitted, all statuses are included. The root identity is always included regardless of this filter.
Comma-separated list of identity IDs to exclude from traversal. Excluded identities will not appear as nodes and their edges will not be followed.
Comma-separated list of relationship types to include.
Valid values: same_document, same_name_dob, same_ssn, same_device,
same_email, same_phone, same_address, same_ip, same_face,
same_document_face, merged, user_linked.
If omitted, all types are included.