# Populate does not work when adding a collection link via API

**URL:** <https://discourse.getcockpit.com/t/populate-does-not-work-when-adding-a-collection-link-via-api/3187>\
**Category:** Uncategorized\
**Created:** [May 8, 2025, 11:55am UTC](https://discourse.getcockpit.com/t/populate-does-not-work-when-adding-a-collection-link-via-api/3187 "2025-05-08T11:55:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sephen](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Post date:** [May 8, 2025, 11:55am UTC](https://discourse.getcockpit.com/t/populate-does-not-work-when-adding-a-collection-link-via-api/3187/1 "2025-05-08T11:55:17Z")

</div>

When adding a collection link via the API the “\_model” key is not present/added and thus the populate does not work?

Adding the \_model key by hand does not work and is omitted.
