Skip to main content

Prerequisites

You need a Cloudflare Worker deployment, a Linear OAuth application, an exe.dev VM with Herdr and an agent, and an HTTPS API token restricted to the exact SSH destination used by the VM. Set APP_ORIGIN, OAuth credentials, LINEAR_WEBHOOK_SIGNING_SECRET, CREDENTIAL_ENCRYPTION_KEY, and SESSION_SIGNING_SECRET. Sign in to the dashboard, connect the VM, choose an execution target, and create a job. Use list_execution_targets or GET /api/v1/execution-targets before submitting executionTargetId.

First API call

Create a manual job:
Invoke it with a reusable idempotency key:
The response is 202. Query /runs and then /runs/RUN_ID; stop an active run with /runs/RUN_ID/stop.