Rapid7 · Capability

InsightAppSec API — Files

InsightAppSec API — Files. 6 operations. Lead operation: Get Files. Self-contained Naftiko capability covering one business surface.

InsightAppSec API — Files is a Naftiko capability published by Rapid7, one of 47 capabilities the APIs.io network indexes for this provider. It bundles 6 operations across the GET, POST, PUT, and DELETE methods rooted at /v1/apps/{…}/files.

The capability includes 2 read-only operations and 4 state-changing operations. Lead operation: Get Files. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Rapid7 and Files.

Run with Naftiko Rapid7Files

What You Can Do

GET
Getfiles — Get Files
/v1/apps/{app-id}/files
POST
Createfile — Create File
/v1/apps/{app-id}/files
GET
Getfile — Get File
/v1/apps/{app-id}/files/{file-id}
PUT
Updatefile — Update File
/v1/apps/{app-id}/files/{file-id}
POST
Uploadfile — Upload File Content
/v1/apps/{app-id}/files/{file-id}
DELETE
Deletefile — Delete File
/v1/apps/{app-id}/files/{file-id}

MCP Tools

rapid7-getfiles

Get Files

read-only idempotent
rapid7-createfile

Create File

rapid7-getfile

Get File

read-only idempotent
rapid7-updatefile

Update File

idempotent
rapid7-uploadfile

Upload File Content

rapid7-deletefile

Delete File

idempotent

Capability Spec

insightappsec-files.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: InsightAppSec API — Files
  description: 'InsightAppSec API — Files. 6 operations. Lead operation: Get Files. Self-contained Naftiko capability covering one business surface.'
  tags:
  - Rapid7
  - Files
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    RAPID7_API_KEY: RAPID7_API_KEY
capability:
  consumes:
  - type: http
    namespace: insightappsec-files
    baseUri: https://[region].api.insight.rapid7.com/ias/v1
    description: InsightAppSec API — Files business capability. Self-contained, no shared references.
    resources:
    - name: apps-app-id-files
      path: /apps/{app-id}/files
      operations:
      - name: getfiles
        method: GET
        description: Get Files
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: app-id
          in: path
          type: string
          description: path parameter app-id.
          required: true
        - name: index
          in: query
          type: integer
          description: query parameter index.
        - name: size
          in: query
          type: integer
          description: query parameter size.
        - name: sort
          in: query
          type: string
          description: query parameter sort.
        - name: page-token
          in: query
          type: string
          description: query parameter page-token.
      - name: createfile
        method: POST
        description: Create File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: app-id
          in: path
          type: string
          description: path parameter app-id.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: apps-app-id-files-file-id
      path: /apps/{app-id}/files/{file-id}
      operations:
      - name: getfile
        method: GET
        description: Get File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: app-id
          in: path
          type: string
          description: path parameter app-id.
          required: true
        - name: file-id
          in: path
          type: string
          description: path parameter file-id.
          required: true
      - name: updatefile
        method: PUT
        description: Update File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: app-id
          in: path
          type: string
          description: path parameter app-id.
          required: true
        - name: file-id
          in: path
          type: string
          description: path parameter file-id.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: uploadfile
        method: POST
        description: Upload File Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: app-id
          in: path
          type: string
          description: path parameter app-id.
          required: true
        - name: file-id
          in: path
          type: string
          description: path parameter file-id.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletefile
        method: DELETE
        description: Delete File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: app-id
          in: path
          type: string
          description: path parameter app-id.
          required: true
        - name: file-id
          in: path
          type: string
          description: path parameter file-id.
          required: true
  exposes:
  - type: rest
    namespace: insightappsec-files-rest
    port: 8080
    description: REST adapter for InsightAppSec API — Files. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/apps/{app-id}/files
      name: apps-app-id-files
      description: REST surface for apps-app-id-files.
      operations:
      - method: GET
        name: getfiles
        description: Get Files
        call: insightappsec-files.getfiles
        with:
          app-id: rest.app-id
          index: rest.index
          size: rest.size
          sort: rest.sort
          page-token: rest.page-token
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createfile
        description: Create File
        call: insightappsec-files.createfile
        with:
          app-id: rest.app-id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apps/{app-id}/files/{file-id}
      name: apps-app-id-files-file-id
      description: REST surface for apps-app-id-files-file-id.
      operations:
      - method: GET
        name: getfile
        description: Get File
        call: insightappsec-files.getfile
        with:
          app-id: rest.app-id
          file-id: rest.file-id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatefile
        description: Update File
        call: insightappsec-files.updatefile
        with:
          app-id: rest.app-id
          file-id: rest.file-id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: uploadfile
        description: Upload File Content
        call: insightappsec-files.uploadfile
        with:
          app-id: rest.app-id
          file-id: rest.file-id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletefile
        description: Delete File
        call: insightappsec-files.deletefile
        with:
          app-id: rest.app-id
          file-id: rest.file-id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: insightappsec-files-mcp
    port: 9090
    transport: http
    description: MCP adapter for InsightAppSec API — Files. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: rapid7-getfiles
      description: Get Files
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: insightappsec-files.getfiles
      with:
        app-id: tools.app-id
        index: tools.index
        size: tools.size
        sort: tools.sort
        page-token: tools.page-token
      outputParameters:
      - type: object
        mapping: $.
    - name: rapid7-createfile
      description: Create File
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: insightappsec-files.createfile
      with:
        app-id: tools.app-id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: rapid7-getfile
      description: Get File
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: insightappsec-files.getfile
      with:
        app-id: tools.app-id
        file-id: tools.file-id
      outputParameters:
      - type: object
        mapping: $.
    - name: rapid7-updatefile
      description: Update File
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: insightappsec-files.updatefile
      with:
        app-id: tools.app-id
        file-id: tools.file-id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: rapid7-uploadfile
      description: Upload File Content
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: insightappsec-files.uploadfile
      with:
        app-id: tools.app-id
        file-id: tools.file-id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: rapid7-deletefile
      description: Delete File
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: insightappsec-files.deletefile
      with:
        app-id: tools.app-id
        file-id: tools.file-id
      outputParameters:
      - type: object
        mapping: $.