DatoCMS · Capability

DatoCMS Content Management API — Site

DatoCMS Content Management API — Site. 1 operations. Lead operation: Retrieve site details. Self-contained Naftiko capability covering one Datocms business surface.

Run with Naftiko DatocmsSite

What You Can Do

GET
Getsite — Retrieve site details
/v1/site

MCP Tools

retrieve-site-details

Retrieve site details

read-only idempotent

Capability Spec

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