Templates API

Reference for the 11 Templates operations in the Intuidy API.

Updated in Intuidy 2026.11.2115 min read

Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.

OperationMethod and pathAuthorization
Browse the solution-template catalogGET /templatestemplates:read
Get one templateGET /templates/{slug}templates:read
Template cover imageGET /templates/{slug}/covertemplates:read
Install a template into your organizationPOST /templates/{slug}/installtemplates:write
Uninstall a templatePOST /templates/{slug}/uninstalltemplates:write
Preview an upgradeGET /templates/{slug}/upgradetemplates:read
Apply an upgradePOST /templates/{slug}/upgradetemplates:write
Write several assets' contents in one callPOST /assets/applyworkflows:write or dashboards:write
Which of these assets have drifted from the hashes you hold?POST /assets/diffworkflows:read, or dashboards:read, or agents:read, or mcp:read
An asset's version historyGET /assets/versionsworkflows:read or dashboards:read
Roll an asset back to one of its snapshotsPOST /assets/versions/restoreworkflows:write or dashboards:write

Browse the solution-template catalog

GET /templates

Prebuilt bundles of workflows, notebooks, dashboards, agents, skills and managed databases. Each template carries databaseCount: the number of managed databases its install provisions. An install of a template with a databaseCount above zero is billed and needs databases:write (see the install operation); get the template for the names and the cost first.

Authorization: scope templates:read.

Query parameters

NameTypeRequiredDescription
categorystringNo—
featuredbooleanNo—
searchstringNo—

Response 200 OK

Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/templates" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Get one template

GET /templates/{slug}

Inactive templates return 404. For a template that provisions a managed database the detail carries databases (one entry per database: ref, engine, extensions it is created with such as PostGIS, tables, seed rows and defaultName, the name it will get), installCredits (the one-time charge of the install) and canProvisionDatabases (whether the key owner holds manage_databases).

Authorization: scope templates:read.

Path parameters

NameTypeRequiredDescription
slugstringYes—

Response 200 OK

Errors 404. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/templates/<slug>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Template cover image

GET /templates/{slug}/cover

The template's cover image, the same one the web app shows.

Authorization: scope templates:read.

Path parameters

NameTypeRequiredDescription
slugstringYes—

Response 200 OK

Errors 404. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/templates/<slug>/cover" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Install a template into your organization

POST /templates/{slug}/install

Creates the bundle's workflows, dashboards, notebooks, agents and skills. A template whose detail lists databases also PROVISIONS a managed database as the key owner, applies its tables and loads its seed rows — billed like a manual create (the provisioning charge plus usage for each table created and each table seeded; the whole cost is checked before anything is created). Such a template additionally needs the databases:write scope on the key and the manage_databases permission on its owner. The scope must be named on the key: a blanket mcp scope does not carry it, here or on an upgrade that provisions or an uninstall that deletes a database. A database name already in use in the company gets a " (2)" suffix.

Authorization: scope templates:write.

Path parameters

NameTypeRequiredDescription
slugstringYes—

Request body (application/json, optional)

FieldTypeRequiredDescription
connectionsobjectNoAccount binding { serviceKey: credentialId } for multi-account services
databasesobjectNoNames for the databases the template provisions, by ref from the detail: { "md1": { "name": "Inventory EU" } }

Response 200 OK

Errors 402 (BILLING_REQUIRED), 403 (INSUFFICIENT_SCOPE, SCOPE_REQUIRED, PERMISSION_DENIED), 409 (ALREADY_INSTALLED). See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/templates/<slug>/install" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"connections":"<connections>"}'

Uninstall a template

POST /templates/{slug}/uninstall

