GET
The security graph around one asset

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.

Path Parameters

id
string<uuid>
required

Query Parameters

depth
integer
default:1
Required range: 1 <= x <= 3

Response

The neighbourhood.

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