Zabbix · Capability

Zabbix API — History

Zabbix API — History. 1 operations. Lead operation: Get History. Self-contained Naftiko capability covering one Zabbix business surface.

Run with Naftiko ZabbixHistory

What You Can Do

POST
Historyget — Get History
/v1/history-get

MCP Tools

get-history

Get History

read-only

Capability Spec

zabbix-history.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Zabbix API — History
  description: 'Zabbix API — History. 1 operations. Lead operation: Get History. Self-contained Naftiko capability covering
    one Zabbix business surface.'
  tags:
  - Zabbix
  - History
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZABBIX_API_KEY: ZABBIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: zabbix-history
    baseUri: https://{host}/zabbix/api_jsonrpc.php
    description: Zabbix API — History business capability. Self-contained, no shared references.
    resources:
    - name: history.get
      path: /history.get
      operations:
      - name: historyget
        method: POST
        description: Get History
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ZABBIX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: zabbix-history-rest
    port: 8080
    description: REST adapter for Zabbix API — History. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/history-get
      name: history-get
      description: REST surface for history.get.
      operations:
      - method: POST
        name: historyget
        description: Get History
        call: zabbix-history.historyget
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: zabbix-history-mcp
    port: 9090
    transport: http
    description: MCP adapter for Zabbix API — History. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-history
      description: Get History
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: zabbix-history.historyget
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.