GetAgents API not following intelliassign settings

GetAgents api response should contain intelliassign settings. We have a custom bot built upon azure and using Freshchat apis.

If five agents are active in intelliassign on what basis client application assign the conversation via api if it does not contain intelliassign setting info.