Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Asset graph and infrastructure graphs

The asset graph is the merged, tenant-wide graph of cloud resources, Kubernetes objects, applications, and repositories that Nullify builds from its context collection. Use these operations to explore it, check network reachability, read stored attack paths, and download the per-account infrastructure graphs behind it. All operations are read-only GET calls and require the config-read permission. Authenticate as described in Authentication; the list-style operations below use limit/offset or maxResults rather than nextToken (see Pagination for the rest of the API).

A missing node or relationship can mean incomplete collection, not isolation. Node IDs are opaque strings: get them from the landing, nodes, search, or retrieve operations and pass them back unchanged.

Explore the graph

Get the graph summary

Returns one summary of everything the asset graph is built from: the per-account infrastructure graphs (with presigned download URLs), the per-repository context graphs, node and edge totals for the merged graph, accounts that failed to collect, and a presigned URL for the merged graph export once it has been written. Infrastructure counts and accounts are limited to cloud accounts your tenant owns, and the combined infrastructure URL is not returned. Presigned URLs expire; each carries an expiry timestamp, so fetch the summary again instead of caching links.

Get Asset Graph Summary

get

Retrieves a unified summary of all infrastructure and repo context graphs with presigned download URLs

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
accountCountintegerRequired
combinedGraphExpiresAtstring · date-timeOptional
combinedGraphUrlstringOptional
failedAccountsstring[]Optional
findingNodeCountintegerOptional
internetFacingNodeCountintegerOptional
lastUpdatedstring · date-timeRequired
mergedGraphEdgeCountintegerOptional
mergedGraphExpiresAtstring · date-timeOptional
mergedGraphNodeCountintegerOptional
mergedGraphUrlstringOptional
totalInfraEdgesintegerRequired
totalInfraNodesintegerRequired
totalRepoGraphsintegerRequired
versionstringOptional
get/context/asset-graph/summary
GET /context/asset-graph/summary HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "accountCount": 1,
  "combinedGraphExpiresAt": "2026-01-01T00:00:00.000Z",
  "combinedGraphUrl": "text",
  "failedAccounts": [
    "text"
  ],
  "findingNodeCount": 1,
  "graphInfo": {
    "accountsInfo": [
      {
        "accountId": "text",
        "accountName": "text",
        "accountType": "text",
        "cloudProvider": "text",
        "edgeCount": 1,
        "graphFilePath": "text",
        "hasApiGateway": true,
        "hasCloudFrontCdn": true,
        "hasCloudFunctions": true,
        "hasCloudRunServices": true,
        "hasCrossAccountRefs": true,
        "hasDatabases": true,
        "hasEcsServices": true,
        "hasEksClusters": true,
        "hasGceInstances": true,
        "hasGkeClusters": true,
        "hasK8sClusters": true,
        "hasLambdaFunctions": true,
        "hasPublicAlb": true,
        "hasPublicNlb": true,
        "hasRoute53Dns": true,
        "hasTransitGateway": true,
        "internalServiceCount": 1,
        "nodeCount": 1,
        "publicEndpointCount": 1,
        "regions": [
          "text"
        ],
        "services": [
          "text"
        ]
      }
    ],
    "crossAccountStatistics": {
      "crossAccountConnections": [
        {
          "connectionCount": 1,
          "connectionType": "text",
          "sourceAccountId": "text",
          "sourceAccountType": "text",
          "targetAccountId": "text",
          "targetAccountType": "text"
        }
      ],
      "crossAccountEdgesCreated": 1,
      "hasCrossAccountReferences": true,
      "orphanedReferences": 1,
      "referencesByType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "totalReferences": 1,
      "validatedReferences": 1
    },
    "edgeStatistics": {
      "bidirectionalEdges": 1,
      "edgesByType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "totalEdges": 1,
      "unidirectionalEdges": 1
    },
    "metadata": {
      "destinationBucket": "text",
      "generatedAt": "2026-01-01T00:00:00.000Z",
      "generatedBy": "text",
      "graphType": "text",
      "id": "text",
      "isCombinedGraph": true,
      "processingDuration": "text",
      "sourceBucket": "text",
      "version": "text"
    },
    "nodeStatistics": {
      "nodesByAccount": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesByObjectType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesByRegion": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesBySubType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesByType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "totalNodes": 1
    },
    "validationResults": {
      "checks": [
        {
          "details": "text",
          "name": "text",
          "passed": true
        }
      ],
      "errorCount": 1,
      "errors": [
        "text"
      ],
      "isValid": true,
      "warningCount": 1,
      "warnings": [
        "text"
      ]
    }
  },
  "infrastructureGraphs": [
    {
      "accountType": "text",
      "componentType": "text",
      "downloadUrl": "text",
      "edgeCount": 1,
      "expiresAt": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "lastUpdated": "2026-01-01T00:00:00.000Z",
      "name": "text",
      "nodeCount": 1,
      "ownerId": "text",
      "platform": "text",
      "services": [
        "text"
      ]
    }
  ],
  "internetFacingNodeCount": 1,
  "lastUpdated": "2026-01-01T00:00:00.000Z",
  "mergedGraphEdgeCount": 1,
  "mergedGraphExpiresAt": "2026-01-01T00:00:00.000Z",
  "mergedGraphNodeCount": 1,
  "mergedGraphUrl": "text",
  "repoContextGraphs": [
    {
      "accountType": "text",
      "componentType": "text",
      "downloadUrl": "text",
      "edgeCount": 1,
      "expiresAt": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "lastUpdated": "2026-01-01T00:00:00.000Z",
      "name": "text",
      "nodeCount": 1,
      "ownerId": "text",
      "platform": "text",
      "services": [
        "text"
      ]
    }
  ],
  "totalInfraEdges": 1,
  "totalInfraNodes": 1,
  "totalRepoGraphs": 1,
  "version": "text"
}

