APIs.io Engineering Platform Cloudflare API — Magic PCAP Collection

APIs.io Engineering Platform Cloudflare API — Magic PCAP Collection. 8 operations. Lead operation: APIs.io Engineering Platform List packet capture requests. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformMagic PCAP Collection

What You Can Do

GET
Magicpcapcollectionlistpacketcapturerequests — APIs.io Engineering Platform List packet capture requests
/v1/accounts/{account-id}/pcaps
POST
Magicpcapcollectioncreatepcaprequest — APIs.io Engineering Platform Create PCAP request
/v1/accounts/{account-id}/pcaps
GET
Magicpcapcollectionlistpcapsbucketownership — APIs.io Engineering Platform List PCAPs Bucket Ownership
/v1/accounts/{account-id}/pcaps/ownership
POST
Magicpcapcollectionaddbucketsforfullpacketcaptures — APIs.io Engineering Platform Add buckets for full packet captures
/v1/accounts/{account-id}/pcaps/ownership
POST
Magicpcapcollectionvalidatebucketsforfullpacketcaptures — APIs.io Engineering Platform Validate buckets for full packet captures
/v1/accounts/{account-id}/pcaps/ownership/validate
DELETE
Magicpcapcollectiondeletebucketsforfullpacketcaptures — APIs.io Engineering Platform Delete buckets for full packet captures
/v1/accounts/{account-id}/pcaps/ownership/{ownership-id}
GET
Magicpcapcollectiongetpcaprequest — APIs.io Engineering Platform Get PCAP request
/v1/accounts/{account-id}/pcaps/{pcap-id}
GET
Magicpcapcollectiondownloadsimplepcap — APIs.io Engineering Platform Download Simple PCAP
/v1/accounts/{account-id}/pcaps/{pcap-id}/download

MCP Tools

apis-io-engineering-platform-list-packet

APIs.io Engineering Platform List packet capture requests

read-only idempotent
apis-io-engineering-platform-create-pcap

APIs.io Engineering Platform Create PCAP request

apis-io-engineering-platform-list-pcaps

APIs.io Engineering Platform List PCAPs Bucket Ownership

read-only idempotent
apis-io-engineering-platform-add-buckets

APIs.io Engineering Platform Add buckets for full packet captures

apis-io-engineering-platform-validate-buckets

APIs.io Engineering Platform Validate buckets for full packet captures

read-only
apis-io-engineering-platform-delete-buckets

APIs.io Engineering Platform Delete buckets for full packet captures

idempotent
apis-io-engineering-platform-get-pcap

APIs.io Engineering Platform Get PCAP request

read-only idempotent
apis-io-engineering-platform-download-simple

APIs.io Engineering Platform Download Simple PCAP

read-only idempotent

Capability Spec

