CLI
Use a local file while you are authoring it. Check it first, then run it.TypeScript service or script
job.id before you wait. A local timeout does not cancel the remote
run; Production Play integration explains
how to resume the same run and write its result once.
Inside another Play
Usectx.runPlay(...) for a statically resolvable scalar child Play. Use
ctx.tools.execute(...) only for one provider-backed operation.
Raw HTTP
Use HTTP for a non-TypeScript service, a notebook, or a scheduler that invokes an already-saved or Prebuilt Play:run.id is the run ID. The TypeScript SDK
normalizes that value to job.id (and its lower-level workflowId field).
HTTP and Python owns the polling example; Runtime
API reference owns the generated endpoint contract.