Mintlify · Capability

Mintlify API — Assistant

Mintlify API — Assistant. 2 operations. Lead operation: Search documentation. Self-contained Naftiko capability covering one Mintlify business surface.

Run with Naftiko MintlifyAssistant

What You Can Do

POST
Searchdocs — Search documentation
/v1/discovery/v1/search/{domain}
POST
Createassistantmessage — Create assistant message
/v1/discovery/v2/assistant/{domain}/message

MCP Tools

search-documentation

Search documentation

read-only
create-assistant-message

Create assistant message

Capability Spec

mintlify-assistant.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mintlify API — Assistant
  description: 'Mintlify API — Assistant. 2 operations. Lead operation: Search documentation. Self-contained Naftiko capability
    covering one Mintlify business surface.'
  tags:
  - Mintlify
  - Assistant
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MINTLIFY_API_KEY: MINTLIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: mintlify-assistant
    baseUri: https://api.mintlify.com
    description: Mintlify API — Assistant business capability. Self-contained, no shared references.
    resources:
    - name: discovery-v1-search-domain
      path: /discovery/v1/search/{domain}
      operations:
      - name: searchdocs
        method: POST
        description: Search documentation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: discovery-v2-assistant-domain-message
      path: /discovery/v2/assistant/{domain}/message
      operations:
      - name: createassistantmessage
        method: POST
        description: Create assistant message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MINTLIFY_API_KEY}}'
  exposes:
  - type: rest
    namespace: mintlify-assistant-rest
    port: 8080
    description: REST adapter for Mintlify API — Assistant. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/discovery/v1/search/{domain}
      name: discovery-v1-search-domain
      description: REST surface for discovery-v1-search-domain.
      operations:
      - method: POST
        name: searchdocs
        description: Search documentation
        call: mintlify-assistant.searchdocs
        with:
          domain: rest.domain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/discovery/v2/assistant/{domain}/message
      name: discovery-v2-assistant-domain-message
      description: REST surface for discovery-v2-assistant-domain-message.
      operations:
      - method: POST
        name: createassistantmessage
        description: Create assistant message
        call: mintlify-assistant.createassistantmessage
        with:
          domain: rest.domain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: mintlify-assistant-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mintlify API — Assistant. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: search-documentation
      description: Search documentation
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: mintlify-assistant.searchdocs
      with:
        domain: tools.domain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-assistant-message
      description: Create assistant message
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: mintlify-assistant.createassistantmessage
      with:
        domain: tools.domain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.