complete api