APIs.io Engineering Platform Cloudflare API — AI Gateway

APIs.io Engineering Platform Cloudflare API — AI Gateway. 6 operations. Lead operation: APIs.io Engineering Platform List Gateways. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformAI Gateway

What You Can Do

GET
Aigconfiglistgateway — APIs.io Engineering Platform List Gateways
/v1/accounts/{account-id}/ai-gateway/gateways
POST
Aigconfigcreategateway — APIs.io Engineering Platform Create a new Gateway
/v1/accounts/{account-id}/ai-gateway/gateways
GET
Aigconfiglistgatewaylogs — APIs.io Engineering Platform List Gateway Logs
/v1/accounts/{account-id}/ai-gateway/gateways/{gateway-id}/logs
DELETE
Aigconfigdeletegateway — APIs.io Engineering Platform Delete a Gateway
/v1/accounts/{account-id}/ai-gateway/gateways/{id}
GET
Aigconfigfetchgateway — APIs.io Engineering Platform Fetch a Gateway
/v1/accounts/{account-id}/ai-gateway/gateways/{id}
PUT
Aigconfigupdategateway — APIs.io Engineering Platform Update a Gateway
/v1/accounts/{account-id}/ai-gateway/gateways/{id}

MCP Tools

apis-io-engineering-platform-list-gateways

APIs.io Engineering Platform List Gateways

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

APIs.io Engineering Platform Create a new Gateway

apis-io-engineering-platform-list-gateway

APIs.io Engineering Platform List Gateway Logs

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

APIs.io Engineering Platform Delete a Gateway

idempotent
apis-io-engineering-platform-fetch-gateway

APIs.io Engineering Platform Fetch a Gateway

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

APIs.io Engineering Platform Update a Gateway

idempotent

Capability Spec

