Get task details

Returns details of the specified task.