Typesense · Capability

Typesense Search API — Stopwords

Typesense Search API — Stopwords. 4 operations. Lead operation: List All Stopwords Sets. Self-contained Naftiko capability covering one Typesense business surface.

Run with Naftiko TypesenseStopwords

What You Can Do

GET
Liststopwordssets — List All Stopwords Sets
/v1/stopwords
GET
Getstopwordsset — Retrieve A Stopwords Set
/v1/stopwords/{setid}
PUT
Upsertstopwordsset — Create Or Update A Stopwords Set
/v1/stopwords/{setid}
DELETE
Deletestopwordsset — Delete A Stopwords Set
/v1/stopwords/{setid}

MCP Tools

list-all-stopwords-sets

List All Stopwords Sets

read-only idempotent
retrieve-stopwords-set

Retrieve A Stopwords Set

read-only idempotent
create-update-stopwords-set

Create Or Update A Stopwords Set

idempotent
delete-stopwords-set

Delete A Stopwords Set

idempotent

Capability Spec

search-stopwords.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Typesense Search API — Stopwords
  description: 'Typesense Search API — Stopwords. 4 operations. Lead operation: List All Stopwords Sets. Self-contained Naftiko
    capability covering one Typesense business surface.'
  tags:
  - Typesense
  - Stopwords
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TYPESENSE_API_KEY: TYPESENSE_API_KEY
capability:
  consumes:
  - type: http
    namespace: search-stopwords
    baseUri: ''
    description: Typesense Search API — Stopwords business capability. Self-contained, no shared references.
    resources:
    - name: stopwords
      path: /stopwords
      operations:
      - name: liststopwordssets
        method: GET
        description: List All Stopwords Sets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: stopwords-setId
      path: /stopwords/{setId}
      operations:
      - name: getstopwordsset
        method: GET
        description: Retrieve A Stopwords Set
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: upsertstopwordsset
        method: PUT
        description: Create Or Update A Stopwords Set
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletestopwordsset
        method: DELETE
        description: Delete A Stopwords Set
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-TYPESENSE-API-KEY
      value: '{{env.TYPESENSE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: search-stopwords-rest
    port: 8080
    description: REST adapter for Typesense Search API — Stopwords. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/stopwords
      name: stopwords
      description: REST surface for stopwords.
      operations:
      - method: GET
        name: liststopwordssets
        description: List All Stopwords Sets
        call: search-stopwords.liststopwordssets
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stopwords/{setid}
      name: stopwords-setid
      description: REST surface for stopwords-setId.
      operations:
      - method: GET
        name: getstopwordsset
        description: Retrieve A Stopwords Set
        call: search-stopwords.getstopwordsset
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: upsertstopwordsset
        description: Create Or Update A Stopwords Set
        call: search-stopwords.upsertstopwordsset
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletestopwordsset
        description: Delete A Stopwords Set
        call: search-stopwords.deletestopwordsset
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: search-stopwords-mcp
    port: 9090
    transport: http
    description: MCP adapter for Typesense Search API — Stopwords. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-stopwords-sets
      description: List All Stopwords Sets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: search-stopwords.liststopwordssets
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-stopwords-set
      description: Retrieve A Stopwords Set
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: search-stopwords.getstopwordsset
      outputParameters:
      - type: object
        mapping: $.
    - name: create-update-stopwords-set
      description: Create Or Update A Stopwords Set
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: search-stopwords.upsertstopwordsset
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-stopwords-set
      description: Delete A Stopwords Set
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: search-stopwords.deletestopwordsset
      outputParameters:
      - type: object
        mapping: $.