Removes everything the install created in your organization, then the install record. All or nothing: a member who may not delete every asset (a colleague's workflow, for example) is refused with 403, the error names those assets, and nothing is removed. A database the install provisioned is KEPT with its data unless databases is deprovision, which soft-deletes it with a 7-day grace (needs databases:write on the key and manage_databases on its owner).

Authorization: scope templates:write.

Path parameters

NameTypeRequiredDescription
slugstringYes—

Request body (application/json, optional)

FieldTypeRequiredDescription
databases"keep" or "deprovision"No—

Response 200 OK

Errors 403 (INSUFFICIENT_SCOPE, SCOPE_REQUIRED). See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/templates/<slug>/uninstall" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"databases":"<databases>"}'

Preview an upgrade

GET /templates/{slug}/upgrade

Reports, per asset, whether it is clean (untouched since install) or dirty (locally modified) so the caller can choose what to do with each. A database asset also carries choices (keep, apply) and delta: the tables and columns apply would add to the live database, in addIndexes the declared indexes its existing tables lack (null when they could not be read), and in enableExtensions the extensions (PostGIS, for example) it would enable first. Its status is unreadable, with a reason, when the database exists and could not be read (suspended, for example); such a database can only be kept. upgradeCredits is what provisioning any database new in the version, or deleted since install, would cost.

Authorization: scope templates:read.

Path parameters

NameTypeRequiredDescription
slugstringYes—

Response 200 OK

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/templates/<slug>/upgrade" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Apply an upgrade

POST /templates/{slug}/upgrade

Authorization: scope templates:write.

Path parameters

NameTypeRequiredDescription
slugstringYes—

Request body (application/json, optional)

FieldTypeRequiredDescription
choicesobjectNoPer-asset ref → replace | keep | copy; a database ref takes keep | apply (add the new version's tables and columns — never drop, rename or retype) and defaults to apply

Response 200 OK

Errors 403 (INSUFFICIENT_SCOPE, SCOPE_REQUIRED), 409 (TEMPLATE_ERROR). See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/templates/<slug>/upgrade" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"choices":"<choices>"}'

Write several assets' contents in one call

POST /assets/apply

Replace workflow graphs, dashboard tiles and notebook cells for several existing assets at once — the one-call-per-asset loop is what turns a 50-asset spec into dozens of sequential round trips.

NOT ATOMIC. Each asset type is saved separately, so items are applied in order and some may succeed while others fail. The response carries atomic: false, a per-item status, and a note naming the resumable retry: re-send only the items whose status is not applied. A partly-applied batch is a 200, not an error — the caller needs to see which items landed.

Updates only. Creating assets — with id allocation and cross-asset references — is what /templates/{slug}/install is for. Agents and skills are excluded: their writes carry lifecycle semantics that do not reduce to replacing content.

Pass expected_hash per item (from content_hash on a GET, or from /assets/diff) to be refused rather than overwrite a concurrent edit. For a workflow or a dashboard the check and the save happen together, so no other edit can land in between. A dashboard item is announced on the board's event stream as tiles, with the X-Write-Origin header when one is sent.

Authorization: scope workflows:write or dashboards:write (any one). Notebooks are not available through the REST API; use the MCP server for notebook items.

Each item also needs its own type’s scope:

TypeScope
dashboarddashboards:write
workflowworkflows:write

Header parameters

NameTypeRequiredDescription
X-Write-OriginstringNoOptional. An id for the page or client process that makes this board write, 8 to 64 characters of A-Z a-z 0-9 _ -; anything else is ignored. It is echoed to every viewer of the board as by.origin on the dashboard.saved event (GET /dashboards/{dashboardId}/events), so a client that reads that stream can skip the reload its own write caused. It is a client claim, never an authority check: it grants and refuses nothing.

Request body (application/json)

FieldTypeRequiredDescription
stop_on_errorbooleanNoStop at the first item that does not apply — for specs where later items depend on earlier ones.
assetsarray of objectYes—
assets[].type"workflow" or "dashboard" or "notebook"Yes—
assets[].idintegerYesExisting asset id — this endpoint updates, it does not create.
assets[].expected_hashstringNo—
assets[].titlestringNoworkflow only
assets[].descriptionstringNoworkflow only
assets[].nodesarray of objectNoworkflow only — replaces the whole node list
assets[].edgesarray of objectNoworkflow only — references nodes array indices
assets[].tilesarray of objectNodashboard only — replaces all tiles
assets[].cellsobjectNonotebook only — { sections, meta? }

Response 200 OK

data fields:

FieldTypeDescription
atomicbooleanAlways false — stated in the payload, not only the docs.
resultsarray of object—
results[].typestring—
results[].idinteger—
results[].status"applied" or "conflict" or "not_found" or "invalid" or "forbidden" or "failed"forbidden means retrying will never succeed — a view-only notebook, or a dashboard shared from another company.
results[].messagestring—
results[].content_hashstringThe new hash, on an applied item — record it as the next baseline.
summaryobject—
notestring—

Errors 400. See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/assets/apply" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assets":"<assets>"}'

Which of these assets have drifted from the hashes you hold?

POST /assets/diff

Send [{type, id, hash}] and get back match / drifted / missing per item, with the live content_hash. Answers "does live still match my spec?" without pulling and comparing every asset.

Without it, external tooling managing Intuidy assets as code records ids but not versions, so "already applied" is the only available signal and the only reliable move is to force re-apply everything.

Omit an item's hash to read the current one — how a spec file gets its first baseline. Pass a hash back as expected_hash on /assets/apply (or on the MCP write tools) to be refused rather than silently overwrite a concurrent edit.

Each asset is fenced individually: one the key cannot read reports missing rather than leaking its fingerprint.

Authorization: scope workflows:read, or dashboards:read, or agents:read, or mcp:read (any one). Notebooks are not available through the REST API; use the MCP server for notebook items.

Each item also needs its own type’s scope:

TypeScope
agentagents:read
dashboarddashboards:read
skillagents:read
workflowworkflows:read

Request body (application/json)

FieldTypeRequiredDescription
assetsarray of objectYes—
assets[].type"workflow" or "dashboard" or "agent" or "skill"YesNotebooks are an MCP-only family and are refused here; use the diff_assets MCP tool for those.
assets[].idintegerYes—
assets[].hashstringNoThe content_hash you last recorded. Omit to read the current one.

Response 200 OK

data fields:

FieldTypeDescription
resultsarray of object—
results[].typestring—
results[].idinteger—
results[].status"match" or "drifted" or "missing" or "unknown" or "invalid"unknown means no hash was supplied, so the live one is returned; missing means unreadable or absent; invalid means a malformed entry.
results[].hashstring—
results[].expectedstring—
summaryobjectCounts by status, plus total

Errors 400. See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/assets/diff" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assets":"<assets>"}'

