Elastic · Capability

Elastic Cloud API — Account

Elastic Cloud API — Account. 1 operations. Lead operation: Get account information. Self-contained Naftiko capability covering one Elastic business surface.

Run with Naftiko ElasticAccount

What You Can Do

GET
Getaccount — Get account information
/v1/api/v1/account

MCP Tools

get-account-information

Get account information

read-only idempotent

Capability Spec

cloud-account.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Elastic Cloud API — Account
  description: 'Elastic Cloud API — Account. 1 operations. Lead operation: Get account information. Self-contained Naftiko
    capability covering one Elastic business surface.'
  tags:
  - Elastic
  - Account
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ELASTIC_API_KEY: ELASTIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-account
    baseUri: https://api.elastic-cloud.com
    description: Elastic Cloud API — Account business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-account
      path: /api/v1/account
      operations:
      - name: getaccount
        method: GET
        description: Get account information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ELASTIC_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: cloud-account-rest
    port: 8080
    description: REST adapter for Elastic Cloud API — Account. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v1/account
      name: api-v1-account
      description: REST surface for api-v1-account.
      operations:
      - method: GET
        name: getaccount
        description: Get account information
        call: cloud-account.getaccount
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-account-mcp
    port: 9090
    transport: http
    description: MCP adapter for Elastic Cloud API — Account. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-account-information
      description: Get account information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-account.getaccount
      outputParameters:
      - type: object
        mapping: $.