APIs.io Engineering Platform Cloudflare API — Web Analytics

APIs.io Engineering Platform Cloudflare API — Web Analytics. 10 operations. Lead operation: APIs.io Engineering Platform Create a Web Analytics site. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformWeb Analytics

What You Can Do

POST
Webanalyticscreatesite — APIs.io Engineering Platform Create a Web Analytics site
/v1/accounts/{account-id}/rum/site-info
GET
Webanalyticslistsites — APIs.io Engineering Platform List Web Analytics sites
/v1/accounts/{account-id}/rum/site-info/list
DELETE
Webanalyticsdeletesite — APIs.io Engineering Platform Delete a Web Analytics site
/v1/accounts/{account-id}/rum/site-info/{site-id}
GET
Webanalyticsgetsite — APIs.io Engineering Platform Get a Web Analytics site
/v1/accounts/{account-id}/rum/site-info/{site-id}
PUT
Webanalyticsupdatesite — APIs.io Engineering Platform Update a Web Analytics site
/v1/accounts/{account-id}/rum/site-info/{site-id}
POST
Webanalyticscreaterule — APIs.io Engineering Platform Create a Web Analytics rule
/v1/accounts/{account-id}/rum/v2/{ruleset-id}/rule
DELETE
Webanalyticsdeleterule — APIs.io Engineering Platform Delete a Web Analytics rule
/v1/accounts/{account-id}/rum/v2/{ruleset-id}/rule/{rule-id}
PUT
Webanalyticsupdaterule — APIs.io Engineering Platform Update a Web Analytics rule
/v1/accounts/{account-id}/rum/v2/{ruleset-id}/rule/{rule-id}
GET
Webanalyticslistrules — APIs.io Engineering Platform List rules in Web Analytics ruleset
/v1/accounts/{account-id}/rum/v2/{ruleset-id}/rules
POST
Webanalyticsmodifyrules — APIs.io Engineering Platform Update Web Analytics rules
/v1/accounts/{account-id}/rum/v2/{ruleset-id}/rules

MCP Tools

apis-io-engineering-platform-create-web

APIs.io Engineering Platform Create a Web Analytics site

apis-io-engineering-platform-list-web

APIs.io Engineering Platform List Web Analytics sites

read-only idempotent
apis-io-engineering-platform-delete-web

APIs.io Engineering Platform Delete a Web Analytics site

idempotent
apis-io-engineering-platform-get-web

APIs.io Engineering Platform Get a Web Analytics site

read-only idempotent
apis-io-engineering-platform-update-web

APIs.io Engineering Platform Update a Web Analytics site

idempotent
apis-io-engineering-platform-create-web-2

APIs.io Engineering Platform Create a Web Analytics rule

apis-io-engineering-platform-delete-web-2

APIs.io Engineering Platform Delete a Web Analytics rule

idempotent
apis-io-engineering-platform-update-web-2

APIs.io Engineering Platform Update a Web Analytics rule

idempotent
apis-io-engineering-platform-list-rules

APIs.io Engineering Platform List rules in Web Analytics ruleset

read-only idempotent
apis-io-engineering-platform-update-web-3

APIs.io Engineering Platform Update Web Analytics rules

Capability Spec

