GET
List attack paths, highest score first

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

min_score
integer
default:0
Required range: 0 <= x <= 100
target_kind
enum<string>
Available options:
credential,
host,
cluster_admin,
cloud_admin,
data_store
asset_id
string<uuid>

Only paths through this asset (a workload, an image, a cluster or a cloud account).

finding_id
string<uuid>

Only paths that depend on this finding.

limit
integer
default:50
Required range: 1 <= x <= 200
offset
integer
default:0
Required range: x >= 0

Response

A page of paths and the graph's state.

paths
object[]
required
total
integer
required
limit
integer
required
offset
integer
required
graph
object
required

The tenant's last build and what a graph is drawn from. built_at is null before the first build; stale means inputs changed since and a rebuild is queued. truncated means a search limit cut the paths.