CloudHealth · Capability

CloudHealth REST API — Search

CloudHealth REST API — Search. 1 operations. Lead operation: Search assets. Self-contained Naftiko capability covering one Cloudhealth business surface.

Run with Naftiko CloudhealthSearch

What You Can Do

GET
Searchassets — Search assets
/v1/api/search

MCP Tools

search-assets

Search assets

read-only idempotent

Capability Spec

cloudhealth-search.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CloudHealth REST API — Search
  description: 'CloudHealth REST API — Search. 1 operations. Lead operation: Search assets. Self-contained Naftiko capability
    covering one Cloudhealth business surface.'
  tags:
  - Cloudhealth
  - Search
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLOUDHEALTH_API_KEY: CLOUDHEALTH_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudhealth-search
    baseUri: https://chapi.cloudhealthtech.com
    description: CloudHealth REST API — Search business capability. Self-contained, no shared references.
    resources:
    - name: api-search
      path: /api/search
      operations:
      - name: searchassets
        method: GET
        description: Search assets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
        - name: query
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.CLOUDHEALTH_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudhealth-search-rest
    port: 8080
    description: REST adapter for CloudHealth REST API — Search. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/search
      name: api-search
      description: REST surface for api-search.
      operations:
      - method: GET
        name: searchassets
        description: Search assets
        call: cloudhealth-search.searchassets
        with:
          name: rest.name
          query: rest.query
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudhealth-search-mcp
    port: 9090
    transport: http
    description: MCP adapter for CloudHealth REST API — Search. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: search-assets
      description: Search assets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudhealth-search.searchassets
      with:
        name: tools.name
        query: tools.query
      outputParameters:
      - type: object
        mapping: $.