Get the landing page data

Returns the data behind the explorer landing view: per-kind node counts, entry-point cards for cloud accounts, Kubernetes clusters, applications (applications, products, and projects), and repositories, the ID of the internet node when one exists, and total node and edge counts. perCategory sets how many cards come back for each category (default 12, maximum 50). A category that fails to load is returned empty rather than failing the call.

Get Asset Graph Landing

get

Returns the PG-backed explorer landing dashboard: per-kind counts and entry-point cards for cloud accounts, k8s clusters, applications and repositories

Query parameters
perCategoryintegerOptionalDefault: 12
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
internetNodeIdstringOptional
totalEdgeCountinteger · int64Optional
totalNodeCountinteger · int64Optional
versionstringOptional
get/context/asset-graph/landing
GET /context/asset-graph/landing HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "applications": [
    {
      "accountId": "text",
      "childCounts": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "name": "text",
      "nodeId": "text",
      "nodeKind": "text",
      "objectType": "text",
      "region": "text",
      "subType": "text"
    }
  ],
  "cloudAccounts": [
    {
      "accountId": "text",
      "childCounts": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "name": "text",
      "nodeId": "text",
      "nodeKind": "text",
      "objectType": "text",
      "region": "text",
      "subType": "text"
    }
  ],
  "counts": {
    "ANY_ADDITIONAL_PROPERTY": 1
  },
  "internetNodeId": "text",
  "k8sClusters": [
    {
      "accountId": "text",
      "childCounts": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "name": "text",
      "nodeId": "text",
      "nodeKind": "text",
      "objectType": "text",
      "region": "text",
      "subType": "text"
    }
  ],
  "repositories": [
    {
      "accountId": "text",
      "childCounts": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "name": "text",
      "nodeId": "text",
      "nodeKind": "text",
      "objectType": "text",
      "region": "text",
      "subType": "text"
    }
  ],
  "syncCoverage": {
    "complete": true,
    "message": "text",
    "nodesDroppedNoCanonical": 1,
    "status": "success",
    "syncedAt": "2026-01-01T00:00:00.000Z"
  },
  "totalEdgeCount": 1,
  "totalNodeCount": 1,
  "version": "text"
}

List nodes by kind

Returns a name-ordered page of nodes for one or more kinds. kinds is required and every value must be a valid node kind; an unknown kind, or no kind at all, returns 400. Page with limit (default 50, maximum 200) and offset; total in the response is the overall match count. Set childCounts=true to include each node's direct child counts, which is slower.

List Asset Graph Nodes

get

Returns a paginated, name-ordered page of asset graph nodes for one or more node kinds

Query parameters
kindsstring[]Required
limitintegerOptionalDefault: 50
offsetintegerOptionalDefault: 0
childCountsbooleanOptionalDefault: false
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
totalintegerRequired
versionstringOptional
get/context/asset-graph/nodes
GET /context/asset-graph/nodes?kinds=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "nodes": [
    {
      "accountId": "text",
      "childCounts": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "name": "text",
      "nodeId": "text",
      "nodeKind": "text",
      "objectType": "text",
      "region": "text",
      "subType": "text"
    }
  ],
  "total": 1,
  "version": "text"
}

