{
  "opencollection": "1.0.0",
  "info": {
    "name": "Asset Graph API",
    "version": "1.0.12"
  },
  "items": [
    {
      "info": {
        "name": "Asset Graphs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Censys List Asset Graphs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Pagination token from a previous response"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all asset graphs belonging to your Censys organization."
        },
        {
          "info": {
            "name": "Censys Create an Asset Graph",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new asset graph. An asset graph provides comprehensive visibility into your Internet-facing assets. It is the parent resource for seeds, excluded assets, and executions."
        },
        {
          "info": {
            "name": "Censys Get an Asset Graph",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:id",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve an asset graph, including its active execution if one exists."
        },
        {
          "info": {
            "name": "Censys Delete an Asset Graph",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:id",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Permanently delete an asset graph and all of its associated data, including seeds, excluded assets, and executions. Graph deletion is an asynchronous operation."
        }
      ]
    },
    {
      "info": {
        "name": "Excluded Assets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Censys List Excluded Assets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/excluded-assets",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Pagination token from a previous response"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              }
            ]
          },
          "docs": "List all excluded assets configured for an asset graph."
        },
        {
          "info": {
            "name": "Censys Create an Excluded Asset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/excluded-assets",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Exclude an asset from an asset graph. Excluded assets will not appear in the graph and will not be used to discover additional assets.\n\nModifications to excluded assets take effect during the next execution of the graph."
        },
        {
          "info": {
            "name": "Censys Delete an Excluded Asset",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/excluded-assets/:excluded_asset_id",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "excluded_asset_id",
                "value": "",
                "type": "path",
                "description": "Excluded asset identifier"
              }
            ]
          },
          "docs": "Remove an asset exclusion from an asset graph. The asset may reappear in future execution results.\n\nThe removal takes effect during the next execution of the graph."
        }
      ]
    },
    {
      "info": {
        "name": "Graph Executions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Censys List Graph Executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/executions",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Pagination token from a previous response"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all executions for an asset graph. Results are sorted by descending update time."
        },
        {
          "info": {
            "name": "Censys Create a Graph Execution",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/executions",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Start a new on-demand execution for an asset graph. An execution triggers the discovery process using the graph's configured seeds and excluded assets. Creating an execution will preempt and cancel any currently running execution. Executions may take up to several hours to complete.\n\nCensys also periodically runs executions in the background. Older executions are removed automatically."
        },
        {
          "info": {
            "name": "Censys Get a Graph Execution",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/executions/:execution_id",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "execution_id",
                "value": "",
                "type": "path",
                "description": "Graph execution ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve an execution, including its current status and discovery statistics."
        }
      ]
    },
    {
      "info": {
        "name": "Assets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Censys List Assets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/executions/:execution_id/assets",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "execution_id",
                "value": "",
                "type": "path",
                "description": "Graph execution ID"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Pagination token from a previous response"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              },
              {
                "name": "risks",
                "value": "",
                "type": "query",
                "description": "If true, only return assets with risks"
              },
              {
                "name": "shard",
                "value": "",
                "type": "query",
                "description": "Shard ID to filter assets by. When provided, full asset data is returned instead of the default partial view. Use the list shards endpoint to discover available shards."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List assets discovered in a graph execution. Each execution represents a complete snapshot of the attack surface.\n\nOnly partial asset data is returned when listing. Use the get asset endpoint to retrieve full asset data including discovery paths.\n\nWhen a shard is specified, full asset data is returned for all assets in that shard."
        },
        {
          "info": {
            "name": "Censys Get an Asset",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/executions/:execution_id/assets/:asset_id",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "execution_id",
                "value": "",
                "type": "path",
                "description": "Graph execution ID"
              },
              {
                "name": "asset_id",
                "value": "",
                "type": "path",
                "description": "Hex-encoded asset identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve full data for a single discovered asset, including discovery paths showing how it was found from your seeds."
        }
      ]
    },
    {
      "info": {
        "name": "Shards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Censys List Shards",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/executions/:execution_id/shards",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "execution_id",
                "value": "",
                "type": "path",
                "description": "Graph execution ID"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Pagination token from a previous response"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List shards for a completed graph execution. Each shard represents an approximately-equal partition of the execution's assets. Use the shard ID with the list assets endpoint to paginate within a single shard."
        }
      ]
    },
    {
      "info": {
        "name": "Seeds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Censys List Seeds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/seeds",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Pagination token from a previous response"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all seeds configured for an asset graph."
        },
        {
          "info": {
            "name": "Censys Create a Seed",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/seeds",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Add a seed to an asset graph. Seeds are persistent starting points used to discover additional assets. Supported seed types include IP addresses, domains, CIDRs, ASNs, certificates, and web properties.\n\nModifications to seeds take effect during the next execution of the graph."
        },
        {
          "info": {
            "name": "Censys Delete a Seed",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.data.censys.io/api/v1/asset-graphs/:graph_id/seeds/:seed_id",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "graph_id",
                "value": "",
                "type": "path",
                "description": "Asset graph ID"
              },
              {
                "name": "seed_id",
                "value": "",
                "type": "path",
                "description": "Seed identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove a seed from an asset graph. The removal takes effect during the next execution of the graph."
        }
      ]
    },
    {
      "info": {
        "name": "Risks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Censys Get Static Risk Metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.data.censys.io/api/v1/risks/:risk_id",
            "headers": [
              {
                "name": "X-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "risk_id",
                "value": "",
                "type": "path",
                "description": "A Censys risk ID (e.g. CENSYS-2025-1), threat ID (e.g. THREAT-1) or an external risk identifier (e.g. CVE-2025-00001)"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve additional metadata for a risk, such as long-form descriptions and references. Risk IDs can be found on asset data in vulnerabilities, exposures, misconfigurations, and threats."
        }
      ]
    }
  ],
  "bundled": true
}