Kibana · Capability

Kibana APIs — APM agent keys

Kibana APIs — APM agent keys. 1 operations. Lead operation: Create an APM agent key. Self-contained Naftiko capability covering one Kibana business surface.

Run with Naftiko KibanaAPM agent keys

What You Can Do

POST
Createagentkey — Create an APM agent key
/v1/api/apm/agent-keys

MCP Tools

create-apm-agent-key

Create an APM agent key

Capability Spec

kibana-apm-agent-keys.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kibana APIs — APM agent keys
  description: 'Kibana APIs — APM agent keys. 1 operations. Lead operation: Create an APM agent key. Self-contained Naftiko
    capability covering one Kibana business surface.'
  tags:
  - Kibana
  - APM agent keys
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KIBANA_API_KEY: KIBANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: kibana-apm-agent-keys
    baseUri: https://{kibana_url}
    description: Kibana APIs — APM agent keys business capability. Self-contained, no shared references.
    resources:
    - name: api-apm-agent_keys
      path: /api/apm/agent_keys
      operations:
      - name: createagentkey
        method: POST
        description: Create an APM agent key
        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.KIBANA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: kibana-apm-agent-keys-rest
    port: 8080
    description: REST adapter for Kibana APIs — APM agent keys. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/apm/agent-keys
      name: api-apm-agent-keys
      description: REST surface for api-apm-agent_keys.
      operations:
      - method: POST
        name: createagentkey
        description: Create an APM agent key
        call: kibana-apm-agent-keys.createagentkey
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kibana-apm-agent-keys-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kibana APIs — APM agent keys. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: create-apm-agent-key
      description: Create an APM agent key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: kibana-apm-agent-keys.createagentkey
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.