Ethiack Docs
Organizations

Get an organization's visualizer graph

GET
/v1/organizations/{organization_id}/visualizer_data

Return the asset/IP graph used by the organization visualizer.

Scoped to organization and partner integrators, and gated on the visualizer entitlement for billing callers. Nodes and links are assembled from the organization's assets and their IP numbers; pentest_slug narrows the node set to one pentest's scope in SQL, so a client does not have to page the scope endpoint and intersect.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer

Query Parameters

pentest_slug?|

Restrict the graph to the assets in this pentest's scope. Omit for the organization's whole surface.

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/organizations/0/visualizer_data"
{
  "nodes": [
    {
      "id": "string",
      "label": "string",
      "type": "domain",
      "findings_count": 0,
      "risk_score": 1,
      "private": false,
      "kev": false,
      "epss": 0,
      "latitude": 0,
      "longitude": 0,
      "country": "string",
      "is_tld": false
    }
  ],
  "links": [
    {
      "source": "string",
      "target": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}