intentic
Download the app
Download the app
The workspace

Run targets

The programs each repository declares, run on one of your own computers

A repository can declare programs that run on the owner's own machines rather than in the sandbox. One read lists what each repository declares and which of your computers could run one now; the other builds a target here, carries the build over and starts it there, in a terminal you can watch. The computer still decides whether it accepts programs this sandbox sends.

GET/runs/targetsWhat each repository can run on your computers

Every repository that declares run targets at `.intentic/run.json`, and which of your computers could run one now.

What you send

Nothing. Call it as it is.

What comes back

FieldType
reposobject[]
repostring
pathstring
targetsobject[]
namestring
descriptionstring
devicestring
buildstring
artifactstring | object
programstring
argsstring[]
envobject
isolatedboolean
reachinteger[]
errorstring
devicesobject[]
idstring
onlineboolean
programsboolean
allowedboolean
Try itanswered in this tab
curl
curl "$SANDBOX/runs/targets" \
  -H "x-intentic-control: $INTENTIC_TOKEN"
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.runs.targets();
POST/runs/startRun a target on one of your computers

Builds it in the sandbox, carries the build to the computer and starts it there, in a terminal you can watch. The computer still decides: its "Run programs this sandbox sends" switch has to be on.

What you send

FieldTypeWhere
reporequiredstringbody
targetrequiredstringbody
devicerequiredstringbody

What comes back

FieldType
sessionstring
Try itanswered in this tab
curl
curl -X POST "$SANDBOX/runs/start" \
  -H "x-intentic-control: $INTENTIC_TOKEN" \
  -H "content-type: application/json" \
  -d '{"repo":"root","target":"…","device":"…"}'
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.runs.start({
  "repo": "root",
  "target": "…",
  "device": "…"
});
More in The workspace

Type to search every page, in the docs and the API reference.