DatoCMS Items API

The Items API from DatoCMS — 3 operation(s) for items.

Operations 6

GET /items List items (records) #
POST /items Create an item #
GET /items/{itemId} Retrieve an item #
PUT /items/{itemId} Update an item #
DELETE /items/{itemId} Delete an item #
PUT /items/{itemId}/publish Publish an item #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/datocms-items-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

datocms-items-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DatoCMS Content Management Environments Items API
  description: The DatoCMS Content Management API (CMA) is a JSON:API-based REST API for managing content, schema, uploads, environments, and configuration on a DatoCMS project. It exposes 150+ endpoints across 40+ resources for items, item types, fields, uploads, sites, environments, webhooks, plugins, workflows, and roles. For public content delivery, DatoCMS recommends the Content Delivery API GraphQL endpoint instead.
  version: 3.0.0
  contact:
    name: DatoCMS
    url: https://www.datocms.com/support
servers:
- url: https://site-api.datocms.com
  description: DatoCMS production CMA
security:
- apiTokenAuth: []
tags:
- name: Items
paths:
  /items:
    get:
      operationId: listItems
      summary: List items (records)
      tags:
      - Items
      parameters:
      - $ref: '#/components/parameters/PageOffset'
      - $ref: '#/components/parameters/PageLimit'
      - name: filter[type]
        in: query
        description: Item type API key or ID to filter by.
        schema:
          type: string
      responses:
        '200':
          description: Collection of items
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ItemListResponse'
    post:
      operationId: createItem
      summary: Create an item
      tags:
      - Items
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ItemRequest'
      responses:
        '201':
          description: Created item
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ItemResponse'
  /items/{itemId}:
    parameters:
    - $ref: '#/components/parameters/ItemId'
    get:
      operationId: getItem
      summary: Retrieve an item
      tags:
      - Items
      responses:
        '200':
          description: Item
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ItemResponse'
    put:
      operationId: updateItem
      summary: Update an item
      tags:
      - Items
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ItemRequest'
      responses:
        '200':
          description: Updated item
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ItemResponse'
    delete:
      operationId: deleteItem
      summary: Delete an item
      tags:
      - Items
      responses:
        '204':
          description: Deleted
  /items/{itemId}/publish:
    parameters:
    - $ref: '#/components/parameters/ItemId'
    put:
      operationId: publishItem
      summary: Publish an item
      tags:
      - Items
      responses:
        '200':
          description: Published
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ItemResponse'
components:
  schemas:
    ItemResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/JsonApiResource'
    ItemListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/JsonApiResource'
        meta:
          type: object
    JsonApiResource:
      type: object
      required:
      - type
      - id
      properties:
        type:
          type: string
        id:
          type: string
        attributes:
          type: object
        relationships:
          type: object
        meta:
          type: object
    ItemRequest:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/JsonApiResource'
  parameters:
    PageOffset:
      name: page[offset]
      in: query
      schema:
        type: integer
        minimum: 0
    PageLimit:
      name: page[limit]
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 500
    ItemId:
      name: itemId
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    apiTokenAuth:
      type: http
      scheme: bearer
      bearerFormat: API token
externalDocs:
  description: DatoCMS CMA documentation
  url: https://www.datocms.com/docs/content-management-api