Skip to main content
Veryfront runs are durable, project-scoped executions. Tasks and workflows are definitions. A run is what executes one of those definitions.
  • 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-ingest or workflow: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, and exit_code.
  • Runtime adapters such as process execution are implementation details.

Prerequisites

  • A Veryfront Cloud project and a VERYFRONT_API_TOKEN. Set VERYFRONT_PROJECT_ID or VERYFRONT_PROJECT_SLUG to 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:
If you are already running inside a Veryfront request context, the client can also pick up request-scoped auth and project context automatically.

Create a task run

Create a workflow run

Observe a run

Prefer events() for progress and user-visible activity:
Read the current run summary:
Cancel a non-terminal run:

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:
A working setup ends with status: "completed" and an event log whose entries describe the run.