Cosmography with high-redshift probes