sitecore · Capability

Sitecore Content Hub REST API — Search

Sitecore Content Hub REST API — Search. 1 operations. Lead operation: Search entities. Self-contained Naftiko capability covering one Sitecore business surface.

Run with Naftiko SitecoreSearch

What You Can Do

POST
Searchentities — Search entities
/v1/search

MCP Tools

search-entities

Search entities

read-only

Capability Spec

content-hub-rest-search.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sitecore Content Hub REST API — Search
  description: 'Sitecore Content Hub REST API — Search. 1 operations. Lead operation: Search entities. Self-contained Naftiko
    capability covering one Sitecore business surface.'
  tags:
  - Sitecore
  - Search
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SITECORE_API_KEY: SITECORE_API_KEY
capability:
  consumes:
  - type: http
    namespace: content-hub-rest-search
    baseUri: https://{tenant}.stylelabs.io/api
    description: Sitecore Content Hub REST API — Search business capability. Self-contained, no shared references.
    resources:
    - name: search
      path: /search
      operations:
      - name: searchentities
        method: POST
        description: Search entities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SITECORE_API_KEY}}'
  exposes:
  - type: rest
    namespace: content-hub-rest-search-rest
    port: 8080
    description: REST adapter for Sitecore Content Hub REST API — Search. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/search
      name: search
      description: REST surface for search.
      operations:
      - method: POST
        name: searchentities
        description: Search entities
        call: content-hub-rest-search.searchentities
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: content-hub-rest-search-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sitecore Content Hub REST API — Search. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: search-entities
      description: Search entities
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: content-hub-rest-search.searchentities
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.