Skip to main content

Fetch assessment attack-surface graph

GET 

/api/v1/assessments/:assessment_id/attack-surface

Fetch the attack-surface graph produced for an assessment.

Projects the scopes / scope_links / nodes / edges / operations collections into an attack-surface graph (read-only).

  • Enforces org + assessment-level RBAC (cross-org returns 404).
  • Admission-free: keeps serving in-flight assessments regardless of flags.
  • Returns available=False with empty lists when the project has no knowledge base (legacy assessments).

Request

Responses

Successful Response