Censys · Capability

Censys Asset Graph — Shards

Censys Asset Graph — Shards. 1 operation(s). Lead operation: Censys List Shards. Self-contained Naftiko capability covering one Censys business surface.

Run with Naftiko CensysAsset GraphShards

What You Can Do

GET
List shards — Censys List Shards
/v1/api/asset-graphs/{graph_id}/executions/{execution_id}/shards

MCP Tools

censys-list-shards

Censys List Shards

read-only idempotent

Capability Spec

asset-graph-shards.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Censys Asset Graph — Shards
  description: 'Censys Asset Graph — Shards. 1 operation(s). Lead operation: Censys List Shards. Self-contained Naftiko capability covering one Censys business surface.'
  tags:
    - Censys
    - Asset Graph
    - Shards
  created: '2026-05-29'
  modified: '2026-05-29'
binds:
  - namespace: env
    keys:
      CENSYS_PERSONAL_ACCESS_TOKEN: CENSYS_PERSONAL_ACCESS_TOKEN
capability:
  consumes:
    - type: http
      namespace: asset-graph-shards
      baseUri: https://graph.data.censys.io
      description: Censys Asset Graph — Shards business capability. Self-contained, no shared references.
      authentication:
        type: bearer
        token: '{{env.CENSYS_PERSONAL_ACCESS_TOKEN}}'
      resources:
        - name: api-v1-asset-graphs-graph-id-executions-execution-id-shards
          path: /api/v1/asset-graphs/{graph_id}/executions/{execution_id}/shards
          operations:
            - name: list-shards
              method: GET
              description: Censys List Shards
              inputParameters:
                - name: X-Organization-ID
                  in: header
                  type: string
                  required: true
                  description: Censys organization ID
                - name: graph_id
                  in: path
                  type: string
                  required: true
                  description: Asset graph ID
                - name: execution_id
                  in: path
                  type: string
                  required: true
                  description: Graph execution ID
                - name: page_token
                  in: query
                  type: string
                  required: false
                  description: Pagination token from a previous response
                - name: page_size
                  in: query
                  type: integer
                  required: false
                  description: Maximum number of results to return
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: asset-graph-shards-rest
      port: 8080
      description: REST adapter for Censys Asset Graph — Shards. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/api/asset-graphs/{graph_id}/executions/{execution_id}/shards
          name: api-asset-graphs-graph-id-executions-execution-id-shards
          description: REST surface for api-asset-graphs-graph-id-executions-execution-id-shards.
          operations:
            - method: GET
              name: list-shards
              description: Censys List Shards
              call: asset-graph-shards.list-shards
              with:
                X-Organization-ID: rest.X-Organization-ID
                graph_id: rest.graph_id
                execution_id: rest.execution_id
                page_token: rest.page_token
                page_size: rest.page_size
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: asset-graph-shards-mcp
      port: 9090
      transport: http
      description: MCP adapter for Censys Asset Graph — Shards. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: censys-list-shards
          description: Censys List Shards
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: asset-graph-shards.list-shards
          with:
            X-Organization-ID: tools.X-Organization-ID
            graph_id: tools.graph_id
            execution_id: tools.execution_id
            page_token: tools.page_token
            page_size: tools.page_size
          outputParameters:
            - type: object
              mapping: $.