Show examples in:
    List all models

    Returns

    Returns an array of item_type resource objects.

    Examples

    Example Basic example
    import { buildClient } from '@datocms/cma-client-node';
    async function run() {
    const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
    const itemTypes = await client.itemTypes.list();
    itemTypes.forEach((itemType) => {
    console.log(itemType);
    });
    }
    run();