Get a node

Returns one node with its direct child counts by kind and its full stored payload. nodeId is required and comes from a nodes, search, or retrieve call. Returns 404 when the node is not in your tenant's graph.

Get Asset Graph Node

get

Returns a single asset graph node with its direct child-by-kind counts and full payload

Query parameters
nodeIdstringRequired
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
nodeDataanyOptional
versionstringOptional
get/context/asset-graph/node
GET /context/asset-graph/node?nodeId=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "node": {
    "accountId": "text",
    "childCounts": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "name": "text",
    "nodeId": "text",
    "nodeKind": "text",
    "objectType": "text",
    "region": "text",
    "subType": "text"
  },
  "nodeData": null,
  "version": "text"
}

Search the graph

Finds nodes whose name matches a text query. q is required and must be at least 3 characters. objectTypes narrows the search to node kinds (an unknown kind returns 400) and maxResults caps the result count (default 20, maximum 100). Each result gives the node ID, kind, name, subtitle, account, and region; follow up with the node or subgraph operations.

get

Searches the asset graph for nodes matching a query string

Query parameters
qstring · min: 3Required
objectTypesstring[]Optional
maxResultsintegerOptionalDefault: 20
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
totalintegerRequired
versionstringOptional
get/context/asset-graph/search
GET /context/asset-graph/search?q=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "results": [
    {
      "accountId": "text",
      "name": "text",
      "nodeId": "text",
      "objectType": "text",
      "region": "text",
      "subTitle": "text"
    }
  ],
  "total": 1,
  "version": "text"
}

Retrieve nodes by meaning

Runs a hybrid semantic and keyword search and returns ranked nodes with a score and a compact text rendering of each. Use it for natural-language questions such as "public buckets in the payments account", where Search the graph needs a name. q must be at least 3 characters after trimming, and maxResults defaults to 10 with a maximum of 50.

Retrieve Asset Graph Nodes

get

Hybrid semantic + lexical search over asset graph nodes, returning ranked nodes with a compact text serialization

Query parameters
qstring · min: 3Required
maxResultsintegerOptionalDefault: 10
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
totalintegerRequired
versionstringOptional
get/context/asset-graph/retrieve
GET /context/asset-graph/retrieve?q=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "results": [
    {
      "accountId": "text",
      "name": "text",
      "nodeId": "text",
      "nodeKind": "text",
      "objectType": "text",
      "region": "text",
      "score": 1,
      "subType": "text",
      "text": "text"
    }
  ],
  "total": 1,
  "version": "text"
}

Get a subgraph

Extracts the neighborhood around a root node. rootNodeId is required. depth defaults to 1 and is clamped to 5; maxNodes defaults to 150 and is clamped to 1000. Optional objectTypes and edgeTypes filter what is traversed (unknown values return 400). The response separates hierarchy edges (containment) from lateral edges (connectivity), reports total children overall and by type, and sets truncated when maxNodes clipped the result. A negative depth or a non-positive maxNodes returns 400.

Get Asset Graph Subgraph

get

Extracts a bounded subgraph from the merged asset graph starting from a root node

Query parameters
rootNodeIdstringRequired
depthintegerOptionalDefault: 1
maxNodesintegerOptionalDefault: 150
objectTypesstring[]Optional
edgeTypesstring[]Optional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
rootNodeIdstringRequired
totalChildrenintegerRequired
truncatedbooleanRequired
versionstringOptional
get/context/asset-graph/subgraph
GET /context/asset-graph/subgraph?rootNodeId=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "hierarchyEdges": [
    {
      "confidence": 1,
      "explanation": "text",
      "properties": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "sourceId": "text",
      "targetId": "text",
      "type": "ABOUT"
    }
  ],
  "lateralEdges": [
    {
      "confidence": 1,
      "explanation": "text",
      "properties": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "sourceId": "text",
      "targetId": "text",
      "type": "ABOUT"
    }
  ],
  "nodes": [],
  "rootNodeId": "text",
  "totalChildren": 1,
  "totalChildrenByType": {
    "ANY_ADDITIONAL_PROPERTY": 1
  },
  "truncated": true,
  "version": "text"
}

Exposure analysis

