APIs.io Engineering Platform Cloudflare API — Workers AI Text Classification

APIs.io Engineering Platform Cloudflare API — Workers AI Text Classification. 1 operations. Lead operation: APIs.io Engineering Platform Execute @cf/huggingface/distilbert-sst-2-int8 model.. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformWorkers AI Text Classification

What You Can Do

POST
Workersaipostruncfhuggingfacedistilbertsst2int8 — APIs.io Engineering Platform Execute @cf/huggingface/distilbert-sst-2-int8 model.
/v1/accounts/{account-id}/ai/run/cf/huggingface/distilbert-sst-2-int8

MCP Tools

apis-io-engineering-platform-execute-cf

APIs.io Engineering Platform Execute @cf/huggingface/distilbert-sst-2-int8 model.

Capability Spec

cloudflare-workers-ai-text-classification.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Workers AI Text Classification
  description: 'APIs.io Engineering Platform Cloudflare API — Workers AI Text Classification. 1 operations. Lead operation:
    APIs.io Engineering Platform Execute @cf/huggingface/distilbert-sst-2-int8 model.. Self-contained Naftiko capability covering
    one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Workers AI Text Classification
  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-workers-ai-text-classification
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Workers AI Text Classification business capability. Self-contained,
      no shared references.
    resources:
    - name: accounts-account_id-ai-run-@cf-huggingface-distilbert-sst-2-int8
      path: /accounts/{account_id}/ai/run/@cf/huggingface/distilbert-sst-2-int8
      operations:
      - name: workersaipostruncfhuggingfacedistilbertsst2int8
        method: POST
        description: APIs.io Engineering Platform Execute @cf/huggingface/distilbert-sst-2-int8 model.
        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
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-workers-ai-text-classification-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Workers AI Text Classification. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/ai/run/cf/huggingface/distilbert-sst-2-int8
      name: accounts-account-id-ai-run-cf-huggingface-distilbert-sst-2-int8
      description: REST surface for accounts-account_id-ai-run-@cf-huggingface-distilbert-sst-2-int8.
      operations:
      - method: POST
        name: workersaipostruncfhuggingfacedistilbertsst2int8
        description: APIs.io Engineering Platform Execute @cf/huggingface/distilbert-sst-2-int8 model.
        call: cloudflare-workers-ai-text-classification.workersaipostruncfhuggingfacedistilbertsst2int8
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-workers-ai-text-classification-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Workers AI Text Classification. One tool per
      consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-execute-cf
      description: APIs.io Engineering Platform Execute @cf/huggingface/distilbert-sst-2-int8 model.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-workers-ai-text-classification.workersaipostruncfhuggingfacedistilbertsst2int8
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.