Rapid7 · Capability

InsightIDR API — Assets

InsightIDR API — Assets. 2 operations. Lead operation: Get asset by RRN. Self-contained Naftiko capability covering one business surface.

InsightIDR API — Assets is a Naftiko capability published by Rapid7, one of 47 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the POST and GET methods rooted at /v1/idr/v1/assets.

The capability includes 1 read-only operation and 1 state-changing operation. Lead operation: Search assets. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Rapid7 and Assets.

Run with Naftiko Rapid7Assets

What You Can Do

POST
Searchassets — Search assets
/v1/idr/v1/assets/_search
GET
Findassetbyrrn — Get asset by RRN
/v1/idr/v1/assets/{rrn}

MCP Tools

rapid7-searchassets

Search assets

rapid7-findassetbyrrn

Get asset by RRN

read-only idempotent

Capability Spec

insightidr-assets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: InsightIDR API — Assets
  description: 'InsightIDR API — Assets. 2 operations. Lead operation: Get asset by RRN. Self-contained Naftiko capability covering one business surface.'
  tags:
  - Rapid7
  - Assets
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    RAPID7_API_KEY: RAPID7_API_KEY
capability:
  consumes:
  - type: http
    namespace: insightidr-assets
    baseUri: https://{region}.api.insight.rapid7.com
    description: InsightIDR API — Assets business capability. Self-contained, no shared references.
    resources:
    - name: idr-v1-assets-search
      path: /idr/v1/assets/_search
      operations:
      - name: searchassets
        method: POST
        description: Search assets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: index
          in: query
          type: integer
          description: The optional, 0 based index of the page to retrieve.  Must be an integer greater than or equal to 0.
        - name: size
          in: query
          type: integer
          description: The optional size of the page to retrieve. Must be an integer greater than 0 or less than or equal to 1000.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: idr-v1-assets-rrn
      path: /idr/v1/assets/{rrn}
      operations:
      - name: findassetbyrrn
        method: GET
        description: Get asset by RRN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: rrn
          in: path
          type: string
          description: The RRN of the asset.
          required: true
  exposes:
  - type: rest
    namespace: insightidr-assets-rest
    port: 8080
    description: REST adapter for InsightIDR API — Assets. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/idr/v1/assets/_search
      name: idr-v1-assets-search
      description: REST surface for idr-v1-assets-search.
      operations:
      - method: POST
        name: searchassets
        description: Search assets
        call: insightidr-assets.searchassets
        with:
          index: rest.index
          size: rest.size
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/idr/v1/assets/{rrn}
      name: idr-v1-assets-rrn
      description: REST surface for idr-v1-assets-rrn.
      operations:
      - method: GET
        name: findassetbyrrn
        description: Get asset by RRN
        call: insightidr-assets.findassetbyrrn
        with:
          rrn: rest.rrn
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: insightidr-assets-mcp
    port: 9090
    transport: http
    description: MCP adapter for InsightIDR API — Assets. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: rapid7-searchassets
      description: Search assets
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: insightidr-assets.searchassets
      with:
        index: tools.index
        size: tools.size
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: rapid7-findassetbyrrn
      description: Get asset by RRN
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: insightidr-assets.findassetbyrrn
      with:
        rrn: tools.rrn
      outputParameters:
      - type: object
        mapping: $.