Sorry, no results found for "".
Returns a resource object of type job_result
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const jobResultId = "34";7 8 const jobResult = await client.jobResults.find(jobResultId);9 10 // Check the 'Returned output' tab for the result ☝️11 console.log(jobResult);12}13 14run();
1{2 id: "34",3 status: 200,4 payload: {5 data: { id: 999, type: "item_type", attributes: { some: "attributes" } },6 },7}