Attack paths and reachability answer different questions. An attack path is stored evidence from the last graph rebuild; reachability is computed on request over the current graph.

List attack paths

Returns the internet-to-target attack paths stored by the last graph rebuild, with the node IDs and edge types along each path, the highest finding severity on it, and when it was computed. Filter with terminalNodeKind (a valid node kind; otherwise 400) and hasCriticalFinding (true or false). Page with limit (default 50, maximum 200) and offset. truncated is true when the rebuild hit its path limit, so the list may be incomplete. Paths are only as fresh as the last rebuild.

List Asset Graph Attack Paths

get

Returns the tenant's stored internet-to-target attack paths from the last rebuild, optionally filtered by terminal node kind and whether a critical finding sits on the path.

Query parameters
terminalNodeKindstring · enumOptionalPossible values:
hasCriticalFindingboolean · nullableOptional
limitintegerOptionalDefault: 50
offsetintegerOptionalDefault: 0
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
truncatedbooleanOptional
versionstringOptional
get/context/asset-graph/attack-paths
GET /context/asset-graph/attack-paths HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "attackPaths": [
    {
      "computedAt": "text",
      "edgeTypes": [
        "text"
      ],
      "entryNodeId": "text",
      "entryNodeKind": "text",
      "hasCriticalFinding": true,
      "id": "text",
      "maxFindingSeverity": "text",
      "pathNodeIds": [
        "text"
      ],
      "terminalNodeId": "text",
      "terminalNodeKind": "text"
    }
  ],
  "truncated": true,
  "version": "text"
}

Get network reachability

Computes whether the Internet can reach a target node, using the node's neighborhood in the graph and evaluating security groups, network ACLs, route tables, and load-balancer listeners, with CloudFront and API Gateway handled at the distribution layer. nodeId is required. port defaults to 443 when omitted or 0 and must be 0 to 65535; protocol is TCP (default), UDP, ICMP, or ALL, case-insensitive. A node that is not in the graph returns 200 with targetNodeFound set to false rather than 404. The response lists each path found and sets truncated when the search was cut short, in which case treat a negative answer as unproven.

Get Asset Graph Reachability

get

Network reachability from the Internet to the target, computed by the network-path engine over the node's graph neighbourhood. Directly-internet-attached hosts honour security groups, the subnet NACL (stateless, with ephemeral-return evaluation) and the subnet route table's default route to the internet gateway; within-VPC load-balancer paths honour the load balancer's internet-facing listener admission and NACL/route-table evaluation on the load-balancer-to-target hop. Cross-VPC load-balancer paths are resolved at the routing layer and managed edge services (CloudFront, API Gateway) at their distribution layer.

Query parameters
nodeIdstringRequired
portintegerOptional
protocolstringOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
isInternetFacingbooleanRequired
targetNodeFoundbooleanRequired
targetNodeIdstringRequired
targetNodeKindstringOptional
truncatedbooleanOptional
versionstringOptional
get/context/asset-graph/reachability
GET /context/asset-graph/reachability?nodeId=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "isInternetFacing": true,
  "path": [
    {
      "depth": 1,
      "nodeIds": [
        "text"
      ]
    }
  ],
  "targetNodeFound": true,
  "targetNodeId": "text",
  "targetNodeKind": "text",
  "truncated": true,
  "version": "text"
}

Infrastructure graphs

Infrastructure graphs are the per-AWS-account resource graphs that feed the asset graph. Each account has a latest graph plus stored versions. Operations that take {accountId} return 404 for an account that does not belong to your tenant, so an ID you cannot see looks the same as one that does not exist. Get account IDs from List infrastructure graphs.

List infrastructure graphs

Lists the latest graph for each of your tenant's cloud accounts, with graph ID, version, node and edge counts, region, graph type, who generated it and when, tags, and last-modified time. Graphs for accounts outside your tenant are filtered out.

List Infrastructure Graphs

get

Lists all infrastructure graphs for the tenant

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
countintegerRequired
versionstringOptional
get/context/infrastructure/graphs
GET /context/infrastructure/graphs HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "count": 1,
  "graphs": [
    {
      "accountId": "text",
      "edgeCount": 1,
      "generatedAt": "2026-01-01T00:00:00.000Z",
      "generatedBy": "text",
      "graphId": "text",
      "graphType": "text",
      "lastModified": "2026-01-01T00:00:00.000Z",
      "nodeCount": 1,
      "region": "text",
      "s3Key": "text",
      "tags": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "version": "text"
    }
  ],
  "version": "text"
}

