how to fetch specific fields or attributes from external rest api used in ai agent
Summary:
All,
I am trying to fetch specific Fields from an External Rest API (Not all the Fields). These specific Fields if I am giving as part of URL using "Fields" as query parameter i am getting results in Postman/Bruno.
Please, refer the below screen shot where I am explicitly passing the Fields name as comma separated and getting the results. Need to achieve the same using AI Agent Studio.
I am able to configure AI Agent for the same however facing a strange issue. In this API if I don't pass any specific fields then default output contains only part_id, part_description since these two are mandatory fields . However if I am adding few of optional fields like Part_cost, Part_weight , unit_of_measurement that time AI Agent not fetching value of these fields(Refer the second Screenshot)