I am looking for a reference for the following folklore theorem, which is the Lorentzian analogue of the Bonnet fundamental theorem of surface in Euclidean space, hyperbolic space or $3$d sphere.
If a Coddazzi tensor $b$ on a Riemannian surface $(S,g)$ of curvature $K$ satisfies the Gauss-equation $K=-det b+ k$ then there exits a unique (up to global isometries) isometric embedding of $(S,g)$ in a Lorentzian space $M$ of constant curvature $k$, such that $b$ is the pull-back by the immersion of the shape operator.
In the tome 4 of Spivak, the case when $M$ is Minkowski space is more or less given as an exercise, although it is not stated explicitly.