cloudflare-magic-pcap-collection.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Magic PCAP Collection
  description: 'APIs.io Engineering Platform Cloudflare API — Magic PCAP Collection. 8 operations. Lead operation: APIs.io
    Engineering Platform List packet capture requests. Self-contained Naftiko capability covering one Engineering Platform
    business surface.'
  tags:
  - Engineering Platform
  - Magic PCAP Collection
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudflare-magic-pcap-collection
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Magic PCAP Collection business capability. Self-contained,
      no shared references.
    resources:
    - name: accounts-account_id-pcaps
      path: /accounts/{account_id}/pcaps
      operations:
      - name: magicpcapcollectionlistpacketcapturerequests
        method: GET
        description: APIs.io Engineering Platform List packet capture requests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
      - name: magicpcapcollectioncreatepcaprequest
        method: POST
        description: APIs.io Engineering Platform Create PCAP request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-pcaps-ownership
      path: /accounts/{account_id}/pcaps/ownership
      operations:
      - name: magicpcapcollectionlistpcapsbucketownership
        method: GET
        description: APIs.io Engineering Platform List PCAPs Bucket Ownership
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
      - name: magicpcapcollectionaddbucketsforfullpacketcaptures
        method: POST
        description: APIs.io Engineering Platform Add buckets for full packet captures
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-pcaps-ownership-validate
      path: /accounts/{account_id}/pcaps/ownership/validate
      operations:
      - name: magicpcapcollectionvalidatebucketsforfullpacketcaptures
        method: POST
        description: APIs.io Engineering Platform Validate buckets for full packet captures
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-pcaps-ownership-ownership_id
      path: /accounts/{account_id}/pcaps/ownership/{ownership_id}
      operations:
      - name: magicpcapcollectiondeletebucketsforfullpacketcaptures
        method: DELETE
        description: APIs.io Engineering Platform Delete buckets for full packet captures
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ownership_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
    - name: accounts-account_id-pcaps-pcap_id
      path: /accounts/{account_id}/pcaps/{pcap_id}
      operations:
      - name: magicpcapcollectiongetpcaprequest
        method: GET
        description: APIs.io Engineering Platform Get PCAP request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pcap_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
    - name: accounts-account_id-pcaps-pcap_id-download
      path: /accounts/{account_id}/pcaps/{pcap_id}/download
      operations:
      - name: magicpcapcollectiondownloadsimplepcap
        method: GET
        description: APIs.io Engineering Platform Download Simple PCAP
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pcap_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-magic-pcap-collection-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Magic PCAP Collection. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/pcaps
      name: accounts-account-id-pcaps
      description: REST surface for accounts-account_id-pcaps.
      operations:
      - method: GET
        name: magicpcapcollectionlistpacketcapturerequests
        description: APIs.io Engineering Platform List packet capture requests
        call: cloudflare-magic-pcap-collection.magicpcapcollectionlistpacketcapturerequests
        with:
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: magicpcapcollectioncreatepcaprequest
        description: APIs.io Engineering Platform Create PCAP request
        call: cloudflare-magic-pcap-collection.magicpcapcollectioncreatepcaprequest
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/pcaps/ownership
      name: accounts-account-id-pcaps-ownership
      description: REST surface for accounts-account_id-pcaps-ownership.
      operations:
      - method: GET
        name: magicpcapcollectionlistpcapsbucketownership
        description: APIs.io Engineering Platform List PCAPs Bucket Ownership
        call: cloudflare-magic-pcap-collection.magicpcapcollectionlistpcapsbucketownership
        with:
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: magicpcapcollectionaddbucketsforfullpacketcaptures
        description: APIs.io Engineering Platform Add buckets for full packet captures
        call: cloudflare-magic-pcap-collection.magicpcapcollectionaddbucketsforfullpacketcaptures
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/pcaps/ownership/validate
      name: accounts-account-id-pcaps-ownership-validate
      description: REST surface for accounts-account_id-pcaps-ownership-validate.
      operations:
      - method: POST
        name: magicpcapcollectionvalidatebucketsforfullpacketcaptures
        description: APIs.io Engineering Platform Validate buckets for full packet captures
        call: cloudflare-magic-pcap-collection.magicpcapcollectionvalidatebucketsforfullpacketcaptures
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/pcaps/ownership/{ownership-id}
      name: accounts-account-id-pcaps-ownership-ownership-id
      description: REST surface for accounts-account_id-pcaps-ownership-ownership_id.
      operations:
      - method: DELETE
        name: magicpcapcollectiondeletebucketsforfullpacketcaptures
        description: APIs.io Engineering Platform Delete buckets for full packet captures
        call: cloudflare-magic-pcap-collection.magicpcapcollectiondeletebucketsforfullpacketcaptures
        with:
          ownership_id: rest.ownership_id
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/pcaps/{pcap-id}
      name: accounts-account-id-pcaps-pcap-id
      description: REST surface for accounts-account_id-pcaps-pcap_id.
      operations:
      - method: GET
        name: magicpcapcollectiongetpcaprequest
        description: APIs.io Engineering Platform Get PCAP request
        call: cloudflare-magic-pcap-collection.magicpcapcollectiongetpcaprequest
        with:
          pcap_id: rest.pcap_id
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/pcaps/{pcap-id}/download
      name: accounts-account-id-pcaps-pcap-id-download
      description: REST surface for accounts-account_id-pcaps-pcap_id-download.
      operations:
      - method: GET
        name: magicpcapcollectiondownloadsimplepcap
        description: APIs.io Engineering Platform Download Simple PCAP
        call: cloudflare-magic-pcap-collection.magicpcapcollectiondownloadsimplepcap
        with:
          pcap_id: rest.pcap_id
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-magic-pcap-collection-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Magic PCAP Collection. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-packet
      description: APIs.io Engineering Platform List packet capture requests
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-pcap-collection.magicpcapcollectionlistpacketcapturerequests
      with:
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-pcap
      description: APIs.io Engineering Platform Create PCAP request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-magic-pcap-collection.magicpcapcollectioncreatepcaprequest
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-pcaps
      description: APIs.io Engineering Platform List PCAPs Bucket Ownership
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-pcap-collection.magicpcapcollectionlistpcapsbucketownership
      with:
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-add-buckets
      description: APIs.io Engineering Platform Add buckets for full packet captures
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-magic-pcap-collection.magicpcapcollectionaddbucketsforfullpacketcaptures
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-validate-buckets
      description: APIs.io Engineering Platform Validate buckets for full packet captures
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: cloudflare-magic-pcap-collection.magicpcapcollectionvalidatebucketsforfullpacketcaptures
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-buckets
      description: APIs.io Engineering Platform Delete buckets for full packet captures
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-magic-pcap-collection.magicpcapcollectiondeletebucketsforfullpacketcaptures
      with:
        ownership_id: tools.ownership_id
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-pcap
      description: APIs.io Engineering Platform Get PCAP request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-pcap-collection.magicpcapcollectiongetpcaprequest
      with:
        pcap_id: tools.pcap_id
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-download-simple
      description: APIs.io Engineering Platform Download Simple PCAP
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-pcap-collection.magicpcapcollectiondownloadsimplepcap
      with:
        pcap_id: tools.pcap_id
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.