I don't believe there is documentation explicitly saying how often this info will be updated.
Basically, the time is depending on how often the Dashboard query the switch port for this info and updated for API query since API only query the Dashboard.
It may be worth sending a feature request regarding your issue. Thanks!
If you found this post helpful, please give it kudos. If my answer solved your problem, click "accept as solution" so that others can benefit from it.