Home

Executable

This is an abstract base type used in Stencila Schema for nodes that can be compiled or executed.

It adds execution state, dependency tracking, digests, messages, and timing information to the core document node model. This makes executable behavior a first-class capability that can be shared by code, prompts, chats, instructions, forms, and other interactive document nodes.

Key properties include executionMode, compilationDigest, executionDependencies, executionRequired, executionStatus, executionMessages, and related execution timestamps and durations.

Analogues

The following external types, elements, or nodes are similar to a Executable:

  • notebook executable cell model: Approximate analogue for document nodes that carry execution state, though Stencila generalizes execution semantics beyond code cells to many node kinds.

Properties

The Executable type has these properties:

NameDescriptionTypeInherited from
executionModeUnder which circumstances the node should be executed.ExecutionMode-
compilationDigestA digest of the content, semantics and dependencies of the node.CompilationDigest-
compilationMessagesMessages generated while compiling the code.CompilationMessage*-
executionDigestThe compilationDigest of the node when it was last executed.CompilationDigest-
executionDependenciesThe upstream dependencies of this node.ExecutionDependency*-
executionDependantsThe downstream dependants of this node.ExecutionDependant*-
executionTagsTags in the code which affect its execution.ExecutionTag*-
executionCountA count of the number of times that the node has been executed.Integer-
executionRequiredWhether, and why, the code requires execution or re-execution.ExecutionRequired-
executionStatusStatus of the most recent, including any current, execution.ExecutionStatus-
executionInstanceThe id of the kernel instance that performed the last execution.String-
executionEndedThe timestamp when the last execution ended.Timestamp-
executionDurationDuration of the last execution.Duration-
executionMessagesMessages emitted while executing the node.ExecutionMessage*-
idThe identifier for this item.StringEntity

Related

The Executable type is related to these types:

Bindings

The Executable type is represented in:


This documentation was generated from Executable.yaml by docs_types.rs.

© 2026 Stencila