Sorry, no results found for "".
The record's model
The entity (account/collaborator/access token/sso user) who created the record
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 await client.items.validateNew({7 title: "My first blog post!",8 content: "Lorem ipsum dolor sit amet...",9 category: "24",10 image: {11 upload_id: "1235",12 alt: "Alt text",13 title: "Image title",14 custom_data: {},15 },16 item_type: { type: "item_type", id: "DxMaW10UQiCmZcuuA-IkkA" },17 });18}19 20run();