Blueprint Manifest API
- Base URL:
https://blueprint-manifest.sls.epilot.io - Full API Docs: https://docs.epilot.io/api/blueprint-manifest
Usageโ
import { epilot } from '@epilot/sdk'
epilot.authorize(() => '<token>')
const { data } = await epilot.blueprintManifest.getJob(...)
Tree-shakeable importโ
import { getClient, authorize } from '@epilot/sdk/blueprint-manifest'
const blueprintManifestClient = getClient()
authorize(blueprintManifestClient, () => '<token>')
const { data } = await blueprintManifestClient.getJob(...)
Operationsโ
Import
Blueprints
listBlueprintscreateBlueprintlistInstalledMarketplaceBlueprintspreInstallBlueprintgetBlueprintPreviewinstallBlueprintgetBlueprintupdateBlueprintdeleteBlueprintvalidateBlueprintexportBlueprintformatBlueprintDescriptionaddBlueprintResourcesyncDependenciesbulkAddBlueprintResourcesbulkUpdateBlueprintResourcesbulkDeleteBlueprintResourcesupdateBlueprintResourcedeleteBlueprintResource
Jobs
Schemas
BlueprintIDBlueprintResourceIDCommonBlueprintFieldsBlueprintResourceBlueprintPreviewCustomBlueprintFileBlueprintMarketplaceBlueprintInstalledMarketplaceBlueprintItemDeployedBlueprintAppBlueprintBlueprintBlueprintJobIDCommonBlueprintJobFieldsBlueprintExportJobBlueprintInstallationJobBlueprintJobBlueprintDependenciesSyncJobBlueprintValidateJobBlueprintJobEventBlueprintInstallationJobOptionsManifestIDJobIDManifestSourceManifestManifestItemJobStatusResourceNodeTypePlanChangesCommonResourceNodeRootResourceNodeVirtualResourceNodeGroupResourceNodeJobUploadFilePayloadS3ReferenceCommonManifestFieldsManifestTimestampFieldsCommonImportFieldsCommonMarkdownFieldsPreInstallRequirementsBlueprintInstallStatusFormattedErrorCodesFormattedErrorDataFormattedErrorCallerIdentitySelectedResourcesResourceReplacementPutManifestPayload
uploadManifestโ
Create pre-signed S3 URL to upload a manifest file.
POST /v1/blueprint-manifest:uploadManifest
const { data } = await client.uploadManifest(
null,
{
filename: 'example.manifest.zip'
},
)
Response
{
"s3ref": {
"bucket": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw",
"key": "templates/main.tf"
},
"upload_url": "https://epilot-dev-blueprints.s3.eu-central-1.amazonaws.com/templates/document.pdf"
}
listBlueprintsโ
List Custom and Installed Blueprints
GET /v2/blueprint-manifest/blueprints
const { data } = await client.listBlueprints({
archived: true,
})
Response
{
"total": 1,
"results": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"title": "string",
"slug": "string",
"description": {
"preinstall": "This is the content of the preinstall.md file which contains the blueprint description.\n",
"postinstall": "This is the content of the postinstall.md file\n"
},
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z"
}
],
"is_verified": true,
"installation_status": "IN_PROGRESS",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"installation_job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"archived": false,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["string"]
},
"zip_file_name": "string",
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
],
"source_type": "string"
}
]
}
createBlueprintโ
Create a Blueprint
POST /v2/blueprint-manifest/blueprints
const { data } = await client.createBlueprint(
null,
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
title: 'string',
slug: 'string',
description: {
preinstall: 'This is the content of the preinstall.md file which contains the blueprint description.
',
postinstall: 'This is the content of the postinstall.md file
'
},
version: 'string',
deployments: [
{
source_org_id: 'string',
source_blueprint_id: 'string',
destination_org_id: 'string',
destination_blueprint_id: 'string',
triggered_at: '1970-01-01T00:00:00.000Z'
}
],
is_verified: true,
installation_status: 'IN_PROGRESS',
created_at: '1970-01-01T00:00:00.000Z',
updated_at: '1970-01-01T00:00:00.000Z',
created_by: {
name: 'manifest@epilot.cloud',
org_id: '911690',
user_id: '11001045',
token_id: 'api_5ZugdRXasLfWBypHi93Fk'
},
updated_by: {
name: 'manifest@epilot.cloud',
org_id: '911690',
user_id: '11001045',
token_id: 'api_5ZugdRXasLfWBypHi93Fk'
},
installation_job_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
source_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
archived: false,
docs_url: 'string',
recommended_apps: ['string'],
required_features: {
enabled: ['string'],
disabled: ['string']
},
zip_file_name: 'string',
resources: [
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
name: 'string',
type: 'designbuilder',
address: 'string',
is_root: true,
is_ready: true,
is_hidden: true,
is_disabled: false,
hard_dependencies: ['designbuilder'],
parent_resource_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
depends_on_addresses: ['string'],
impact_on_install: ['create'],
impact_on_install_reason: ['string']
}
],
source_type: 'string'
},
)
Response
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"title": "string",
"slug": "string",
"description": {
"preinstall": "This is the content of the preinstall.md file which contains the blueprint description.\n",
"postinstall": "This is the content of the postinstall.md file\n"
},
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z"
}
],
"is_verified": true,
"installation_status": "IN_PROGRESS",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"installation_job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"archived": false,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["string"]
},
"zip_file_name": "string",
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
],
"source_type": "string"
}
listInstalledMarketplaceBlueprintsโ
List installed Marketplace Blueprints for the organization. When multiple blueprints have the same slug, returns only the most recently created one.
GET /v2/blueprint-manifest/blueprints:marketplace
const { data } = await client.listInstalledMarketplaceBlueprints()
Response
{
"total": 1,
"results": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"slug": "solar-b2b",
"version": "v1.0.0",
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"has_update_available": true,
"latest_marketplace_version": "v2.0.0",
"installation_link": "string"
}
]
}
preInstallBlueprintโ
Pre-install a Blueprint based on a blueprint file
POST /v2/blueprint-manifest/blueprints:pre-install
const { data } = await client.preInstallBlueprint(
null,
{
blueprint_file: 'string',
source_blueprint_type: 'marketplace',
slug: 'string'
},
)
Response
{
"id": "string",
"org_id": "string",
"title": "string",
"description": {
"preinstall": "string"
},
"version": "string",
"slug": "string",
"source_type": "marketplace",
"blueprint_file_s3_key": "string",
"is_verified": true,
"docs_url": "string",
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"is_updating": true,
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
getBlueprintPreviewโ
Get Blueprint Preview by ID
GET /v2/blueprint-manifest/blueprints:preview/{preview_id}
const { data } = await client.getBlueprintPreview({
preview_id: 'example',
})
Response
{
"id": "string",
"org_id": "string",
"title": "string",
"description": {
"preinstall": "string"
},
"version": "string",
"slug": "string",
"source_type": "marketplace",
"blueprint_file_s3_key": "string",
"is_verified": true,
"docs_url": "string",
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"is_updating": true,
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
installBlueprintโ
Kick off a new blueprint installation job. Returns 202 Accepted with Location header pointing to the job resource
POST /v2/blueprint-manifest/blueprint:install
const { data } = await client.installBlueprint(
null,
{
source_org_id: 'string',
source_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
source_blueprint_file: 'string',
destination_org_id: 'string',
destination_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
options: {
resources_to_ignore: ['string']
},
mode: 'simple',
source_blueprint_type: 'marketplace',
slug: 'string'
},
)
getBlueprintโ
Get Blueprint by ID
GET /v2/blueprint-manifest/blueprints/{blueprint_id}
const { data } = await client.getBlueprint({
blueprint_id: 'example',
})
Response
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"title": "string",
"slug": "string",
"description": {
"preinstall": "This is the content of the preinstall.md file which contains the blueprint description.\n",
"postinstall": "This is the content of the postinstall.md file\n"
},
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z"
}
],
"is_verified": true,
"installation_status": "IN_PROGRESS",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"installation_job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"archived": false,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["string"]
},
"zip_file_name": "string",
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
],
"source_type": "string"
}
updateBlueprintโ
Update a Blueprint
PUT /v2/blueprint-manifest/blueprints/{blueprint_id}
const { data } = await client.updateBlueprint(
{
blueprint_id: 'example',
},
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
title: 'string',
slug: 'string',
description: {
preinstall: 'This is the content of the preinstall.md file which contains the blueprint description.
',
postinstall: 'This is the content of the postinstall.md file
'
},
version: 'string',
deployments: [
{
source_org_id: 'string',
source_blueprint_id: 'string',
destination_org_id: 'string',
destination_blueprint_id: 'string',
triggered_at: '1970-01-01T00:00:00.000Z'
}
],
is_verified: true,
installation_status: 'IN_PROGRESS',
created_at: '1970-01-01T00:00:00.000Z',
updated_at: '1970-01-01T00:00:00.000Z',
created_by: {
name: 'manifest@epilot.cloud',
org_id: '911690',
user_id: '11001045',
token_id: 'api_5ZugdRXasLfWBypHi93Fk'
},
updated_by: {
name: 'manifest@epilot.cloud',
org_id: '911690',
user_id: '11001045',
token_id: 'api_5ZugdRXasLfWBypHi93Fk'
},
installation_job_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
source_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
archived: false,
docs_url: 'string',
recommended_apps: ['string'],
required_features: {
enabled: ['string'],
disabled: ['string']
},
zip_file_name: 'string',
resources: [
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
name: 'string',
type: 'designbuilder',
address: 'string',
is_root: true,
is_ready: true,
is_hidden: true,
is_disabled: false,
hard_dependencies: ['designbuilder'],
parent_resource_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
depends_on_addresses: ['string'],
impact_on_install: ['create'],
impact_on_install_reason: ['string']
}
],
source_type: 'string'
},
)
Response
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"title": "string",
"slug": "string",
"description": {
"preinstall": "This is the content of the preinstall.md file which contains the blueprint description.\n",
"postinstall": "This is the content of the postinstall.md file\n"
},
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z"
}
],
"is_verified": true,
"installation_status": "IN_PROGRESS",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"installation_job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"archived": false,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["string"]
},
"zip_file_name": "string",
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
],
"source_type": "string"
}
deleteBlueprintโ
Delete a Blueprint
DELETE /v2/blueprint-manifest/blueprints/{blueprint_id}
const { data } = await client.deleteBlueprint({
blueprint_id: 'example',
})
Response
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"title": "string",
"slug": "string",
"description": {
"preinstall": "This is the content of the preinstall.md file which contains the blueprint description.\n",
"postinstall": "This is the content of the postinstall.md file\n"
},
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z"
}
],
"is_verified": true,
"installation_status": "IN_PROGRESS",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"installation_job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"archived": false,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["string"]
},
"zip_file_name": "string",
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
],
"source_type": "string"
}
validateBlueprintโ
Start a blueprint validation job. Validates Terraform for the blueprint (all types). Returns 202 Accepted with job_id. Poll GET /jobs/{job_id} for status, valid, and errors.
POST /v2/blueprint-manifest/blueprints/{blueprint_id}/validate
const { data } = await client.validateBlueprint({
blueprint_id: 'example',
})
exportBlueprintโ
Kick off a new blueprint export job. Returns 202 Accepted with Location header pointing to the job resource.
POST /v2/blueprint-manifest/blueprints/{blueprint_id}:export
const { data } = await client.exportBlueprint(
{
blueprint_id: 'example',
},
{
destination_org_id: 'string',
destination_blueprint_id: 'string',
validate: true
},
)
formatBlueprintDescriptionโ
Format a blueprint description as markdown using AI.
POST /v2/blueprint-manifest/blueprints/{blueprint_id}:format-description
const { data } = await client.formatBlueprintDescription(
{
blueprint_id: 'example',
},
{
text: 'string'
},
)
Response
{
"markdown": "string"
}
addBlueprintResourceโ
Add a resource to a Blueprint
POST /v2/blueprint-manifest/blueprints/{blueprint_id}/resources
const { data } = await client.addBlueprintResource(
{
blueprint_id: 'example',
add_dependencies: true,
},
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
name: 'string',
type: 'designbuilder',
address: 'string',
is_root: true,
is_ready: true,
is_hidden: true,
is_disabled: false,
hard_dependencies: ['designbuilder'],
parent_resource_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
depends_on_addresses: ['string'],
impact_on_install: ['create'],
impact_on_install_reason: ['string']
},
)
Response
{
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
syncDependenciesโ
Sync dependencies of all root resources in a Blueprint
POST /v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies
const { data } = await client.syncDependencies({
blueprint_id: 'example',
})
bulkAddBlueprintResourcesโ
Bulk Add resources in a Blueprint
POST /v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk
const { data } = await client.bulkAddBlueprintResources(
{
blueprint_id: 'example',
add_dependencies: true,
},
[
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
name: 'string',
type: 'designbuilder',
address: 'string',
is_root: true,
is_ready: true,
is_hidden: true,
is_disabled: false,
hard_dependencies: ['designbuilder'],
parent_resource_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
depends_on_addresses: ['string'],
impact_on_install: ['create'],
impact_on_install_reason: ['string']
}
],
)
Response
{
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
bulkUpdateBlueprintResourcesโ
Bulk update resources in a Blueprint
PUT /v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk
const { data } = await client.bulkUpdateBlueprintResources(
{
blueprint_id: 'example',
},
[
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
name: 'string',
type: 'designbuilder',
address: 'string',
is_root: true,
is_ready: true,
is_hidden: true,
is_disabled: false,
hard_dependencies: ['designbuilder'],
parent_resource_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
depends_on_addresses: ['string'],
impact_on_install: ['create'],
impact_on_install_reason: ['string']
}
],
)
Response
{
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
bulkDeleteBlueprintResourcesโ
Bulk delete resources in a Blueprint
DELETE /v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk
const { data } = await client.bulkDeleteBlueprintResources(
{
blueprint_id: 'example',
},
['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
)
Response
{
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
updateBlueprintResourceโ
Update a resource in a Blueprint
PUT /v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}
const { data } = await client.updateBlueprintResource(
{
blueprint_id: 'example',
resource_id: 'example',
},
{
id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
name: 'string',
type: 'designbuilder',
address: 'string',
is_root: true,
is_ready: true,
is_hidden: true,
is_disabled: false,
hard_dependencies: ['designbuilder'],
parent_resource_ids: ['c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341'],
depends_on_addresses: ['string'],
impact_on_install: ['create'],
impact_on_install_reason: ['string']
},
)
Response
{
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
deleteBlueprintResourceโ
Delete a resource from a Blueprint
DELETE /v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}
const { data } = await client.deleteBlueprintResource({
blueprint_id: 'example',
resource_id: 'example',
})
Response
{
"resources": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"name": "string",
"type": "designbuilder",
"address": "string",
"is_root": true,
"is_ready": true,
"is_hidden": true,
"is_disabled": false,
"hard_dependencies": ["designbuilder"],
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"depends_on_addresses": ["string"],
"impact_on_install": ["create"],
"impact_on_install_reason": ["string"]
}
]
}
listBlueprintJobsโ
List Blueprint Jobs
GET /v2/blueprint-manifest/jobs
const { data } = await client.listBlueprintJobs()
Response
{
"total": 1,
"results": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"events": [
{
"timestamp": "1970-01-01T00:00:00.000Z",
"message": "string",
"errors": [
{
"error": "string",
"code": "dependency_extraction",
"data": {
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string"
}
}
],
"level": "info",
"data": {
"installed_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"export_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"resources": 0
}
}
],
"triggered_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"download_file": {
"bucket": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw",
"key": "templates/main.tf"
}
}
]
}
getBlueprintJobโ
Get Job
GET /v2/blueprint-manifest/jobs/{job_id}
const { data } = await client.getBlueprintJob({
job_id: 'example',
})
Response
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"events": [
{
"timestamp": "1970-01-01T00:00:00.000Z",
"message": "string",
"errors": [
{
"error": "string",
"code": "dependency_extraction",
"data": {
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string"
}
}
],
"level": "info",
"data": {
"installed_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"export_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"resources": 0
}
}
],
"triggered_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"download_file": {
"bucket": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw",
"key": "templates/main.tf"
}
}
continueInstallationJobโ
Continue Installation Job
POST /v2/blueprint-manifest/jobs/{job_id}:continue
const { data } = await client.continueInstallationJob(
{
job_id: 'example',
},
{
resources_to_ignore: ['string']
},
)
Response
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"events": [
{
"timestamp": "1970-01-01T00:00:00.000Z",
"message": "string",
"errors": [
{
"error": "string",
"code": "dependency_extraction",
"data": {
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string"
}
}
],
"level": "info",
"data": {
"installed_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"export_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"resources": 0
}
}
],
"triggered_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"source_blueprint_type": "custom",
"source_org_id": "string",
"source_blueprint_file": "string",
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"destination_org_id": "string",
"slug": "string",
"status": "IN_PROGRESS"
}
cancelBlueprintJobโ
Cancel Blueprint Job
POST /v2/blueprint-manifest/jobs/{job_id}:cancel
const { data } = await client.cancelBlueprintJob({
job_id: 'example',
})
Response
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"events": [
{
"timestamp": "1970-01-01T00:00:00.000Z",
"message": "string",
"errors": [
{
"error": "string",
"code": "dependency_extraction",
"data": {
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string"
}
}
],
"level": "info",
"data": {
"installed_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"export_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"resources": 0
}
}
],
"triggered_at": "1970-01-01T00:00:00.000Z",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"download_file": {
"bucket": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw",
"key": "templates/main.tf"
}
}
Schemasโ
BlueprintIDโ
ID of a blueprint
type BlueprintID = string
BlueprintResourceIDโ
ID of a blueprint resource
type BlueprintResourceID = string
CommonBlueprintFieldsโ
type CommonBlueprintFields = {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
}
BlueprintResourceโ
type BlueprintResource = {
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}
BlueprintPreviewโ
Preview data for a blueprint before installation. Stored temporarily with TTL.
type BlueprintPreview = {
id: string
org_id: string
title: string
description?: {
preinstall?: string
}
version?: string
slug?: string
source_type: "marketplace" | "file"
blueprint_file_s3_key: string
is_verified: boolean
docs_url?: string
recommended_apps?: string[]
created_at: string // date-time
created_by: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
is_updating: boolean
resources: Array<{
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}>
}
CustomBlueprintโ
type CustomBlueprint = {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
resources?: Array<{
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}>
source_type?: string
}
FileBlueprintโ
type FileBlueprint = {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
source_type?: string
resources?: Array<{
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}>
}
MarketplaceBlueprintโ
type MarketplaceBlueprint = {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
source_type?: string
resources?: Array<{
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}>
has_update_available?: boolean
latest_marketplace_version?: string
installation_link?: string
}
InstalledMarketplaceBlueprintItemโ
Summary of an installed marketplace blueprint for version tracking
type InstalledMarketplaceBlueprintItem = {
id: string
slug: string
version?: string
created_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_at?: string // date-time
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
has_update_available?: boolean
latest_marketplace_version?: string
installation_link?: string
}
DeployedBlueprintโ
type DeployedBlueprint = {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
source_type?: string
resources?: Array<{
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}>
}
AppBlueprintโ
type AppBlueprint = {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
source_type?: string
resources?: Array<{
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}>
}
Blueprintโ
type Blueprint = {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
resources?: Array<{
id: string
name?: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
is_root?: boolean
is_ready?: boolean
is_hidden?: boolean
is_disabled?: boolean
hard_dependencies?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
impact_on_install_reason?: string[]
}>
source_type?: string
} | {
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
triggered_at?: string // date-time
}>
is_verified?: boolean
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
installation_job_ids?: string[]
source_blueprint_id?: string
archived?: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: string[]
}
zip_file_name?: string
// ...
}
BlueprintJobIDโ
ID of a job
type BlueprintJobID = string
CommonBlueprintJobFieldsโ
type CommonBlueprintJobFields = {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
}
BlueprintExportJobโ
type BlueprintExportJob = {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
blueprint_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
download_file?: {
bucket: string
key: string
}
}
BlueprintInstallationJobโ
type BlueprintInstallationJob = {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
source_blueprint_id?: string
source_blueprint_type?: "custom" | "file" | "marketplace" | "deploy" | "app"
source_org_id?: string
source_blueprint_file?: string
destination_blueprint_id?: string
destination_org_id?: string
slug?: string
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "FAILED"
}
BlueprintJobโ
type BlueprintJob = {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
blueprint_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
download_file?: {
bucket: string
key: string
}
} | {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
source_blueprint_id?: string
source_blueprint_type?: "custom" | "file" | "marketplace" | "deploy" | "app"
source_org_id?: string
source_blueprint_file?: string
destination_blueprint_id?: string
destination_org_id?: string
slug?: string
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "FAILED"
} | {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
blueprint_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
} | {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
// ...
}
BlueprintDependenciesSyncJobโ
type BlueprintDependenciesSyncJob = {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
blueprint_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
}
BlueprintValidateJobโ
type BlueprintValidateJob = {
id?: string
events?: Array<{
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: { ... }
export_job_id?: { ... }
resources?: { ... }
}
}>
triggered_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
blueprint_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
valid?: boolean
errors?: Array<{
error?: string | object
code?: "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_validate_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch" | "import_nonexistent_object" | "provider_install_error" | "stale_blueprint"
data?: {
formattedResource?: { ... }
resource?: { ... }
resourceDependency?: { ... }
resources?: { ... }
addresses?: { ... }
originalError?: { ... }
}
}>
}
BlueprintJobEventโ
type BlueprintJobEvent = {
timestamp?: string // date-time
message?: string
errors?: Array<{
error?: string | object
code?: "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_validate_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch" | "import_nonexistent_object" | "provider_install_error" | "stale_blueprint"
data?: {
formattedResource?: { ... }
resource?: { ... }
resourceDependency?: { ... }
resources?: { ... }
addresses?: { ... }
originalError?: { ... }
}
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: string
export_job_id?: string
resources?: number
}
}
BlueprintInstallationJobOptionsโ
type BlueprintInstallationJobOptions = {
resources_to_ignore?: string[]
}
ManifestIDโ
ID of an imported / installed manifest
type ManifestID = string
JobIDโ
ID of an import or export job (state machine)
type JobID = string
ManifestSourceโ
type ManifestSource = "file" | "marketplace" | "sandbox"
Manifestโ
type Manifest = {
import_job_id?: string
previous_jobs_ids?: string[]
previous_jobs?: Array<{
job_id?: string
job_status?: "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "FAILED"
manifest_file_path?: string
message?: string
timestamp?: string // date-time
plan_file_content?: string
resources_to_export?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
changes?: { ... }
changes_reason?: { ... }
}> | {
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
changes?: { ... }
changes_reason?: { ... }
}
large_resources_to_export_url?: string
resources_to_import?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
changes?: { ... }
changes_reason?: { ... }
}> | {
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
changes?: { ... }
changes_reason?: { ... }
}
large_resources_to_import_url?: string
resource_replacements?: Array<{
originalAddress: { ... }
replacementId: { ... }
replacementName?: { ... }
}>
is_verified?: boolean
errors?: Array<{
error?: { ... }
code?: { ... }
data?: { ... }
}>
source_type?: "file" | "marketplace" | "sandbox"
imported_resources?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
changes?: { ... }
changes_reason?: { ... }
}> | {
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
changes?: { ... }
changes_reason?: { ... }
}
large_imported_resources_url?: string // uri
markdown?: {
manifest?: { ... }
preinstall?: { ... }
postinstall?: { ... }
}
manifest_id?: string
source_blueprint_name?: string
source_blueprint_slug?: string
source_blueprint_version?: string
pre_install_requirements?: string[]
source_blueprint_file?: string
docs_link?: string
// ...
}
ManifestItemโ
type ManifestItem = {
manifest_id?: string
source_type?: "file" | "marketplace" | "sandbox"
source_blueprint_name?: string
source_blueprint_slug?: string
source_blueprint_version?: string
pre_install_requirements?: string[]
source_blueprint_file?: string
docs_link?: string
source_blueprint_file_ref?: {
bucket: string
key: string
}
install_status?: "SUCCESS" | "PARTIAL" | "FAILED"
install_status_description?: string
is_verified?: boolean
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
manifest_version?: string
selected_resources_url?: string
ready_imported_resources_url?: string
deployed_from?: {
source_organization_id?: string
source_manifest_id?: string
source_organization_type?: "sandbox" | "production"
last_triggered_at?: string // date-time
}
deployed_to?: Array<{
destination_organization_id?: string
destination_manifest_id?: string
destination_organization_type?: "sandbox" | "production"
last_triggered_at?: string // date-time
}>
created_at?: string // date-time
updated_at?: string // date-time
}
JobStatusโ
type JobStatus = "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "FAILED"
ResourceNodeTypeโ
Type of the resource
type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
PlanChangesโ
type PlanChanges = "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
CommonResourceNodeโ
type CommonResourceNode = {
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
}
RootResourceNodeโ
type RootResourceNode = {
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: true
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
parents?: { ... }
changes?: { ... }
changes_reason?: { ... }
}>
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}
VirtualResourceNodeGroupโ
type VirtualResourceNodeGroup = {
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: true
dependencies?: Array<{
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
parents?: { ... }
changes?: { ... }
changes_reason?: { ... }
}>
parents?: Array<{
id?: { ... }
type?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}>
}
ResourceNodeโ
type ResourceNode = {
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
address?: { ... }
dependencies?: { ... }
parents?: { ... }
changes?: { ... }
changes_reason?: { ... }
}>
parents?: Array<{
id?: { ... }
type?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}>
parents?: Array<{
id?: string
type?: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}
Jobโ
type Job = {
job_id?: string
job_status?: "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "FAILED"
manifest_file_path?: string
message?: string
timestamp?: string // date-time
plan_file_content?: string
resources_to_export?: Array<{
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
dependencies?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}> | {
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
dependencies?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}
large_resources_to_export_url?: string
resources_to_import?: Array<{
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
dependencies?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}> | {
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
dependencies?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}
large_resources_to_import_url?: string
resource_replacements?: Array<{
originalAddress: string
replacementId: string
replacementName?: string
}>
is_verified?: boolean
errors?: Array<{
error?: string | object
code?: "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_validate_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch" | "import_nonexistent_object" | "provider_install_error" | "stale_blueprint"
data?: {
formattedResource?: { ... }
resource?: { ... }
resourceDependency?: { ... }
resources?: { ... }
addresses?: { ... }
originalError?: { ... }
}
}>
source_type?: "file" | "marketplace" | "sandbox"
imported_resources?: Array<{
id: string
// ...
}
UploadFilePayloadโ
type UploadFilePayload = {
filename: string
}
S3Referenceโ
type S3Reference = {
bucket: string
key: string
}
CommonManifestFieldsโ
type CommonManifestFields = {
manifest_id?: string
source_type?: "file" | "marketplace" | "sandbox"
source_blueprint_name?: string
source_blueprint_slug?: string
source_blueprint_version?: string
pre_install_requirements?: string[]
source_blueprint_file?: string
docs_link?: string
source_blueprint_file_ref?: {
bucket: string
key: string
}
install_status?: "SUCCESS" | "PARTIAL" | "FAILED"
install_status_description?: string
is_verified?: boolean
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
updated_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
manifest_version?: string
selected_resources_url?: string
ready_imported_resources_url?: string
deployed_from?: {
source_organization_id?: string
source_manifest_id?: string
source_organization_type?: "sandbox" | "production"
last_triggered_at?: string // date-time
}
deployed_to?: Array<{
destination_organization_id?: string
destination_manifest_id?: string
destination_organization_type?: "sandbox" | "production"
last_triggered_at?: string // date-time
}>
}
ManifestTimestampFieldsโ
type ManifestTimestampFields = {
created_at?: string // date-time
updated_at?: string // date-time
}
CommonImportFieldsโ
type CommonImportFields = {
source_type?: "file" | "marketplace" | "sandbox"
imported_resources?: Array<{
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
dependencies?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}> | {
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: Array<{
id: { ... }
type: { ... }
name?: { ... }
source_id?: { ... }
is_virtual?: { ... }
dependencies?: { ... }
}>
changes?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored"[]
changes_reason?: string[]
}
large_imported_resources_url?: string // uri
}
CommonMarkdownFieldsโ
type CommonMarkdownFields = {
markdown?: {
manifest?: string
preinstall?: string
postinstall?: string
}
}
PreInstallRequirementsโ
List of feature settings that must be enabled before installing the blueprint
type PreInstallRequirements = string[]
BlueprintInstallStatusโ
type BlueprintInstallStatus = "SUCCESS" | "PARTIAL" | "FAILED"
FormattedErrorCodesโ
type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_validate_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch" | "import_nonexistent_object" | "provider_install_error" | "stale_blueprint"
FormattedErrorDataโ
type FormattedErrorData = {
id?: string
name?: string
type?: string
}
FormattedErrorโ
type FormattedError = {
error?: string | object
code?: "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_validate_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch" | "import_nonexistent_object" | "provider_install_error" | "stale_blueprint"
data?: {
formattedResource?: {
id?: { ... }
name?: { ... }
type?: { ... }
}
resource?: string
resourceDependency?: string
resources?: string[]
addresses?: string[]
originalError?: string
}
}
CallerIdentityโ
type CallerIdentity = {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
SelectedResourcesโ
type SelectedResources = {
exported_root_resources: Array<{
id: string
type: "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
address?: string
}>
selected_resources: string[]
pipeline_id?: string
}
ResourceReplacementโ
type ResourceReplacement = {
originalAddress: string
replacementId: string
replacementName?: string
}
PutManifestPayloadโ
type PutManifestPayload = {
source_blueprint_name?: string
markdown?: string
ready_resources?: string[]
deployed_to?: Array<{
destination_organization_id?: string
destination_manifest_id?: string
destination_organization_type?: "sandbox" | "production"
last_triggered_at?: string
}>
}