HTTP_TOO_MANY_REQUESTS error handling and filtering model outputs to id

Handling HTTP_TOO_MANY_REQUESTS error in API calls.

Adapting local model to output fitered outputs to a node id