GET
Walk the estate graph from 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

direction
enum<string>
required

up walks child to parent: "what ultimately runs this?". down walks parent to child: "what does this contain?".

Available options:
up,
down
depth
integer
default:2

How many edges to follow. Clamped to the server maximum.

Required range: x >= 1

Response

The nodes reached, shallowest arrival per node.

origin
string<uuid>
direction
enum<string>
Available options:
up,
down
depth
integer

The depth actually walked, which may be lower than the one asked for. Reported so a caller can tell a graph that ended from a walk that was cut short.

nodes
object[]