Get the infrastructure graph summary

Returns per-account graph entries with presigned download URLs, totals, failed accounts, and an integrationStatus of ready once at least one graph exists or pending otherwise. Pending is a normal state before the first cloud collection finishes, not an error. Totals and entries are limited to your tenant's accounts and the combined-graph URL is not returned; use the per-account URLs.

Get Infrastructure Graph Summary

get

Retrieves infrastructure graph summary with presigned download URLs for each account's graph

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
accountCountintegerRequired
combinedGraphExpiresAtstring · date-timeRequired
combinedGraphUrlstringOptional
failedAccountsstring[]Optional
integrationStatusstring · enumRequiredPossible values:
lastUpdatedstring · date-timeRequired
totalEdgeCountintegerRequired
totalNodeCountintegerRequired
versionstringOptional
get/context/infrastructure/graphs/summary
GET /context/infrastructure/graphs/summary HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "accountCount": 1,
  "combinedGraphExpiresAt": "2026-01-01T00:00:00.000Z",
  "combinedGraphUrl": "text",
  "failedAccounts": [
    "text"
  ],
  "graphInfo": {
    "accountsInfo": [
      {
        "accountId": "text",
        "accountName": "text",
        "accountType": "text",
        "cloudProvider": "text",
        "edgeCount": 1,
        "graphFilePath": "text",
        "hasApiGateway": true,
        "hasCloudFrontCdn": true,
        "hasCloudFunctions": true,
        "hasCloudRunServices": true,
        "hasCrossAccountRefs": true,
        "hasDatabases": true,
        "hasEcsServices": true,
        "hasEksClusters": true,
        "hasGceInstances": true,
        "hasGkeClusters": true,
        "hasK8sClusters": true,
        "hasLambdaFunctions": true,
        "hasPublicAlb": true,
        "hasPublicNlb": true,
        "hasRoute53Dns": true,
        "hasTransitGateway": true,
        "internalServiceCount": 1,
        "nodeCount": 1,
        "publicEndpointCount": 1,
        "regions": [
          "text"
        ],
        "services": [
          "text"
        ]
      }
    ],
    "crossAccountStatistics": {
      "crossAccountConnections": [
        {
          "connectionCount": 1,
          "connectionType": "text",
          "sourceAccountId": "text",
          "sourceAccountType": "text",
          "targetAccountId": "text",
          "targetAccountType": "text"
        }
      ],
      "crossAccountEdgesCreated": 1,
      "hasCrossAccountReferences": true,
      "orphanedReferences": 1,
      "referencesByType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "totalReferences": 1,
      "validatedReferences": 1
    },
    "edgeStatistics": {
      "bidirectionalEdges": 1,
      "edgesByType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "totalEdges": 1,
      "unidirectionalEdges": 1
    },
    "metadata": {
      "destinationBucket": "text",
      "generatedAt": "2026-01-01T00:00:00.000Z",
      "generatedBy": "text",
      "graphType": "text",
      "id": "text",
      "isCombinedGraph": true,
      "processingDuration": "text",
      "sourceBucket": "text",
      "version": "text"
    },
    "nodeStatistics": {
      "nodesByAccount": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesByObjectType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesByRegion": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesBySubType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "nodesByType": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "totalNodes": 1
    },
    "validationResults": {
      "checks": [
        {
          "details": "text",
          "name": "text",
          "passed": true
        }
      ],
      "errorCount": 1,
      "errors": [
        "text"
      ],
      "isValid": true,
      "warningCount": 1,
      "warnings": [
        "text"
      ]
    }
  },
  "graphs": [
    {
      "accountId": "text",
      "downloadUrl": "text",
      "edgeCount": 1,
      "expiresAt": "2026-01-01T00:00:00.000Z",
      "generatedAt": "2026-01-01T00:00:00.000Z",
      "graphId": "text",
      "graphType": "text",
      "nodeCount": 1,
      "region": "text",
      "version": "text"
    }
  ],
  "integrationStatus": "pending",
  "lastUpdated": "2026-01-01T00:00:00.000Z",
  "totalEdgeCount": 1,
  "totalNodeCount": 1,
  "version": "text"
}

Get infrastructure graph info

Returns metadata for your tenant's infrastructure graphs: per-account node and edge counts and graph metadata. Tenant-wide node, edge, and cross-account statistics are intentionally returned empty. Returns 404 when none of your tenant's accounts have a graph yet.

