intentic
Create your workspace
Connected systems

Platform CLI

Run the in-sandbox platform tool and follow its output as it arrives

On this page(3 sections)

Runs the sandbox's own command-line tool and streams its output line by line. The reconcile is separated out because it takes minutes: it starts a background job and answers at once, and its event stream replays from the beginning and then follows live, so a page refresh does not lose the progress.

POST/intenticRun an infrastructure commandstream

Runs the sandbox's own command-line tool and streams its output as it arrives, so progress is visible rather than arriving all at once at the end. A failure surfaces once the stream closes.

What you send

FieldTypeWhere
argsrequiredstring[]body

What comes back

FieldType
when event is "message"shape
dataobject
kindstring
idstring
retrynumber
when event is "done"shape
dataunknown
idstring
retrynumber
when event is "error"shape
dataunknown
idstring
retrynumber
Try itanswered in this tab
curl
curl -N -X POST "$SANDBOX/intentic" \
  -H "x-intentic-control: $INTENTIC_TOKEN" \
  -H "content-type: application/json" \
  -d '{"args":["…","…"]}'
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.intentic.run({
  "args": [
    "",
    ""
  ]
});
POST/intentic/applyBring the infrastructure into line

Starts the long reconcile that makes the running world match what was declared, and answers immediately. It takes minutes, so it runs in a terminal you attach to rather than on a held-open request.

What you send

Nothing. Call it as it is.

What comes back

FieldType
okAlways truetrue
Try itanswered in this tab
curl
curl -X POST "$SANDBOX/intentic/apply" \
  -H "x-intentic-control: $INTENTIC_TOKEN"
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.intentic.apply();
GET/intentic/apply/eventsFollow the reconcilestream

The same progress the terminal shows, as structured events, kept on disk so a page refresh does not lose it. It replays from the start of the run and then follows live, closing when the run ends.

What you send

Nothing. Call it as it is.

What comes back

FieldType
when event is "message"shape
dataobject
kindstring
idstring
retrynumber
when event is "done"shape
dataunknown
idstring
retrynumber
when event is "error"shape
dataunknown
idstring
retrynumber
Try itanswered in this tab
curl
curl -N "$SANDBOX/intentic/apply/events" \
  -H "x-intentic-control: $INTENTIC_TOKEN"
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.intentic.applyEvents();
More in Connected systems

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