Metabase · Capability

Metabase API — Search

Metabase API — Search. 1 operations. Lead operation: Search Metabase content. Self-contained Naftiko capability covering one Metabase business surface.

Run with Naftiko MetabaseSearch

What You Can Do

GET
Get — Search Metabase content
/v1/search

MCP Tools

search-metabase-content

Search Metabase content

read-only idempotent

Capability Spec

metabase-search.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Metabase API — Search
  description: 'Metabase API — Search. 1 operations. Lead operation: Search Metabase content. Self-contained Naftiko capability
    covering one Metabase business surface.'
  tags:
  - Metabase
  - Search
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    METABASE_API_KEY: METABASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: metabase-search
    baseUri: https://your-metabase-instance.com/api
    description: Metabase API — Search business capability. Self-contained, no shared references.
    resources:
    - name: search
      path: /search
      operations:
      - name: get
        method: GET
        description: Search Metabase content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Search term.
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.METABASE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: metabase-search-rest
    port: 8080
    description: REST adapter for Metabase 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: GET
        name: get
        description: Search Metabase content
        call: metabase-search.get
        with:
          q: rest.q
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metabase-search-mcp
    port: 9090
    transport: http
    description: MCP adapter for Metabase API — Search. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: search-metabase-content
      description: Search Metabase content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: metabase-search.get
      with:
        q: tools.q
      outputParameters:
      - type: object
        mapping: $.