Get Infrastructure Graph Info

get

Retrieves comprehensive statistics and metadata about all infrastructure graphs

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/infrastructure/graphs/info
GET /context/infrastructure/graphs/info HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "accountsInfo": [
    {
      "accountId": "text",
      "accountName": "text",
      "accountType": "text",
      "cloudProvider": "text",
      "edgeCount": 1,
      "graphFilePath": "text",
      "hasApiGateway": true,
      "hasCloudFrontCdn": true,
      "hasCloudFunctions": true,
      "hasCloudRunServices": true,
      "hasCrossAccountRefs": true,
      "hasDatabases": true,
      "hasEcsServices": true,
      "hasEksClusters": true,
      "hasGceInstances": true,
      "hasGkeClusters": true,
      "hasK8sClusters": true,
      "hasLambdaFunctions": true,
      "hasPublicAlb": true,
      "hasPublicNlb": true,
      "hasRoute53Dns": true,
      "hasTransitGateway": true,
      "internalServiceCount": 1,
      "nodeCount": 1,
      "publicEndpointCount": 1,
      "regions": [
        "text"
      ],
      "services": [
        "text"
      ]
    }
  ],
  "crossAccountStatistics": {
    "crossAccountConnections": [
      {
        "connectionCount": 1,
        "connectionType": "text",
        "sourceAccountId": "text",
        "sourceAccountType": "text",
        "targetAccountId": "text",
        "targetAccountType": "text"
      }
    ],
    "crossAccountEdgesCreated": 1,
    "hasCrossAccountReferences": true,
    "orphanedReferences": 1,
    "referencesByType": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "totalReferences": 1,
    "validatedReferences": 1
  },
  "edgeStatistics": {
    "bidirectionalEdges": 1,
    "edgesByType": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "totalEdges": 1,
    "unidirectionalEdges": 1
  },
  "metadata": {
    "destinationBucket": "text",
    "generatedAt": "2026-01-01T00:00:00.000Z",
    "generatedBy": "text",
    "graphType": "text",
    "id": "text",
    "isCombinedGraph": true,
    "processingDuration": "text",
    "sourceBucket": "text",
    "version": "text"
  },
  "nodeStatistics": {
    "nodesByAccount": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "nodesByObjectType": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "nodesByRegion": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "nodesBySubType": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "nodesByType": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "totalNodes": 1
  },
  "validationResults": {
    "checks": [
      {
        "details": "text",
        "name": "text",
        "passed": true
      }
    ],
    "errorCount": 1,
    "errors": [
      "text"
    ],
    "isValid": true,
    "warningCount": 1,
    "warnings": [
      "text"
    ]
  }
}

Get an infrastructure graph

Returns the full latest graph for one AWS account as JSON. These documents can be large; for big accounts prefer Get an infrastructure graph download URL. Returns 404 when the account is not yours or has no graph.

Get Infrastructure Graph

get

Retrieves the latest infrastructure graph. Oversized graphs return 412 graph_requires_download; use the account download endpoint for the complete graph.

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/context/infrastructure/graphs/{accountId}
GET /context/infrastructure/graphs/{accountId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "graph": {
    "cveAssessments": [
      {
        "artifactDigest": "text",
        "artifactIdentity": "text",
        "confidence": "HIGH",
        "cveNodeId": "text",
        "evidenceNodeIds": [
          "text"
        ],
        "explanation": "text",
        "findingId": "text",
        "id": "text",
        "inputIdentity": "text",
        "investigationState": "ASSESSED",
        "latestAttemptState": "text",
        "packageNodeId": "text",
        "path": [
          {
            "confidence": 1,
            "explanation": "text",
            "properties": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            },
            "sourceId": "text",
            "targetId": "text",
            "type": "ABOUT"
          }
        ],
        "reachability": "reachable",
        "repositoryId": "text",
        "revision": "text",
        "severity": "text",
        "sourceReportId": "text",
        "unknowns": [
          "text"
        ]
      }
    ],
    "edges": [
      {
        "confidence": 1,
        "explanation": "text",
        "properties": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "sourceId": "text",
        "targetId": "text",
        "type": "ABOUT"
      }
    ],
    "investigationStopReason": "text",
    "nodes": [],
    "pathAssessment": {
      "explanation": "text",
      "findingId": "text",
      "sourceIds": [
        "text"
      ],
      "status": "BLOCKED",
      "unknowns": [
        "text"
      ]
    }
  },
  "version": "text"
}

