URL for the Wasm binary. Accepts two forms: (1) OCI registry reference (e.g. docker.io/myorg/app:v1) — proplet fetches via the registry proxy; (2) plain HTTP/HTTPS URL (e.g. https://releases.example.com/app.wasm) — proplet fetches directly (max 100 MB). The scheme (http:// or https://) is used to detect which path to take.
file?string
Base64-encoded Wasm binary (alternative to image_url)
cli_args?array<>
Command-line arguments passed to the Wasm module
inputs?array<|>
Input values passed to the Wasm module (strings or numbers; numbers are coerced to strings)
env?
Environment variables for the Wasm module
daemon?boolean
If true, task runs continuously until stopped
encrypted?boolean
If true, the Wasm binary is encrypted (requires KBS)
kbs_resource_path?string
KBS resource path for encrypted binaries (TEE only)
proplet_id?string
Target proplet ID; mutually exclusive with broadcast
broadcast?boolean
If true, task runs on all proplets simultaneously; mutually exclusive with proplet_id
depends_on?array<>
List of task IDs this task depends on
run_if?string
Run condition based on dependency status
Value in"success" | "failure"
monitoring_profile?object
CPU/memory usage monitoring configuration
mode?string
Task mode for FL tasks
Value in"infer" | "train"
priority?integer
Dispatch priority (0-100, default 50)
Range0 <= value <= 100
schedule?string
Cron expression for scheduled tasks
timezone?string
Timezone for scheduled tasks (default UTC)
is_recurring?boolean
If true, task re-runs according to schedule
metadata?
Arbitrary key-value metadata attached to the task (max 1 MB serialized)