What is the validity time or expire duration of the access token generated?
The Intelligent Advisor REST API requires an OAuth2 token in the header request when invoked. If you are not using Oracle Identity Cloud Service or IDCS, the OAuth tokens will expire after 30 minutes of inactivity. After 30 minutes of inactivity, you will need to get a new token. This is the same time period that an interview session times out due to inactivity.
If the token is in constant use (i.e. at least once in every 30 minutes), it will not timeout.