DeeplineContext.plays
Named-play discovery and handle operations from a connected DeeplineContext.Signature:
export type DeeplinePlaysNamespace = { list(): Promise<PlayListItem[]>; get<TInput = Record<string, unknown>, TOutput = unknown>( name: string, ): DeeplineNamedPlay<TInput, TOutput>; };
DeeplineNamedPlay
Handle to a named play for remote lifecycle operations.
Returned by DeeplineContext.play and attached to DefinedPlay.
Provides methods to run, inspect, list runs, and publish a play by name.
PlayJob
Handle to a Play execution: inspect status, stream logs, await output, or cancel.
Like deepline run and POST /api/v2/plays/run, it returns a run id first.
Read completed output through PlayJob.get() or the status endpoint’s result field.
runtime logs in status().progress.logs are separate from that output.