implementing endpoint for process detail