Import
import {
CancelRunResponseSchema,
CreateRunResponseSchema,
createRunsClient,
RunEventListSchema,
RunEventSchema,
RunListSchema,
} from "veryfront/runs";Examples
import { VeryfrontRunsClient } from "veryfront/runs";
const runs = new VeryfrontRunsClient({
authToken: process.env.VERYFRONT_API_TOKEN,
projectReference: "my-project",
});
const accepted = await runs.createTaskRun({
projectId: "00000000-0000-4000-8000-000000000000",
target: "task:sync-data",
config: { batchSize: 100 },
});
const events = await runs.events(accepted.run.run_id);Exports
Components
Functions
Classes
Types
Deep imports
These import paths group focused functionality under this module. Each is a separate barrel; import only what you need.
veryfront/runs/target
Typed SDK for the Runs target contract, with the pinned contract's operation, input and output types, and the canonical Veryfront API transport it sends requests through. The legacy client stays at veryfront/runs until the cutover removes it.
import {
createCanonicalEventsV1Facade,
createRunsApiTransport,
createRunsSdk,
} from "veryfront/runs/target";