cloudflare-ai-gateway.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — AI Gateway
  description: 'APIs.io Engineering Platform Cloudflare API — AI Gateway. 6 operations. Lead operation: APIs.io Engineering
    Platform List Gateways. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - AI Gateway
  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-ai-gateway
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — AI Gateway business capability. Self-contained, no shared references.
    resources:
    - name: accounts-account_id-ai-gateway-gateways
      path: /accounts/{account_id}/ai-gateway/gateways
      operations:
      - name: aigconfiglistgateway
        method: GET
        description: APIs.io Engineering Platform List Gateways
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: page
          in: query
          type: integer
        - name: per_page
          in: query
          type: integer
        - name: order_by
          in: query
          type: string
          description: Order By Column Name
        - name: order_by_direction
          in: query
          type: string
          description: Order By Direction
        - name: id
          in: query
          type: string
      - name: aigconfigcreategateway
        method: POST
        description: APIs.io Engineering Platform Create a new Gateway
        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: false
    - name: accounts-account_id-ai-gateway-gateways-gateway_id-logs
      path: /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs
      operations:
      - name: aigconfiglistgatewaylogs
        method: GET
        description: APIs.io Engineering Platform List Gateway Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: gateway_id
          in: path
          type: string
          required: true
        - name: search
          in: query
          type: string
        - name: page
          in: query
          type: integer
        - name: per_page
          in: query
          type: integer
        - name: order_by
          in: query
          type: string
        - name: direction
          in: query
          type: string
        - name: order_by_direction
          in: query
          type: string
        - name: start_date
          in: query
          type: string
        - name: end_date
          in: query
          type: string
        - name: min_cost
          in: query
          type: number
        - name: max_cost
          in: query
          type: number
        - name: min_tokens_in
          in: query
          type: number
        - name: max_tokens_in
          in: query
          type: number
        - name: min_tokens_out
          in: query
          type: number
        - name: max_tokens_out
          in: query
          type: number
        - name: min_total_tokens
          in: query
          type: number
        - name: max_total_tokens
          in: query
          type: number
        - name: min_duration
          in: query
          type: number
        - name: max_duration
          in: query
          type: number
        - name: feedback
          in: query
          type: string
        - name: success
          in: query
          type: boolean
        - name: cached
          in: query
          type: boolean
        - name: model
          in: query
          type: string
        - name: model_type
          in: query
          type: string
        - name: provider
          in: query
          type: string
        - name: request_content_type
          in: query
          type: string
        - name: response_content_type
          in: query
          type: string
        - name: meta_info
          in: query
          type: boolean
    - name: accounts-account_id-ai-gateway-gateways-id
      path: /accounts/{account_id}/ai-gateway/gateways/{id}
      operations:
      - name: aigconfigdeletegateway
        method: DELETE
        description: APIs.io Engineering Platform Delete a Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
      - name: aigconfigfetchgateway
        method: GET
        description: APIs.io Engineering Platform Fetch a Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
      - name: aigconfigupdategateway
        method: PUT
        description: APIs.io Engineering Platform Update a Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-ai-gateway-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — AI Gateway. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/ai-gateway/gateways
      name: accounts-account-id-ai-gateway-gateways
      description: REST surface for accounts-account_id-ai-gateway-gateways.
      operations:
      - method: GET
        name: aigconfiglistgateway
        description: APIs.io Engineering Platform List Gateways
        call: cloudflare-ai-gateway.aigconfiglistgateway
        with:
          account_id: rest.account_id
          page: rest.page
          per_page: rest.per_page
          order_by: rest.order_by
          order_by_direction: rest.order_by_direction
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: aigconfigcreategateway
        description: APIs.io Engineering Platform Create a new Gateway
        call: cloudflare-ai-gateway.aigconfigcreategateway
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/ai-gateway/gateways/{gateway-id}/logs
      name: accounts-account-id-ai-gateway-gateways-gateway-id-logs
      description: REST surface for accounts-account_id-ai-gateway-gateways-gateway_id-logs.
      operations:
      - method: GET
        name: aigconfiglistgatewaylogs
        description: APIs.io Engineering Platform List Gateway Logs
        call: cloudflare-ai-gateway.aigconfiglistgatewaylogs
        with:
          account_id: rest.account_id
          gateway_id: rest.gateway_id
          search: rest.search
          page: rest.page
          per_page: rest.per_page
          order_by: rest.order_by
          direction: rest.direction
          order_by_direction: rest.order_by_direction
          start_date: rest.start_date
          end_date: rest.end_date
          min_cost: rest.min_cost
          max_cost: rest.max_cost
          min_tokens_in: rest.min_tokens_in
          max_tokens_in: rest.max_tokens_in
          min_tokens_out: rest.min_tokens_out
          max_tokens_out: rest.max_tokens_out
          min_total_tokens: rest.min_total_tokens
          max_total_tokens: rest.max_total_tokens
          min_duration: rest.min_duration
          max_duration: rest.max_duration
          feedback: rest.feedback
          success: rest.success
          cached: rest.cached
          model: rest.model
          model_type: rest.model_type
          provider: rest.provider
          request_content_type: rest.request_content_type
          response_content_type: rest.response_content_type
          meta_info: rest.meta_info
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/ai-gateway/gateways/{id}
      name: accounts-account-id-ai-gateway-gateways-id
      description: REST surface for accounts-account_id-ai-gateway-gateways-id.
      operations:
      - method: DELETE
        name: aigconfigdeletegateway
        description: APIs.io Engineering Platform Delete a Gateway
        call: cloudflare-ai-gateway.aigconfigdeletegateway
        with:
          account_id: rest.account_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: aigconfigfetchgateway
        description: APIs.io Engineering Platform Fetch a Gateway
        call: cloudflare-ai-gateway.aigconfigfetchgateway
        with:
          account_id: rest.account_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: aigconfigupdategateway
        description: APIs.io Engineering Platform Update a Gateway
        call: cloudflare-ai-gateway.aigconfigupdategateway
        with:
          account_id: rest.account_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-ai-gateway-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — AI Gateway. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-gateways
      description: APIs.io Engineering Platform List Gateways
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-ai-gateway.aigconfiglistgateway
      with:
        account_id: tools.account_id
        page: tools.page
        per_page: tools.per_page
        order_by: tools.order_by
        order_by_direction: tools.order_by_direction
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-new
      description: APIs.io Engineering Platform Create a new Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-ai-gateway.aigconfigcreategateway
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-gateway
      description: APIs.io Engineering Platform List Gateway Logs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-ai-gateway.aigconfiglistgatewaylogs
      with:
        account_id: tools.account_id
        gateway_id: tools.gateway_id
        search: tools.search
        page: tools.page
        per_page: tools.per_page
        order_by: tools.order_by
        direction: tools.direction
        order_by_direction: tools.order_by_direction
        start_date: tools.start_date
        end_date: tools.end_date
        min_cost: tools.min_cost
        max_cost: tools.max_cost
        min_tokens_in: tools.min_tokens_in
        max_tokens_in: tools.max_tokens_in
        min_tokens_out: tools.min_tokens_out
        max_tokens_out: tools.max_tokens_out
        min_total_tokens: tools.min_total_tokens
        max_total_tokens: tools.max_total_tokens
        min_duration: tools.min_duration
        max_duration: tools.max_duration
        feedback: tools.feedback
        success: tools.success
        cached: tools.cached
        model: tools.model
        model_type: tools.model_type
        provider: tools.provider
        request_content_type: tools.request_content_type
        response_content_type: tools.response_content_type
        meta_info: tools.meta_info
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-gateway
      description: APIs.io Engineering Platform Delete a Gateway
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-ai-gateway.aigconfigdeletegateway
      with:
        account_id: tools.account_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-fetch-gateway
      description: APIs.io Engineering Platform Fetch a Gateway
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-ai-gateway.aigconfigfetchgateway
      with:
        account_id: tools.account_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-gateway
      description: APIs.io Engineering Platform Update a Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-ai-gateway.aigconfigupdategateway
      with:
        account_id: tools.account_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.