Update in the Get processing state API call

The get_processing_state api call update.