The future date for the publication
Specifies which content should be published. If null, the whole record will be published.
import { buildClient } from '@datocms/cma-client-node';async function run() {const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });const itemId = '34';const scheduledPublication = await client.scheduledPublication.create(itemId, {publication_scheduled_at: '2025-02-10T11:03:42Z'});console.log(scheduledPublication);}run();