cURL
curl --request POST \ --url https://api.usebits.com/api/public/v1/workflows/{workflowId}/runs \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "task": "Also download the latest report", "model": "sonnet" } '
{ "taskRunId": "clx123abc", "liveViewUrl": "https://browser-live-view.onkernel.com/abc123" }
Starts an agent run for a saved workflow and returns immediately with the task run ID. The agent executes in the background.
API key for authentication. Keys start with 'bb_' prefix.
"clx123abc"
Additional instructions to append to the workflow definition
"Also download the latest report"
AI model to use (overrides workflow default)
"sonnet"
Workflow run started successfully
URL to view the browser session in real-time
"https://browser-live-view.onkernel.com/abc123"