cloudflare-web-analytics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Web Analytics
  description: 'APIs.io Engineering Platform Cloudflare API — Web Analytics. 10 operations. Lead operation: APIs.io Engineering
    Platform Create a Web Analytics site. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Web Analytics
  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-web-analytics
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Web Analytics business capability. Self-contained, no shared
      references.
    resources:
    - name: accounts-account_id-rum-site_info
      path: /accounts/{account_id}/rum/site_info
      operations:
      - name: webanalyticscreatesite
        method: POST
        description: APIs.io Engineering Platform Create a Web Analytics site
        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-rum-site_info-list
      path: /accounts/{account_id}/rum/site_info/list
      operations:
      - name: webanalyticslistsites
        method: GET
        description: APIs.io Engineering Platform List Web Analytics sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: per_page
          in: query
          type: string
        - name: page
          in: query
          type: string
        - name: order_by
          in: query
          type: string
    - name: accounts-account_id-rum-site_info-site_id
      path: /accounts/{account_id}/rum/site_info/{site_id}
      operations:
      - name: webanalyticsdeletesite
        method: DELETE
        description: APIs.io Engineering Platform Delete a Web Analytics site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: site_id
          in: path
          type: string
          required: true
      - name: webanalyticsgetsite
        method: GET
        description: APIs.io Engineering Platform Get a Web Analytics site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: site_id
          in: path
          type: string
          required: true
      - name: webanalyticsupdatesite
        method: PUT
        description: APIs.io Engineering Platform Update a Web Analytics site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: site_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-rum-v2-ruleset_id-rule
      path: /accounts/{account_id}/rum/v2/{ruleset_id}/rule
      operations:
      - name: webanalyticscreaterule
        method: POST
        description: APIs.io Engineering Platform Create a Web Analytics rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: ruleset_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-rum-v2-ruleset_id-rule-rule_id
      path: /accounts/{account_id}/rum/v2/{ruleset_id}/rule/{rule_id}
      operations:
      - name: webanalyticsdeleterule
        method: DELETE
        description: APIs.io Engineering Platform Delete a Web Analytics rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: ruleset_id
          in: path
          type: string
          required: true
        - name: rule_id
          in: path
          type: string
          required: true
      - name: webanalyticsupdaterule
        method: PUT
        description: APIs.io Engineering Platform Update a Web Analytics rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: ruleset_id
          in: path
          type: string
          required: true
        - name: rule_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-rum-v2-ruleset_id-rules
      path: /accounts/{account_id}/rum/v2/{ruleset_id}/rules
      operations:
      - name: webanalyticslistrules
        method: GET
        description: APIs.io Engineering Platform List rules in Web Analytics ruleset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: ruleset_id
          in: path
          type: string
          required: true
      - name: webanalyticsmodifyrules
        method: POST
        description: APIs.io Engineering Platform Update Web Analytics rules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: ruleset_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-web-analytics-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Web Analytics. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/rum/site-info
      name: accounts-account-id-rum-site-info
      description: REST surface for accounts-account_id-rum-site_info.
      operations:
      - method: POST
        name: webanalyticscreatesite
        description: APIs.io Engineering Platform Create a Web Analytics site
        call: cloudflare-web-analytics.webanalyticscreatesite
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/rum/site-info/list
      name: accounts-account-id-rum-site-info-list
      description: REST surface for accounts-account_id-rum-site_info-list.
      operations:
      - method: GET
        name: webanalyticslistsites
        description: APIs.io Engineering Platform List Web Analytics sites
        call: cloudflare-web-analytics.webanalyticslistsites
        with:
          account_id: rest.account_id
          per_page: rest.per_page
          page: rest.page
          order_by: rest.order_by
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/rum/site-info/{site-id}
      name: accounts-account-id-rum-site-info-site-id
      description: REST surface for accounts-account_id-rum-site_info-site_id.
      operations:
      - method: DELETE
        name: webanalyticsdeletesite
        description: APIs.io Engineering Platform Delete a Web Analytics site
        call: cloudflare-web-analytics.webanalyticsdeletesite
        with:
          account_id: rest.account_id
          site_id: rest.site_id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: webanalyticsgetsite
        description: APIs.io Engineering Platform Get a Web Analytics site
        call: cloudflare-web-analytics.webanalyticsgetsite
        with:
          account_id: rest.account_id
          site_id: rest.site_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: webanalyticsupdatesite
        description: APIs.io Engineering Platform Update a Web Analytics site
        call: cloudflare-web-analytics.webanalyticsupdatesite
        with:
          account_id: rest.account_id
          site_id: rest.site_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/rum/v2/{ruleset-id}/rule
      name: accounts-account-id-rum-v2-ruleset-id-rule
      description: REST surface for accounts-account_id-rum-v2-ruleset_id-rule.
      operations:
      - method: POST
        name: webanalyticscreaterule
        description: APIs.io Engineering Platform Create a Web Analytics rule
        call: cloudflare-web-analytics.webanalyticscreaterule
        with:
          account_id: rest.account_id
          ruleset_id: rest.ruleset_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/rum/v2/{ruleset-id}/rule/{rule-id}
      name: accounts-account-id-rum-v2-ruleset-id-rule-rule-id
      description: REST surface for accounts-account_id-rum-v2-ruleset_id-rule-rule_id.
      operations:
      - method: DELETE
        name: webanalyticsdeleterule
        description: APIs.io Engineering Platform Delete a Web Analytics rule
        call: cloudflare-web-analytics.webanalyticsdeleterule
        with:
          account_id: rest.account_id
          ruleset_id: rest.ruleset_id
          rule_id: rest.rule_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: webanalyticsupdaterule
        description: APIs.io Engineering Platform Update a Web Analytics rule
        call: cloudflare-web-analytics.webanalyticsupdaterule
        with:
          account_id: rest.account_id
          ruleset_id: rest.ruleset_id
          rule_id: rest.rule_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/rum/v2/{ruleset-id}/rules
      name: accounts-account-id-rum-v2-ruleset-id-rules
      description: REST surface for accounts-account_id-rum-v2-ruleset_id-rules.
      operations:
      - method: GET
        name: webanalyticslistrules
        description: APIs.io Engineering Platform List rules in Web Analytics ruleset
        call: cloudflare-web-analytics.webanalyticslistrules
        with:
          account_id: rest.account_id
          ruleset_id: rest.ruleset_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: webanalyticsmodifyrules
        description: APIs.io Engineering Platform Update Web Analytics rules
        call: cloudflare-web-analytics.webanalyticsmodifyrules
        with:
          account_id: rest.account_id
          ruleset_id: rest.ruleset_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-web-analytics-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Web Analytics. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-create-web
      description: APIs.io Engineering Platform Create a Web Analytics site
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-web-analytics.webanalyticscreatesite
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-web
      description: APIs.io Engineering Platform List Web Analytics sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-web-analytics.webanalyticslistsites
      with:
        account_id: tools.account_id
        per_page: tools.per_page
        page: tools.page
        order_by: tools.order_by
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-web
      description: APIs.io Engineering Platform Delete a Web Analytics site
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-web-analytics.webanalyticsdeletesite
      with:
        account_id: tools.account_id
        site_id: tools.site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-web
      description: APIs.io Engineering Platform Get a Web Analytics site
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-web-analytics.webanalyticsgetsite
      with:
        account_id: tools.account_id
        site_id: tools.site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-web
      description: APIs.io Engineering Platform Update a Web Analytics site
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-web-analytics.webanalyticsupdatesite
      with:
        account_id: tools.account_id
        site_id: tools.site_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-web-2
      description: APIs.io Engineering Platform Create a Web Analytics rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-web-analytics.webanalyticscreaterule
      with:
        account_id: tools.account_id
        ruleset_id: tools.ruleset_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-web-2
      description: APIs.io Engineering Platform Delete a Web Analytics rule
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-web-analytics.webanalyticsdeleterule
      with:
        account_id: tools.account_id
        ruleset_id: tools.ruleset_id
        rule_id: tools.rule_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-web-2
      description: APIs.io Engineering Platform Update a Web Analytics rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-web-analytics.webanalyticsupdaterule
      with:
        account_id: tools.account_id
        ruleset_id: tools.ruleset_id
        rule_id: tools.rule_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-rules
      description: APIs.io Engineering Platform List rules in Web Analytics ruleset
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-web-analytics.webanalyticslistrules
      with:
        account_id: tools.account_id
        ruleset_id: tools.ruleset_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-web-3
      description: APIs.io Engineering Platform Update Web Analytics rules
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-web-analytics.webanalyticsmodifyrules
      with:
        account_id: tools.account_id
        ruleset_id: tools.ruleset_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.