Retrieve all records that are linked to this upload
For Modular Content, Structured Text and Single Block fields, return full payload for nested blocks instead of IDs
Retrieve only the selected type of version that is linked to the upload; current, published or both
import { buildClient } from '@datocms/cma-client-node';async function run() {const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });const uploadId = 'q0VNpiNQSkG6z0lif_O1zg';const uploads = await client.uploads.references(uploadId);uploads.forEach((upload) => {console.log(upload);});}run();