# ymLib.args.apiResponse not working

**URL:** <https://community.yellow.ai/t/ymlib-args-apiresponse-not-working/2106>\
**Category:** Studio\
**Tags:** builder\
**Created:** [May 7, 2022, 10:38am UTC](https://community.yellow.ai/t/ymlib-args-apiresponse-not-working/2106 "2022-05-07T10:38:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atharva\_Agrawal](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/atharva_agrawal/32/1306_2.png) [@Atharva\_Agrawal](https://community.yellow.ai/u/Atharva_Agrawal)\
**Post date:** [May 7, 2022, 10:38am UTC](https://community.yellow.ai/t/ymlib-args-apiresponse-not-working/2106/1 "2022-05-07T10:38:03Z")

</div>

ymLib.args.apiResponse is not giving the api response. Has this been deprecated?  
CC: @mayank.kaushik

---

<div class="post-metadata">

**Author:** ![Pratik](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/pratik/32/69_2.png) [@Pratik](https://community.yellow.ai/u/Pratik)\
**Post date:** [May 7, 2022, 11:01am UTC](https://community.yellow.ai/t/ymlib-args-apiresponse-not-working/2106/2 "2022-05-07T11:01:08Z")

</div>

Hey @Atharva_Agrawal  
You need to access the variable in which the API response is stored.  
For ie: let { products } = data.variables.community\_search\_resp;
