Comlete document api output