Get task details

Retrieves the details of a specific task by its ID.