api preview