Dynatrace · Capability

Dynatrace Account Management API — Environments

Dynatrace Account Management API — Environments. 1 operations. Lead operation: Dynatrace List Environments. Self-contained Naftiko capability covering one Dynatrace business surface.

Run with Naftiko DynatraceEnvironments

What You Can Do

GET
Listenvironments — Dynatrace List Environments
/v1/env/v1/accounts/{accountuuid}/environments

MCP Tools

dynatrace-list-environments

Dynatrace List Environments

read-only idempotent

Capability Spec

account-management-environments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dynatrace Account Management API — Environments
  description: 'Dynatrace Account Management API — Environments. 1 operations. Lead operation: Dynatrace List Environments.
    Self-contained Naftiko capability covering one Dynatrace business surface.'
  tags:
  - Dynatrace
  - Environments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DYNATRACE_API_KEY: DYNATRACE_API_KEY
capability:
  consumes:
  - type: http
    namespace: account-management-environments
    baseUri: https://api.dynatrace.com
    description: Dynatrace Account Management API — Environments business capability. Self-contained, no shared references.
    resources:
    - name: env-v1-accounts-accountUuid-environments
      path: /env/v1/accounts/{accountUuid}/environments
      operations:
      - name: listenvironments
        method: GET
        description: Dynatrace List Environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: nextPageKey
          in: query
          type: string
          description: Cursor for the next page of results.
        - name: pageSize
          in: query
          type: integer
          description: The number of environments to return per page.
    authentication:
      type: bearer
      token: '{{env.DYNATRACE_API_KEY}}'
  exposes:
  - type: rest
    namespace: account-management-environments-rest
    port: 8080
    description: REST adapter for Dynatrace Account Management API — Environments. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/env/v1/accounts/{accountuuid}/environments
      name: env-v1-accounts-accountuuid-environments
      description: REST surface for env-v1-accounts-accountUuid-environments.
      operations:
      - method: GET
        name: listenvironments
        description: Dynatrace List Environments
        call: account-management-environments.listenvironments
        with:
          nextPageKey: rest.nextPageKey
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: account-management-environments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dynatrace Account Management API — Environments. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: dynatrace-list-environments
      description: Dynatrace List Environments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: account-management-environments.listenvironments
      with:
        nextPageKey: tools.nextPageKey
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.