Rapid7 · Capability

InsightIDR API — Accounts

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

InsightIDR API — Accounts 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/accounts.

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

Tagged areas include Rapid7 and Accounts.

Run with Naftiko Rapid7Accounts

What You Can Do

POST
Searchaccounts — Search accounts
/v1/idr/v1/accounts/_search
GET
Findaccountbyrrn — Get account by RRN
/v1/idr/v1/accounts/{rrn}

MCP Tools

rapid7-searchaccounts

Search accounts

rapid7-findaccountbyrrn

Get account by RRN

read-only idempotent

Capability Spec

insightidr-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: InsightIDR API — Accounts
  description: 'InsightIDR API — Accounts. 2 operations. Lead operation: Get account by RRN. Self-contained Naftiko capability covering one business surface.'
  tags:
  - Rapid7
  - Accounts
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    RAPID7_API_KEY: RAPID7_API_KEY
capability:
  consumes:
  - type: http
    namespace: insightidr-accounts
    baseUri: https://{region}.api.insight.rapid7.com
    description: InsightIDR API — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: idr-v1-accounts-search
      path: /idr/v1/accounts/_search
      operations:
      - name: searchaccounts
        method: POST
        description: Search accounts
        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-accounts-rrn
      path: /idr/v1/accounts/{rrn}
      operations:
      - name: findaccountbyrrn
        method: GET
        description: Get account by RRN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: rrn
          in: path
          type: string
          description: The RRN of the account.
          required: true
  exposes:
  - type: rest
    namespace: insightidr-accounts-rest
    port: 8080
    description: REST adapter for InsightIDR API — Accounts. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/idr/v1/accounts/_search
      name: idr-v1-accounts-search
      description: REST surface for idr-v1-accounts-search.
      operations:
      - method: POST
        name: searchaccounts
        description: Search accounts
        call: insightidr-accounts.searchaccounts
        with:
          index: rest.index
          size: rest.size
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/idr/v1/accounts/{rrn}
      name: idr-v1-accounts-rrn
      description: REST surface for idr-v1-accounts-rrn.
      operations:
      - method: GET
        name: findaccountbyrrn
        description: Get account by RRN
        call: insightidr-accounts.findaccountbyrrn
        with:
          rrn: rest.rrn
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: insightidr-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for InsightIDR API — Accounts. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: rapid7-searchaccounts
      description: Search accounts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: insightidr-accounts.searchaccounts
      with:
        index: tools.index
        size: tools.size
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: rapid7-findaccountbyrrn
      description: Get account by RRN
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: insightidr-accounts.findaccountbyrrn
      with:
        rrn: tools.rrn
      outputParameters:
      - type: object
        mapping: $.