kind?string
Task kind (standard or federated)
Value in"standard" | "federated"
image_url?string
OCI registry URL for the Wasm binary
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 for simple tasks
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 for task assignment
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
priority?integer
Dispatch priority (0-100, default 50)
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