Show examples in:
Retrieve a record version

Returns

Returns a item_version resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const itemVersionId = '59JSonvYTCOUDz_b7_6hvA';
const itemVersion = await client.itemVersions.find(itemVersionId);
console.log(itemVersion);
}
run();