added getThreadSource endpoint