Get an infrastructure graph download URL

Returns a presigned downloadUrl and its expiresAt for the account's latest graph. Download it before expiry; request a new URL if it has lapsed. Returns 404 when the account is not yours or no graph exists.

Get Infrastructure Graph Download URL

get

Generates a presigned URL to download the complete infrastructure graph, optionally selecting an exact snapshot version. The object is raw graph JSON without the inline response wrapper.

Path parameters
accountIdstringRequired
Query parameters
versionstringOptional

Graph snapshot version; defaults to latest

azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
accountIdstringRequired
downloadUrlstringRequired
expiresAtstring · date-timeRequired
graphVersionstringOptional

Resolved graph snapshot version, or latest

versionstringOptional
get/context/infrastructure/graphs/{accountId}/download
GET /context/infrastructure/graphs/{accountId}/download HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "accountId": "text",
  "downloadUrl": "text",
  "expiresAt": "2026-01-01T00:00:00.000Z",
  "graphVersion": "text",
  "version": "text"
}

List infrastructure graph versions

Lists the stored version identifiers for an account's graph, with a count. Use a returned identifier with the next operation.

List Infrastructure Graph Versions

get

Lists all versions of an infrastructure graph for a specific AWS account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
accountIdstringRequired
countintegerRequired
versionstringOptional
versionsstring[] · nullableRequired
get/context/infrastructure/graphs/{accountId}/versions
GET /context/infrastructure/graphs/{accountId}/versions HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "accountId": "text",
  "count": 1,
  "version": "text",
  "versions": [
    "text"
  ]
}

Get an infrastructure graph version

Returns the full graph for one stored version, for comparing how an account changed over time. Returns 404 when the account is not yours or the version does not exist.

Get Infrastructure Graph Version

get

Retrieves a specific graph version. Oversized graphs return 412 graph_requires_download; use the account download endpoint with the same version query parameter.

Path parameters
accountIdstringRequired
versionstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/context/infrastructure/graphs/{accountId}/versions/{version}
GET /context/infrastructure/graphs/{accountId}/versions/{version} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "graph": {
    "cveAssessments": [
      {
        "artifactDigest": "text",
        "artifactIdentity": "text",
        "confidence": "HIGH",
        "cveNodeId": "text",
        "evidenceNodeIds": [
          "text"
        ],
        "explanation": "text",
        "findingId": "text",
        "id": "text",
        "inputIdentity": "text",
        "investigationState": "ASSESSED",
        "latestAttemptState": "text",
        "packageNodeId": "text",
        "path": [
          {
            "confidence": 1,
            "explanation": "text",
            "properties": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            },
            "sourceId": "text",
            "targetId": "text",
            "type": "ABOUT"
          }
        ],
        "reachability": "reachable",
        "repositoryId": "text",
        "revision": "text",
        "severity": "text",
        "sourceReportId": "text",
        "unknowns": [
          "text"
        ]
      }
    ],
    "edges": [
      {
        "confidence": 1,
        "explanation": "text",
        "properties": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "sourceId": "text",
        "targetId": "text",
        "type": "ABOUT"
      }
    ],
    "investigationStopReason": "text",
    "nodes": [],
    "pathAssessment": {
      "explanation": "text",
      "findingId": "text",
      "sourceIds": [
        "text"
      ],
      "status": "BLOCKED",
      "unknowns": [
        "text"
      ]
    }
  },
  "version": "text"
}

Kubernetes collectors

List Kubernetes collector clusters

Lists in-cluster Kubernetes collectors that are feeding your asset inventory but have no cluster registered through the admin API. Only collectors that completed a scan in the last 7 days are included. Each entry gives the cluster name (empty when no node names it), the collector's scan identity, the latest completed scan ID and its completion time, and record counts by category when available. Use it to find clusters sending data that you have not registered.

List K8s Collector Clusters

get

Lists the in-cluster Kubernetes collectors feeding the asset inventory that have no admin cluster registration, each with its latest completed scan.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringRequired
get/context/k8s/collector-clusters
GET /context/k8s/collector-clusters HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "clusters": [
    {
      "clusterName": "text",
      "lastCompletedAt": "text",
      "lastScanId": "text",
      "recordCounts": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "scanIdentity": "text"
    }
  ],
  "version": "text"
}

Last updated