GET
The security graph around one node

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Query Parameters

key
string
required

A node key, as a node or an attack path step reports it.

Maximum string length: 2048
depth
integer
default:1
Required range: 1 <= x <= 3

Response

The neighbourhood.

nodes
object[]
required
edges
object[]
required
depth
integer
required
truncated
boolean
required