An asset's version history

GET /assets/versions

Newest-first list of an asset's snapshots, without payloads. Answers "what did this look like before someone changed it?"

Listing follows read access: what you can open, you can see the history of.

Authorization: scope workflows:read or dashboards:read (any one). Notebooks are not available through the REST API; use the MCP server for notebook items.

Each item also needs its own type’s scope:

TypeScope
dashboarddashboards:read
workflowworkflows:read

Query parameters

NameTypeRequiredDescription
type"workflow" or "dashboard"YesNotebooks are an MCP-only family and are refused here; use the list_notebook_versions MCP tool for those.
idintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
typestring—
idinteger—
versionsarray of object—
versions[].keystringPass to /assets/versions/restore to roll back to this snapshot.
versions[].savedAtstring (date-time)—
versions[].savedByinteger or null—
versions[].reasonstringWhat produced the snapshot — save, pre-restore, batch, agent or node.
versions[].hashstring—
versions[].summaryobjectPer-type counts (nodes/edges, tiles/tabs).

Errors 400, 403, 404. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/assets/versions" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Roll an asset back to one of its snapshots

POST /assets/versions/restore

Replays a snapshot through the asset's normal save, after snapshotting the current state first — so a restore is itself undoable, and is checked exactly like any other save of that asset.

Restoring is a write and needs write access to the asset: a dashboard shared from another company is read-only here.

A dashboard restore answers content_hash_before and content_hash and is announced on the board's event stream as tiles, source restore.

Authorization: scope workflows:write or dashboards:write (any one). Notebooks are not available through the REST API; use the MCP server for notebook items.

Each item also needs its own type’s scope:

TypeScope
dashboarddashboards:write
workflowworkflows:write

Header parameters

NameTypeRequiredDescription
X-Write-OriginstringNoOptional. An id for the page or client process that makes this board write, 8 to 64 characters of A-Z a-z 0-9 _ -; anything else is ignored. It is echoed to every viewer of the board as by.origin on the dashboard.saved event (GET /dashboards/{dashboardId}/events), so a client that reads that stream can skip the reload its own write caused. It is a client claim, never an authority check: it grants and refuses nothing.

Request body (application/json)

FieldTypeRequiredDescription
type"workflow" or "dashboard"YesNotebooks are an MCP-only family and are refused here; use the restore_notebook_version MCP tool for those.
idintegerYes—
keystringYesThe version key from GET /assets/versions.

Response 200 OK

data fields:

FieldTypeDescription
restoredobject—
restored.keystring—
restored.savedAtstring (date-time)—
tileCountinteger—
nodeCountinteger—
content_hash_beforestring or nullDashboard only. The dashboard's content_hash before the restore.
content_hashstring or nullDashboard only. The dashboard's content_hash after the restore.

Errors 400, 403, 404. See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/assets/versions/restore" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"<type>","id":"<id>","key":"<key>"}'