List all records that link to a specific record
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 record; current, published or both
import { buildClient } from '@datocms/cma-client-node';async function run() {const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });const itemId = 'hWl-mnkWRYmMCSTq4z_piQ';const items = await client.items.references(itemId);items.forEach((item) => {console.log(item);});}run();