- A task run executes a
task:<task-id>target. - A workflow run executes a
workflow:<workflow-id>target. - A target names the capability being executed, for example
task:knowledge-ingestorworkflow:content-pipeline. - events are the canonical user-visible output stream.
- The run record stores the terminal execution shape directly:
target,input,config,output,error,logs,artifacts,duration_ms, andexit_code. - Runtime adapters such as process execution are implementation details.
Prerequisites
- A Veryfront Cloud project and a
VERYFRONT_API_TOKEN. SetVERYFRONT_PROJECT_IDorVERYFRONT_PROJECT_SLUGto identify the project (see Configuration). - A task or workflow definition the run should execute.
Setup
Use the runs SDK for one-off task and workflow execution:Create a task run
Create a workflow run
Observe a run
Preferevents() for progress and user-visible activity:
List project runs
Scheduling
Schedules are definitions that create runs later. One-time and cron-style schedules belong to the platform scheduling API, not to task or workflow definitions. Scheduler and runtime-adapter details stay behind the platform API.Verify it worked
After creating a run, watch its status and event stream:status: "completed" and an event log whose entries
describe the run.