Arbitrary manipulation of the temporal and spectral properties of x-ray pulses at free-electron lasers would revolutionize many experimental applications. At the Linac Coherent Light Source at Stanford National Accelerator Laboratory, the momentum phase-space of the free-electron laser driving electron bunch can be tuned to emit a pair of x-ray pulses with independently variable photon energy and femtosecond delay. However, while accelerator parameters can easily be adjusted to tune the electron bunch phase-space, the final impact of these actuators on the x-ray pulse cannot be predicted with sufficient precision. Furthermore, shot-to-shot instabilities that distort the pulse shape unpredictably cannot be fully suppressed. Therefore, the ability to directly characterize the x-rays is essential to ensure precise and consistent control. In this work, we have generated x-ray pulse pairs via electron bunch shaping and characterized them on a single-shot basis with femtosecond resolution through time-resolved photoelectron streaking spectroscopy. This achievement completes an important step toward future x-ray pulse shaping techniques.Free-electron lasers (FELs) operating from the extreme ultraviolet to the hard x-ray spectral regime emit femtosecond pulses that are nearly ten orders of magnitude brighter than pulses generated by any other femtosecond x-ray source [1][2][3][4]. Such intense pulses have enabled new classes of experiments across a broad range of disciplines [5] in the natural sciences including structural biology [6][7][8], femtochemistry [9, 10], solidstate physics [11][12][13], and high energy density science [14,15]. To rapidly build on proofof-principle experiments and initial demonstrations of new techniques, even greater control over the x-ray pulse properties is desirable.Manipulation of the driving electron beam presents a clear route to gain control over the FEL emission. For example, at x-ray FELs based on self-amplified-spontaneous-emission (SASE), the duration of the FEL pulse is OPEN ACCESS RECEIVED