1. Create a deployment
2. Test the deployment
In the same Python session, wait forDEPLOYED; stop on FAILED or CANCELLED.
Until it is promoted, a deployment answers only on its own test slug. Install openai for
this optional smoke test, then query the exact route with a new trajectory ID:
X-Trajectory-Id; SDK resource calls
use X-API-Key.