Unique task identifier. Assigned by the Manager on creation.
name
string
Human-readable task name.
kind
string
Task kind: standard or federated.
state
integer
Current execution state (see Task States below).
image_url
string
OCI image reference for the Wasm binary (e.g. docker.io/myorg/app:v1).
file
string
Base64-encoded Wasm binary for direct embedding (redacted with <REDACTED> in API responses to avoid leaking binary contents).
cli_args
array of string
Arguments passed to the Wasm runtime (e.g. ["--invoke", "add"]).
inputs
array
Input values (strings or numbers) forwarded to the Wasm function.
env
object
Environment variables injected into the Wasm execution context.
daemon
boolean
If true, the task runs continuously until explicitly stopped.
encrypted
boolean
If true, the Wasm binary is encrypted and requires a TEE for decryption.
kbs_resource_path
string
KBS resource path used to fetch the decryption key for an encrypted task.
proplet_id
string (UUID)
Pin execution to a specific proplet, bypassing the scheduler.
depends_on
array of string
IDs of tasks that must complete before this task starts (workflow DAG).
run_if
string
Condition for execution: success (default) or failure.
workflow_id
string (UUID)
ID of the workflow this task belongs to.
job_id
string (UUID)
ID of the job this task belongs to.
results
any
Output stored after the task completes successfully.
error
string
Error message if the task failed.
broadcast
boolean
If true, send the task to all available proplets simultaneously instead of a single selected one.
monitoring_profile
object
Per-task monitoring configuration (see Monitoring).
metadata
object
Free-form JSON key-value metadata attached to the task (max 1 MB serialized). The reserved elastic sub-map holds wasi_security / wasi_pep and is the only part forwarded to the proplet — see WASI Security Policies.