[Fixes #59364114] REST endpoint for results document