intentic
Create your workspace
Connected systems

Inventory

What this sandbox has and what it wants, as declared deployment intent

On this page(3 sections)

The entries in the workspace's deployment configuration. Adding or removing one rewrites that file and commits it, exactly as an agent editing it by hand would, and answers with the whole updated list so a caller redraws from one response.

GET/inventoryMachines and services you have declared

What the deployment configuration says this setup owns and what it wants provisioned.

What you send

Nothing. Call it as it is.

What comes back

FieldType
entriesEverything declared: what you have, and…object[]
when kind is "backend"shape
providerWhich provider it is with"host" | "cloudflare" | "github" | "gitlab" … (5)
nameWhat to call it, which is…string
valuesIts settingsobject
when kind is "service"shape
serviceWhich service"signoz" | "outline" | "paperless" | "openproject" … (6)
nameWhat to call itstring
valuesIts settingsobject
onWhich of your machines to put…string
exposeHow it should be reachablestring
when kind is "app"shape
nameWhat to call itstring
valuesIts settings, including the address it…object
onWhich of your machines to put…string
exposeHow it should be reachablestring
Try itanswered in this tab
curl
curl "$SANDBOX/inventory" \
  -H "x-intentic-control: $INTENTIC_TOKEN"
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.inventory.list();
POST/inventoryDeclare a machine or service

Writes the entry into the configuration file and commits it, exactly as an agent editing that file by hand would. Answers with the whole updated list, so a screen redraws from one response.

What you send

FieldTypeWhere
when kind is "backend"shapebody
providerrequiredWhich provider it is with"host" | "cloudflare" | "github" | "gitlab" … (5)body
namerequiredstringbody
valuesrequiredIts settingsobjectbody
when kind is "service"shapebody
servicerequiredWhich service"signoz" | "outline" | "paperless" | "openproject" … (6)body
namerequiredstringbody
valuesrequiredIts settingsobjectbody
onrequiredWhich of your machines to put…stringbody
exposerequiredHow it should be reachablestringbody
when kind is "app"shapebody
namerequiredstringbody
valuesrequiredIts settings, including the address it…objectbody
onrequiredWhich of your machines to put…stringbody
exposerequiredHow it should be reachablestringbody

What comes back

FieldType
entriesEverything declared: what you have, and…object[]
when kind is "backend"shape
providerWhich provider it is with"host" | "cloudflare" | "github" | "gitlab" … (5)
nameWhat to call it, which is…string
valuesIts settingsobject
when kind is "service"shape
serviceWhich service"signoz" | "outline" | "paperless" | "openproject" … (6)
nameWhat to call itstring
valuesIts settingsobject
onWhich of your machines to put…string
exposeHow it should be reachablestring
when kind is "app"shape
nameWhat to call itstring
valuesIts settings, including the address it…object
onWhich of your machines to put…string
exposeHow it should be reachablestring
Try itanswered in this tab
curl
curl -X POST "$SANDBOX/inventory" \
  -H "x-intentic-control: $INTENTIC_TOKEN" \
  -H "content-type: application/json" \
  -d '{"kind":"backend","provider":"host","name":"nightly changelog","values":{"src/app.ts":"…","README.md":"…"}}'
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.inventory.add({
  "kind": "backend",
  "provider": "host",
  "name": "nightly changelog",
  "values": {
    "src/app.ts": "",
    "README.md": ""
  }
});
DELETE/inventory/{name}Undeclare a machine or service

Takes the entry back out of the configuration and commits that too. Answers with the whole updated list.

What you send

FieldTypeWhere
namerequiredWhich entry, by namestringaddress

What comes back

FieldType
entriesEverything declared: what you have, and…object[]
when kind is "backend"shape
providerWhich provider it is with"host" | "cloudflare" | "github" | "gitlab" … (5)
nameWhat to call it, which is…string
valuesIts settingsobject
when kind is "service"shape
serviceWhich service"signoz" | "outline" | "paperless" | "openproject" … (6)
nameWhat to call itstring
valuesIts settingsobject
onWhich of your machines to put…string
exposeHow it should be reachablestring
when kind is "app"shape
nameWhat to call itstring
valuesIts settings, including the address it…object
onWhich of your machines to put…string
exposeHow it should be reachablestring
Try itanswered in this tab
curl
curl -X DELETE "$SANDBOX/inventory/nightly%20changelog" \
  -H "x-intentic-control: $INTENTIC_TOKEN"
TypeScript
import { sandbox } from "@intentic/sandbox-client";

const result = await sandbox.inventory.remove({
  "name": "nightly changelog"
});

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