DatoCMS · Capability

DatoCMS Content Management API — Environments

DatoCMS Content Management API — Environments. 1 operations. Lead operation: List environments. Self-contained Naftiko capability covering one Datocms business surface.

Run with Naftiko DatocmsEnvironments

What You Can Do

GET
Listenvironments — List environments
/v1/environments

MCP Tools

list-environments

List environments

read-only idempotent

Capability Spec

content-management-environments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DatoCMS Content Management API — Environments
  description: 'DatoCMS Content Management API — Environments. 1 operations. Lead operation: List environments. Self-contained
    Naftiko capability covering one Datocms business surface.'
  tags:
  - Datocms
  - Environments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATOCMS_API_KEY: DATOCMS_API_KEY
capability:
  consumes:
  - type: http
    namespace: content-management-environments
    baseUri: https://site-api.datocms.com
    description: DatoCMS Content Management API — Environments business capability. Self-contained, no shared references.
    resources:
    - name: environments
      path: /environments
      operations:
      - name: listenvironments
        method: GET
        description: List environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.DATOCMS_API_KEY}}'
  exposes:
  - type: rest
    namespace: content-management-environments-rest
    port: 8080
    description: REST adapter for DatoCMS Content Management API — Environments. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/environments
      name: environments
      description: REST surface for environments.
      operations:
      - method: GET
        name: listenvironments
        description: List environments
        call: content-management-environments.listenvironments
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: content-management-environments-mcp
    port: 9090
    transport: http
    description: MCP adapter for DatoCMS Content Management API — Environments. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-environments
      description: List environments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: content-management-environments.listenvironments
      outputParameters:
      - type: object
        mapping: $.