Add table details endpoint