Skip to main content

Blueprint Manifest API

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

Jobs

Marketplace Listings

Marketplace Listing Versions

merge-plans

Uniqueness Criteria

Schemas

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": [
{
"source_drift": {},
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"title": "string",
"slug": "string",
"description": {},
"notes": [],
"version": "string",
"deployments": [],
"is_verified": true,
"latest_verification": {},
"ignored_resource_addresses": ["string"],
"installation_status": "IN_PROGRESS",
"active_restore_job_id": "string",
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {},
"updated_by": {},
"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": {},
"zip_file_name": "string",
"resources": [],
"source_type": "custom"
}
]
}

createBlueprintโ€‹

Create a Blueprint

POST /v2/blueprint-manifest/blueprints

const { data } = await client.createBlueprint(
null,
{
source_drift: {
removed: [
{ /* ... */ }
],
missing: [
{ /* ... */ }
],
exclude_addresses: ['string']
},
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
'
},
notes: [
{
id: '3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40',
text: 'Adjusted the meter-reading journey for the ยง14a rollout.',
created_at: '1970-01-01T00:00:00.000Z',
updated_at: '1970-01-01T00:00:00.000Z',
created_by: { /* ... */ }
}
],
version: 'string',
deployments: [
{
source_org_id: 'string',
source_blueprint_id: 'string',
destination_org_id: 'string',
destination_blueprint_id: 'string',
job_id: 'string',
triggered_at: '1970-01-01T00:00:00.000Z',
performed_by: { /* ... */ },
note: 'string',
status: 'IN_PROGRESS',
merge_plan_id: 'string',
merge_snapshot_id: 'string',
snapshot_restore_available: true,
merge_plan_state: 'review_required',
revert_until: '1970-01-01T00:00:00.000Z',
restore_details: { /* ... */ },
has_revertible_changes: true,
last_restore_job_id: 'string',
restore_status: 'available'
}
],
is_verified: true,
latest_verification: {
job_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
status: 'IN_PROGRESS',
triggered_at: '1970-01-01T00:00:00.000Z',
source_org_id: 'string',
source_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
destination_org_id: 'string',
destination_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
installation_job_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
sync_engine: 'terraform',
summary: {
total_resources: 0,
matched: 0,
mismatched: 0,
missing_in_destination: 0,
fetch_errors: 0
}
},
ignored_resource_addresses: ['string'],
installation_status: 'IN_PROGRESS',
active_restore_job_id: 'string',
active_restore_started_at: '1970-01-01T00:00:00.000Z',
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'],
impact_on_install_changes: [ /* ... */ ],
impact_on_install_labels: {},
impact_on_install_summary: ['string']
}
],
source_type: 'custom'
},
)
Response
{
"source_drift": {
"removed": [
{}
],
"missing": [
{}
],
"exclude_addresses": ["string"]
},
"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"
},
"notes": [
{
"id": "3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40",
"text": "Adjusted the meter-reading journey for the ยง14a rollout.",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {}
}
],
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"job_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z",
"performed_by": {},
"note": "string",
"status": "IN_PROGRESS",
"merge_plan_id": "string",
"merge_snapshot_id": "string",
"snapshot_restore_available": true,
"merge_plan_state": "review_required",
"revert_until": "1970-01-01T00:00:00.000Z",
"restore_details": {},
"has_revertible_changes": true,
"last_restore_job_id": "string",
"restore_status": "available"
}
],
"is_verified": true,
"latest_verification": {
"job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"triggered_at": "1970-01-01T00:00:00.000Z",
"source_org_id": "string",
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"destination_org_id": "string",
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"installation_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"sync_engine": "terraform",
"summary": {
"total_resources": 0,
"matched": 0,
"mismatched": 0,
"missing_in_destination": 0,
"fetch_errors": 0
}
},
"ignored_resource_addresses": ["string"],
"installation_status": "IN_PROGRESS",
"active_restore_job_id": "string",
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
"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"],
"impact_on_install_changes": [],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
],
"source_type": "custom"
}

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. Format-agnostic: the engine is detected from the uploaded archive, so this endpoint accepts both Terraform exports and signed V3 packages. The return

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",
"sync_engine": "terraform",
"blueprint_file_s3_key": "string",
"is_verified": true,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["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",
"sync_engine": "terraform",
"blueprint_file_s3_key": "string",
"is_verified": true,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
]
}

getBlueprintโ€‹

Get Blueprint by ID

GET /v2/blueprint-manifest/blueprints/{blueprint_id}

const { data } = await client.getBlueprint({
blueprint_id: 'example',
})
Response
{
"source_drift": {
"removed": [
{}
],
"missing": [
{}
],
"exclude_addresses": ["string"]
},
"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"
},
"notes": [
{
"id": "3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40",
"text": "Adjusted the meter-reading journey for the ยง14a rollout.",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {}
}
],
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"job_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z",
"performed_by": {},
"note": "string",
"status": "IN_PROGRESS",
"merge_plan_id": "string",
"merge_snapshot_id": "string",
"snapshot_restore_available": true,
"merge_plan_state": "review_required",
"revert_until": "1970-01-01T00:00:00.000Z",
"restore_details": {},
"has_revertible_changes": true,
"last_restore_job_id": "string",
"restore_status": "available"
}
],
"is_verified": true,
"latest_verification": {
"job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"triggered_at": "1970-01-01T00:00:00.000Z",
"source_org_id": "string",
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"destination_org_id": "string",
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"installation_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"sync_engine": "terraform",
"summary": {
"total_resources": 0,
"matched": 0,
"mismatched": 0,
"missing_in_destination": 0,
"fetch_errors": 0
}
},
"ignored_resource_addresses": ["string"],
"installation_status": "IN_PROGRESS",
"active_restore_job_id": "string",
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
"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"],
"impact_on_install_changes": [],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
],
"source_type": "custom"
}

updateBlueprintโ€‹

Update a Blueprint

PUT /v2/blueprint-manifest/blueprints/{blueprint_id}

const { data } = await client.updateBlueprint(
{
blueprint_id: 'example',
},
{
source_drift: {
removed: [
{ /* ... */ }
],
missing: [
{ /* ... */ }
],
exclude_addresses: ['string']
},
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
'
},
notes: [
{
id: '3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40',
text: 'Adjusted the meter-reading journey for the ยง14a rollout.',
created_at: '1970-01-01T00:00:00.000Z',
updated_at: '1970-01-01T00:00:00.000Z',
created_by: { /* ... */ }
}
],
version: 'string',
deployments: [
{
source_org_id: 'string',
source_blueprint_id: 'string',
destination_org_id: 'string',
destination_blueprint_id: 'string',
job_id: 'string',
triggered_at: '1970-01-01T00:00:00.000Z',
performed_by: { /* ... */ },
note: 'string',
status: 'IN_PROGRESS',
merge_plan_id: 'string',
merge_snapshot_id: 'string',
snapshot_restore_available: true,
merge_plan_state: 'review_required',
revert_until: '1970-01-01T00:00:00.000Z',
restore_details: { /* ... */ },
has_revertible_changes: true,
last_restore_job_id: 'string',
restore_status: 'available'
}
],
is_verified: true,
latest_verification: {
job_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
status: 'IN_PROGRESS',
triggered_at: '1970-01-01T00:00:00.000Z',
source_org_id: 'string',
source_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
destination_org_id: 'string',
destination_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
installation_job_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
sync_engine: 'terraform',
summary: {
total_resources: 0,
matched: 0,
mismatched: 0,
missing_in_destination: 0,
fetch_errors: 0
}
},
ignored_resource_addresses: ['string'],
installation_status: 'IN_PROGRESS',
active_restore_job_id: 'string',
active_restore_started_at: '1970-01-01T00:00:00.000Z',
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'],
impact_on_install_changes: [ /* ... */ ],
impact_on_install_labels: {},
impact_on_install_summary: ['string']
}
],
source_type: 'custom'
},
)
Response
{
"source_drift": {
"removed": [
{}
],
"missing": [
{}
],
"exclude_addresses": ["string"]
},
"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"
},
"notes": [
{
"id": "3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40",
"text": "Adjusted the meter-reading journey for the ยง14a rollout.",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {}
}
],
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"job_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z",
"performed_by": {},
"note": "string",
"status": "IN_PROGRESS",
"merge_plan_id": "string",
"merge_snapshot_id": "string",
"snapshot_restore_available": true,
"merge_plan_state": "review_required",
"revert_until": "1970-01-01T00:00:00.000Z",
"restore_details": {},
"has_revertible_changes": true,
"last_restore_job_id": "string",
"restore_status": "available"
}
],
"is_verified": true,
"latest_verification": {
"job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"triggered_at": "1970-01-01T00:00:00.000Z",
"source_org_id": "string",
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"destination_org_id": "string",
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"installation_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"sync_engine": "terraform",
"summary": {
"total_resources": 0,
"matched": 0,
"mismatched": 0,
"missing_in_destination": 0,
"fetch_errors": 0
}
},
"ignored_resource_addresses": ["string"],
"installation_status": "IN_PROGRESS",
"active_restore_job_id": "string",
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
"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"],
"impact_on_install_changes": [],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
],
"source_type": "custom"
}

deleteBlueprintโ€‹

Delete a Blueprint

DELETE /v2/blueprint-manifest/blueprints/{blueprint_id}

const { data } = await client.deleteBlueprint({
blueprint_id: 'example',
})
Response
{
"source_drift": {
"removed": [
{}
],
"missing": [
{}
],
"exclude_addresses": ["string"]
},
"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"
},
"notes": [
{
"id": "3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40",
"text": "Adjusted the meter-reading journey for the ยง14a rollout.",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": {}
}
],
"version": "string",
"deployments": [
{
"source_org_id": "string",
"source_blueprint_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "string",
"job_id": "string",
"triggered_at": "1970-01-01T00:00:00.000Z",
"performed_by": {},
"note": "string",
"status": "IN_PROGRESS",
"merge_plan_id": "string",
"merge_snapshot_id": "string",
"snapshot_restore_available": true,
"merge_plan_state": "review_required",
"revert_until": "1970-01-01T00:00:00.000Z",
"restore_details": {},
"has_revertible_changes": true,
"last_restore_job_id": "string",
"restore_status": "available"
}
],
"is_verified": true,
"latest_verification": {
"job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"triggered_at": "1970-01-01T00:00:00.000Z",
"source_org_id": "string",
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"destination_org_id": "string",
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"installation_job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"sync_engine": "terraform",
"summary": {
"total_resources": 0,
"matched": 0,
"mismatched": 0,
"missing_in_destination": 0,
"fetch_errors": 0
}
},
"ignored_resource_addresses": ["string"],
"installation_status": "IN_PROGRESS",
"active_restore_job_id": "string",
"active_restore_started_at": "1970-01-01T00:00:00.000Z",
"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"],
"impact_on_install_changes": [],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
],
"source_type": "custom"
}

listBlueprintTestCasesโ€‹

Author versioned plain-language expectations. Requires the blueprint-test-cases organization feature flag.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases

const { data } = await client.listBlueprintTestCases({
blueprint_id: 'example',
limit: 1,
cursor: 'example',
})
Response
{
"results": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"org_id": "string",
"schema_version": 1,
"revision": 1,
"title": "string",
"expectation": "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"
},
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"deleted_at": "1970-01-01T00:00:00.000Z",
"confirmation": {
"schema_version": "1",
"interpretation": {
"schema_version": "1",
"clauses": [
{
"source_text": "string",
"status": "supported",
"assertions": [
{
"operator": "resource_included",
"target_key": "string"
}
],
"reason": "string"
}
]
},
"catalog": [
{
"key": "string",
"type": "string",
"id": "string",
"label": "string",
"membership_state": "included",
"capabilities": ["resource_included"],
"tasks": [
{
"key": "string",
"label": "string",
"capabilities": ["workflow_task_required"]
}
]
}
],
"proposal_hash": "string",
"expectation_sha256": "string",
"interpreter_version": "string",
"confirmed_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"confirmed_at": "1970-01-01T00:00:00.000Z",
"interpreter_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"clauses": [
{}
],
"clauses_hash": "string",
"title_key": {},
"origin": {},
"needs_reinterpretation": {
"reason": "string"
}
}
],
"next_cursor": "string"
}

createBlueprintTestCaseโ€‹

Author versioned plain-language expectations. Requires the blueprint-test-cases organization feature flag.

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases

const { data } = await client.createBlueprintTestCase(
{
blueprint_id: 'example',
},
{
title: 'string',
expectation: 'string'
},
)
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"org_id": "string",
"schema_version": 1,
"revision": 1,
"title": "string",
"expectation": "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"
},
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"deleted_at": "1970-01-01T00:00:00.000Z",
"confirmation": {
"schema_version": "1",
"interpretation": {
"schema_version": "1",
"clauses": [
{
"source_text": "string",
"status": "supported",
"assertions": [
{
"operator": "resource_included",
"target_key": "string"
}
],
"reason": "string"
}
]
},
"catalog": [
{
"key": "string",
"type": "string",
"id": "string",
"label": "string",
"membership_state": "included",
"capabilities": ["resource_included"],
"tasks": [
{
"key": "string",
"label": "string",
"capabilities": ["workflow_task_required"]
}
]
}
],
"proposal_hash": "string",
"expectation_sha256": "string",
"interpreter_version": "string",
"confirmed_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"confirmed_at": "1970-01-01T00:00:00.000Z",
"interpreter_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"clauses": [
{}
],
"clauses_hash": "string",
"title_key": {},
"origin": {},
"needs_reinterpretation": {
"reason": "string"
}
}

getBlueprintTestCaseโ€‹

Author versioned plain-language expectations. Requires the blueprint-test-cases organization feature flag.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}

const { data } = await client.getBlueprintTestCase({
blueprint_id: 'example',
test_case_id: 'example',
revision: 1,
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"org_id": "string",
"schema_version": 1,
"revision": 1,
"title": "string",
"expectation": "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"
},
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"deleted_at": "1970-01-01T00:00:00.000Z",
"confirmation": {
"schema_version": "1",
"interpretation": {
"schema_version": "1",
"clauses": [
{
"source_text": "string",
"status": "supported",
"assertions": [
{
"operator": "resource_included",
"target_key": "string"
}
],
"reason": "string"
}
]
},
"catalog": [
{
"key": "string",
"type": "string",
"id": "string",
"label": "string",
"membership_state": "included",
"capabilities": ["resource_included"],
"tasks": [
{
"key": "string",
"label": "string",
"capabilities": ["workflow_task_required"]
}
]
}
],
"proposal_hash": "string",
"expectation_sha256": "string",
"interpreter_version": "string",
"confirmed_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"confirmed_at": "1970-01-01T00:00:00.000Z",
"interpreter_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"clauses": [
{}
],
"clauses_hash": "string",
"title_key": {},
"origin": {},
"needs_reinterpretation": {
"reason": "string"
}
}

updateBlueprintTestCaseโ€‹

Author versioned plain-language expectations. Requires the blueprint-test-cases organization feature flag.

PUT /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}

const { data } = await client.updateBlueprintTestCase(
{
blueprint_id: 'example',
test_case_id: 'example',
},
{
title: 'string',
expectation: 'string',
expected_revision: 1
},
)
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"org_id": "string",
"schema_version": 1,
"revision": 1,
"title": "string",
"expectation": "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"
},
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"deleted_at": "1970-01-01T00:00:00.000Z",
"confirmation": {
"schema_version": "1",
"interpretation": {
"schema_version": "1",
"clauses": [
{
"source_text": "string",
"status": "supported",
"assertions": [
{
"operator": "resource_included",
"target_key": "string"
}
],
"reason": "string"
}
]
},
"catalog": [
{
"key": "string",
"type": "string",
"id": "string",
"label": "string",
"membership_state": "included",
"capabilities": ["resource_included"],
"tasks": [
{
"key": "string",
"label": "string",
"capabilities": ["workflow_task_required"]
}
]
}
],
"proposal_hash": "string",
"expectation_sha256": "string",
"interpreter_version": "string",
"confirmed_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"confirmed_at": "1970-01-01T00:00:00.000Z",
"interpreter_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"clauses": [
{}
],
"clauses_hash": "string",
"title_key": {},
"origin": {},
"needs_reinterpretation": {
"reason": "string"
}
}

deleteBlueprintTestCaseโ€‹

Author versioned plain-language expectations. Requires the blueprint-test-cases organization feature flag.

DELETE /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}

const { data } = await client.deleteBlueprintTestCase({
blueprint_id: 'example',
test_case_id: 'example',
expected_revision: 1,
})

addBlueprintNoteโ€‹

Append an internal note to a blueprint. id, created_at and created_by are stamped server-side from the caller, so notes cannot be backdated or attributed to someone else. Existing notes are neve

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/notes

const { data } = await client.addBlueprintNote(
{
blueprint_id: 'example',
},
{
text: 'string'
},
)
Response
{
"id": "3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40",
"text": "Adjusted the meter-reading journey for the ยง14a rollout.",
"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"
}
}

updateBlueprintNoteโ€‹

Rewrite the text of an existing internal note. The note keeps its position in the list along with created_at and created_by, so an edit cannot reassign authorship; updated_at is stamped server-s

PATCH /v2/blueprint-manifest/blueprints/{blueprint_id}/notes/{note_id}

const { data } = await client.updateBlueprintNote(
{
blueprint_id: 'example',
note_id: 'example',
},
{
text: 'string'
},
)
Response
{
"id": "3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40",
"text": "Adjusted the meter-reading journey for the ยง14a rollout.",
"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"
}
}

deleteBlueprintNoteโ€‹

Remove a single internal note from a blueprint.

DELETE /v2/blueprint-manifest/blueprints/{blueprint_id}/notes/{note_id}

const { data } = await client.deleteBlueprintNote({
blueprint_id: 'example',
note_id: 'example',
})
Response
{
"notes": [
{
"id": "3f1c9b0e-2f3a-4a1f-9a3e-6f2b8c7d1e40",
"text": "Adjusted the meter-reading journey for the ยง14a rollout.",
"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"
}
}
]
}

verifyBlueprintโ€‹

Start a blueprint verification job. Compares resource configurations between a source org and a destination org to verify that a sync/install was successful. Returns 202 Accepted with job_id. Poll GET

POST /v2/blueprint-manifest/blueprints/{blueprint_id}:verify

const { data } = await client.verifyBlueprint(
{
blueprint_id: 'example',
},
{
source_org_id: 'string',
source_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
destination_org_id: 'string',
destination_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
source_auth_token: 'string',
destination_auth_token: 'string',
installation_job_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
sync_engine: 'terraform'
},
)

listMarketplaceSlugsโ€‹

List all available marketplace blueprint slugs from Webflow CMS. Returns cached results when available.

GET /v2/blueprint-manifest/marketplace/slugs

const { data } = await client.listMarketplaceSlugs()
Response
{
"results": [
{
"slug": "wallbox_b2c",
"marketplace_slug": "wallbox-b2c",
"version": "v1.0.0",
"name": "Wallbox B2C",
"installation_link": "https://portal.epilot.cloud/app/blueprints/install/marketplace/wallbox_b2c?s3Ref=https://example.com/blueprint.zip"
}
]
}

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"
}

suggestBlueprintResourcesโ€‹

Suggest resources to add to a blueprint based on a natural-language prompt.

POST /v2/blueprint-manifest/blueprints:suggest-resources

const { data } = await client.suggestBlueprintResources(
null,
{
prompt: 'everything for the hausanschluss use case',
blueprint_id: '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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
],
"suggested_blueprint_name": "Hausanschluss",
"explanation": "string",
"add_dependencies_recommended": true
}

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'],
impact_on_install_changes: [
{
path: 'string',
destination: {},
source: {},
added: true
}
],
impact_on_install_labels: {},
impact_on_install_summary: ['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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
],
"skipped": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"type": "designbuilder",
"reason": "not_found"
}
],
"errors": [
{
"error": "string",
"code": "dependency_extraction",
"data": {
"missing_count": 0,
"exclude_count": 0,
"source_drift_s3_key": "string",
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string",
"current": 0,
"max_allowed": 0,
"planned": 0
}
}
],
"total_errors": 0,
"errors_truncated": true
}

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',
trigger: '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'],
impact_on_install_changes: [
{
path: 'string',
destination: {},
source: {},
added: true
}
],
impact_on_install_labels: {},
impact_on_install_summary: ['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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
],
"skipped": [
{
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"type": "designbuilder",
"reason": "not_found"
}
],
"errors": [
{
"error": "string",
"code": "dependency_extraction",
"data": {
"missing_count": 0,
"exclude_count": 0,
"source_drift_s3_key": "string",
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string",
"current": 0,
"max_allowed": 0,
"planned": 0
}
}
],
"total_errors": 0,
"errors_truncated": true
}

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'],
impact_on_install_changes: [
{
path: 'string',
destination: {},
source: {},
added: true
}
],
impact_on_install_labels: {},
impact_on_install_summary: ['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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["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'],
impact_on_install_changes: [
{
path: 'string',
destination: {},
source: {},
added: true
}
],
impact_on_install_labels: {},
impact_on_install_summary: ['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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
]
}

listBlueprintJobsโ€‹

List all 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": {
"missing_count": 0,
"exclude_count": 0,
"source_drift_s3_key": "string",
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string",
"current": 0,
"max_allowed": 0,
"planned": 0
}
}
],
"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"
},
"job_type": "export",
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"download_file": {
"bucket": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw",
"key": "templates/main.tf"
}
}
]
}

getBlueprintJobโ€‹

Poll the current state of a job. Serves both Terraform (v2) and V3-engine jobs โ€” check sync_engine (terraform | v3) to tell them apart. V3 jobs additionally expose live resource_progress[]. V3

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": {
"missing_count": 0,
"exclude_count": 0,
"source_drift_s3_key": "string",
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string",
"current": 0,
"max_allowed": 0,
"planned": 0
}
}
],
"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"
},
"job_type": "export",
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"download_file": {
"bucket": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw",
"key": "templates/main.tf"
}
}

continueInstallationJobโ€‹

Resume an installation job that is paused at status: "WAITING_USER_ACTION" after planning. Works for both Terraform and V3 jobs. Not needed for V3 installs created with auto_apply: true (including

POST /v2/blueprint-manifest/jobs/{job_id}:continue

const { data } = await client.continueInstallationJob(
{
job_id: 'example',
},
{
resources_to_ignore: ['string'],
sync_notes: false,
include_field_diffs: false,
source_auth_token: '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": {
"missing_count": 0,
"exclude_count": 0,
"source_drift_s3_key": "string",
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string",
"current": 0,
"max_allowed": 0,
"planned": 0
}
}
],
"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_drift": {
"removed": [
{
"address": "string",
"type": "designbuilder",
"name": "string",
"id": "string"
}
],
"missing": [
{
"address": "string",
"type": "designbuilder",
"name": "string",
"id": "string",
"referenced_by": ["string"]
}
],
"exclude_addresses": ["string"]
},
"job_type": "install",
"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",
"sync_engine": "terraform",
"resource_progress": [
{
"lineage_id": "string",
"type": "string",
"address": "string",
"name": "string",
"status": "pending",
"target_id": "string",
"error_message": "string",
"error_code": "string",
"error_data": {}
}
],
"options": {
"resources_to_ignore": ["string"],
"sync_notes": false,
"include_field_diffs": false
},
"merge_plan_id": "string",
"wait_kind": "plan",
"prefill_from_merge_plan_id": "string",
"assigned_merge_plan_id": "string",
"status": "IN_PROGRESS"
}

retryInstallationJobโ€‹

Retry a finished V3 installation job whose status is FAILED or PARTIAL_SUCCESS. Starts a fresh install job (new job_id) with the same source/destination and auto_apply: true โ€” no :continue c

POST /v2/blueprint-manifest/jobs/{job_id}:retry

const { data } = await client.retryInstallationJob({
job_id: 'example',
})

cancelBlueprintJobโ€‹

Cancel a blueprint job if it is still running.

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": {
"missing_count": 0,
"exclude_count": 0,
"source_drift_s3_key": "string",
"formattedResource": {
"id": "string",
"name": "string",
"type": "string"
},
"resource": "string",
"resourceDependency": "string",
"resources": ["string"],
"addresses": ["string"],
"originalError": "string",
"current": 0,
"max_allowed": 0,
"planned": 0
}
}
],
"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"
},
"job_type": "export",
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "IN_PROGRESS",
"download_file": {
"bucket": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw",
"key": "templates/main.tf"
}
}

createMarketplaceListingโ€‹

Create a marketplace listing for a blueprint. Returns 409 if one already exists.

POST /v1/blueprints/{blueprint_id}/marketplace-listing

const { data } = await client.createMarketplaceListing(
{
blueprint_id: 'example',
},
{
name: 'string',
slug: 'string'
},
)
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"documentation_url": "string",
"pricing_type": "free",
"support_email": "string",
"portal_description": "string",
"teaser_name": "string",
"teaser_short_description": "string",
"teaser_thumbnail": "string",
"details_page_title": "string",
"details_page_description": "string",
"details_page_hero_image": "string",
"details_page_carousel": ["string"],
"resources_section_description": "string",
"resources_section_benefits_title": "string",
"resources_section_benefits_list": "string",
"resources_section_process_details": "string",
"partner": "string",
"partner_subtext": "string",
"partner_logo": "string",
"partner_website_link": "string",
"last_updated_on": "string",
"requires_customer_portal": true,
"process_details_section_title": "string",
"is_new_blueprint": true,
"available_in": "string",
"testimonials": ["string"],
"installation_link": "string",
"installation_slug": "string",
"demo_form_link": "string",
"order": 0,
"categories": ["string"],
"main_category": ["string"],
"status": "draft",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z"
}

getMarketplaceListingโ€‹

Get marketplace listing for a blueprint including all versions

GET /v1/blueprints/{blueprint_id}/marketplace-listing

const { data } = await client.getMarketplaceListing({
blueprint_id: 'example',
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"documentation_url": "string",
"pricing_type": "free",
"support_email": "string",
"portal_description": "string",
"teaser_name": "string",
"teaser_short_description": "string",
"teaser_thumbnail": "string",
"details_page_title": "string",
"details_page_description": "string",
"details_page_hero_image": "string",
"details_page_carousel": ["string"],
"resources_section_description": "string",
"resources_section_benefits_title": "string",
"resources_section_benefits_list": "string",
"resources_section_process_details": "string",
"partner": "string",
"partner_subtext": "string",
"partner_logo": "string",
"partner_website_link": "string",
"last_updated_on": "string",
"requires_customer_portal": true,
"process_details_section_title": "string",
"is_new_blueprint": true,
"available_in": "string",
"testimonials": ["string"],
"installation_link": "string",
"installation_slug": "string",
"demo_form_link": "string",
"order": 0,
"categories": ["string"],
"main_category": ["string"],
"status": "draft",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"versions": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"listing_id": "string",
"status": "draft",
"version_name": "string",
"draft_label": "string",
"update_note": "string",
"resources": [
{}
],
"required_features": ["string"],
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"published_at": "1970-01-01T00:00:00.000Z"
}
],
"has_publishable_draft": true
}

listMarketplaceListingsโ€‹

List all marketplace listings for the authenticated organization

GET /v1/marketplace-listings

const { data } = await client.listMarketplaceListings()
Response
{
"listings": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"documentation_url": "string",
"pricing_type": "free",
"support_email": "string",
"portal_description": "string",
"teaser_name": "string",
"teaser_short_description": "string",
"teaser_thumbnail": "string",
"details_page_title": "string",
"details_page_description": "string",
"details_page_hero_image": "string",
"details_page_carousel": ["string"],
"resources_section_description": "string",
"resources_section_benefits_title": "string",
"resources_section_benefits_list": "string",
"resources_section_process_details": "string",
"partner": "string",
"partner_subtext": "string",
"partner_logo": "string",
"partner_website_link": "string",
"last_updated_on": "string",
"requires_customer_portal": true,
"process_details_section_title": "string",
"is_new_blueprint": true,
"available_in": "string",
"testimonials": ["string"],
"installation_link": "string",
"installation_slug": "string",
"demo_form_link": "string",
"order": 0,
"categories": ["string"],
"main_category": ["string"],
"status": "draft",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z"
}
]
}

getMarketplaceListingByIdโ€‹

Get marketplace listing by listing ID including all versions

GET /v1/marketplace-listings/{listing_id}

const { data } = await client.getMarketplaceListingById({
listing_id: 'example',
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"documentation_url": "string",
"pricing_type": "free",
"support_email": "string",
"portal_description": "string",
"teaser_name": "string",
"teaser_short_description": "string",
"teaser_thumbnail": "string",
"details_page_title": "string",
"details_page_description": "string",
"details_page_hero_image": "string",
"details_page_carousel": ["string"],
"resources_section_description": "string",
"resources_section_benefits_title": "string",
"resources_section_benefits_list": "string",
"resources_section_process_details": "string",
"partner": "string",
"partner_subtext": "string",
"partner_logo": "string",
"partner_website_link": "string",
"last_updated_on": "string",
"requires_customer_portal": true,
"process_details_section_title": "string",
"is_new_blueprint": true,
"available_in": "string",
"testimonials": ["string"],
"installation_link": "string",
"installation_slug": "string",
"demo_form_link": "string",
"order": 0,
"categories": ["string"],
"main_category": ["string"],
"status": "draft",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"versions": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"listing_id": "string",
"status": "draft",
"version_name": "string",
"draft_label": "string",
"update_note": "string",
"resources": [
{}
],
"required_features": ["string"],
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"published_at": "1970-01-01T00:00:00.000Z"
}
],
"has_publishable_draft": true
}

updateMarketplaceListingโ€‹

Update listing-level fields

PATCH /v1/marketplace-listings/{listing_id}

const { data } = await client.updateMarketplaceListing(
{
listing_id: 'example',
},
{
name: 'string',
slug: 'string',
logo: 'string',
documentation_url: 'string',
pricing_type: 'free',
support_email: 'string',
portal_description: 'string',
teaser_name: 'string',
teaser_short_description: 'string',
teaser_thumbnail: 'string',
details_page_title: 'string',
details_page_description: 'string',
details_page_hero_image: 'string',
details_page_carousel: ['string'],
resources_section_description: 'string',
resources_section_benefits_title: 'string',
resources_section_benefits_list: 'string',
resources_section_process_details: 'string',
partner: 'string',
partner_subtext: 'string',
partner_logo: 'string',
partner_website_link: 'string',
last_updated_on: 'string',
requires_customer_portal: true,
process_details_section_title: 'string',
is_new_blueprint: true,
available_in: 'string',
testimonials: ['string'],
installation_link: 'string',
installation_slug: 'string',
demo_form_link: 'string',
order: 0,
categories: ['string'],
main_category: ['string']
},
)
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"documentation_url": "string",
"pricing_type": "free",
"support_email": "string",
"portal_description": "string",
"teaser_name": "string",
"teaser_short_description": "string",
"teaser_thumbnail": "string",
"details_page_title": "string",
"details_page_description": "string",
"details_page_hero_image": "string",
"details_page_carousel": ["string"],
"resources_section_description": "string",
"resources_section_benefits_title": "string",
"resources_section_benefits_list": "string",
"resources_section_process_details": "string",
"partner": "string",
"partner_subtext": "string",
"partner_logo": "string",
"partner_website_link": "string",
"last_updated_on": "string",
"requires_customer_portal": true,
"process_details_section_title": "string",
"is_new_blueprint": true,
"available_in": "string",
"testimonials": ["string"],
"installation_link": "string",
"installation_slug": "string",
"demo_form_link": "string",
"order": 0,
"categories": ["string"],
"main_category": ["string"],
"status": "draft",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z"
}

deleteMarketplaceListingโ€‹

Delete listing and all versions

DELETE /v1/marketplace-listings/{listing_id}

const { data } = await client.deleteMarketplaceListing({
listing_id: 'example',
})

createMarketplaceListingVersionโ€‹

Create a draft version; auto-snapshots resources, requiredFeatures, recommendedApps from current blueprint

POST /v1/marketplace-listings/{listing_id}/versions

const { data } = await client.createMarketplaceListingVersion({
listing_id: 'example',
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"listing_id": "string",
"status": "draft",
"version_name": "string",
"draft_label": "string",
"update_note": "string",
"resources": [
{}
],
"required_features": ["string"],
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"published_at": "1970-01-01T00:00:00.000Z"
}

listMarketplaceListingVersionsโ€‹

List all versions for a listing, newest first

GET /v1/marketplace-listings/{listing_id}/versions

const { data } = await client.listMarketplaceListingVersions({
listing_id: 'example',
})
Response
{
"versions": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"listing_id": "string",
"status": "draft",
"version_name": "string",
"draft_label": "string",
"update_note": "string",
"resources": [
{}
],
"required_features": ["string"],
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"published_at": "1970-01-01T00:00:00.000Z"
}
]
}

updateMarketplaceListingVersionโ€‹

Update updateNote, requiredFeatures, or recommendedApps on a draft version

PATCH /v1/marketplace-listings/{listing_id}/versions/{version_id}

const { data } = await client.updateMarketplaceListingVersion(
{
listing_id: 'example',
version_id: 'example',
},
{
update_note: 'string',
required_features: ['string'],
recommended_apps: ['string']
},
)
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"listing_id": "string",
"status": "draft",
"version_name": "string",
"draft_label": "string",
"update_note": "string",
"resources": [
{}
],
"required_features": ["string"],
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"published_at": "1970-01-01T00:00:00.000Z"
}

publishMarketplaceListingVersionโ€‹

Publish a draft version; archives the previous live version

POST /v1/marketplace-listings/{listing_id}/versions/{version_id}/publish

const { data } = await client.publishMarketplaceListingVersion(
{
listing_id: 'example',
version_id: 'example',
},
{
version_name: 'string',
update_note: 'string'
},
)
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"listing_id": "string",
"status": "draft",
"version_name": "string",
"draft_label": "string",
"update_note": "string",
"resources": [
{}
],
"required_features": ["string"],
"recommended_apps": ["string"],
"created_at": "1970-01-01T00:00:00.000Z",
"published_at": "1970-01-01T00:00:00.000Z"
}

publishBlueprintV3โ€‹

Starts an asynchronous V3 publication. The result is a signed, portable package; poll the existing blueprint job endpoint for completion.

POST /v3/blueprint-manifest/blueprints/{blueprint_id}:publish

const { data } = await client.publishBlueprintV3(
{
blueprint_id: 'example',
},
{
publish_to_marketplace: false,
slug: 'string',
version: 'string',
name: 'string'
},
)

sendBlueprintAssistantMessageโ€‹

Sends a message to the blueprint assistant for a custom blueprint, starting a conversation when conversation_id is omitted. The answer is produced asynchronously: poll `getBlueprintAssistantConversa

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/assistant/messages

const { data } = await client.sendBlueprintAssistantMessage(
{
blueprint_id: 'example',
},
{
conversation_id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
message: 'string',
retry: true,
proposal_update: {
proposal_id: 'string',
status: 'applied',
note: 'string'
}
},
)
Response
{
"id": "string",
"blueprint_id": "string",
"status": "IN_PROGRESS",
"error": "string",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": "string",
"created_by_name": "string",
"messages": [
{
"id": "string",
"role": "user",
"created_at": "1970-01-01T00:00:00.000Z",
"parts": [
{
"type": "text",
"text": "string",
"tool_use_id": "string",
"tool": "string",
"title": "string",
"status": "running",
"result": {
"kind": "string"
}
}
]
}
]
}

listBlueprintAssistantConversationsโ€‹

The blueprint's blueprint assistant conversations in this organization, most recently updated first (at most 20). Conversations expire 30 days after their last update.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/assistant/conversations

const { data } = await client.listBlueprintAssistantConversations({
blueprint_id: 'example',
mine: true,
})
Response
{
"results": [
{
"id": "string",
"title": "string",
"status": "IN_PROGRESS",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": "string",
"created_by_name": "string",
"message_count": 0
}
]
}

getBlueprintAssistantConversationโ€‹

A blueprint assistant conversation, including the answer in progress.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/assistant/conversations/{conversation_id}

const { data } = await client.getBlueprintAssistantConversation({
blueprint_id: 'example',
conversation_id: 'example',
})
Response
{
"id": "string",
"blueprint_id": "string",
"status": "IN_PROGRESS",
"error": "string",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"created_by": "string",
"created_by_name": "string",
"messages": [
{
"id": "string",
"role": "user",
"created_at": "1970-01-01T00:00:00.000Z",
"parts": [
{
"type": "text",
"text": "string",
"tool_use_id": "string",
"tool": "string",
"title": "string",
"status": "running",
"result": {
"kind": "string"
}
}
]
}
]
}

listBlueprintAssistantSkillsโ€‹

The organization's blueprint assistant skills, the skills epilot ships (defaults; an organization skill with the same name replaces one), and the upload limits. Available when `blueprint-ai-assistan

GET /v2/blueprint-manifest/assistant/skills

const { data } = await client.listBlueprintAssistantSkills()
Response
{
"results": [
{
"name": "string",
"description": "string",
"enabled": true,
"files": ["string"],
"size": 0,
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": "string",
"updated_by_name": "string"
}
],
"defaults": [
{
"name": "string",
"description": "string",
"audience": "publishers"
}
],
"limits": {}
}

uploadBlueprintAssistantSkillโ€‹

Uploads a skill for the organization's blueprint assistant, replacing the skill of the same name. The file is a SKILL.md or a zip with SKILL.md and references/*.md (the format claude.ai exports;

POST /v2/blueprint-manifest/assistant/skills

const { data } = await client.uploadBlueprintAssistantSkill(
null,
{
file_name: 'string',
content_base64: 'string'
},
)
Response
{
"name": "string",
"description": "string",
"enabled": true,
"files": ["string"],
"size": 0,
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": "string",
"updated_by_name": "string",
"ignored": ["string"]
}

getBlueprintAssistantSkillโ€‹

A skill of the organization with the text of its files.

GET /v2/blueprint-manifest/assistant/skills/{skill_name}

const { data } = await client.getBlueprintAssistantSkill({
skill_name: 'example',
})
Response
{
"name": "string",
"description": "string",
"enabled": true,
"files": ["string"],
"size": 0,
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": "string",
"updated_by_name": "string",
"contents": {}
}

updateBlueprintAssistantSkillโ€‹

Enables or disables a skill. Conversations keep the skills they started with.

PATCH /v2/blueprint-manifest/assistant/skills/{skill_name}

const { data } = await client.updateBlueprintAssistantSkill(
{
skill_name: 'example',
},
{
enabled: true
},
)
Response
{
"name": "string",
"description": "string",
"enabled": true,
"files": ["string"],
"size": 0,
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": "string",
"updated_by_name": "string"
}

deleteBlueprintAssistantSkillโ€‹

Deletes a skill. Running conversations that offered it answer that it was removed.

DELETE /v2/blueprint-manifest/assistant/skills/{skill_name}

const { data } = await client.deleteBlueprintAssistantSkill({
skill_name: 'example',
})

preInstallBlueprintV3โ€‹

Validates a signed V3 package and returns the destination-specific resource plan used by the install UI.

POST /v3/blueprint-manifest/blueprints:pre-install

const { data } = await client.preInstallBlueprintV3(
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",
"sync_engine": "terraform",
"blueprint_file_s3_key": "string",
"is_verified": true,
"docs_url": "string",
"recommended_apps": ["string"],
"required_features": {
"enabled": ["string"],
"disabled": ["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"],
"impact_on_install_changes": [
{
"path": "string",
"destination": {},
"source": {},
"added": true
}
],
"impact_on_install_labels": {},
"impact_on_install_summary": ["string"]
}
]
}

getBlueprintMergePlanโ€‹

Summary of an update merge plan, with counts, warnings and the revision to send back.

GET /v3/blueprint-manifest/merge-plans/{merge_plan_id}

const { data } = await client.getBlueprintMergePlan({
merge_plan_id: 'example',
})
Response
{
"merge_plan_id": "string",
"plan_revision": 0,
"expected_plan_revision": 0,
"warnings": [
{
"code": "string",
"resource_key": "string",
"target": "string",
"message": "string"
}
],
"blocked_reasons": ["string"],
"apply_counts": {
"updated": 0,
"kept": 0,
"removed": 0,
"restored": 0
},
"apply_counts_unknown": true,
"state": "review_required",
"job_id": "string",
"destination_blueprint_id": "string",
"source": {
"blueprint_id": "string",
"version": "string"
},
"resource_counts": {
"automatic": 0,
"decisions_required": 0,
"ready": 0,
"blocked": 0
},
"group_counts": {
"conflict": 0,
"confirm": 0,
"mandatory": 0,
"unresolved": 0
},
"warning_count": 0,
"auto_counts": {
"kept_customizations": 0,
"applied_updates": 0
},
"other_resource_count": 0,
"created_at": "1970-01-01T00:00:00.000Z",
"expires_at": "1970-01-01T00:00:00.000Z",
"revert_until": "1970-01-01T00:00:00.000Z",
"supersedes": "string",
"superseded_by": "string",
"successor_failed": true
}

listBlueprintMergePlanResourcesโ€‹

Journeys of the plan, one page at a time. A cursor is valid only for the revision it was issued for.

GET /v3/blueprint-manifest/merge-plans/{merge_plan_id}/resources

const { data } = await client.listBlueprintMergePlanResources({
merge_plan_id: 'example',
cursor: 'example',
limit: 1,
})
Response
{
"merge_plan_id": "string",
"plan_revision": 0,
"resources": [
{
"resource_key": "string",
"label": "string",
"status": "automatic",
"eligibility": "merge",
"blocking_reasons": ["string"],
"auto_counts": {
"from_current": 0,
"from_incoming": 0
},
"unresolved": 0,
"warning_count": 0,
"outcome": "applied"
}
],
"next_cursor": "string"
}

getBlueprintMergePlanResourceโ€‹

One journey of the plan with its decision groups and warnings.

GET /v3/blueprint-manifest/merge-plans/{merge_plan_id}/resources/{resource_key}

const { data } = await client.getBlueprintMergePlanResource({
merge_plan_id: 'example',
resource_key: 'example',
})
Response
{
"merge_plan_id": "string",
"plan_revision": 0,
"resource": {
"resource_key": "string",
"resource_type": "journey",
"lineage_id": "string",
"target_id": "string",
"label": "string",
"model_version": "string",
"base_provenance": {
"rung": "apply_evidence",
"job_id": "string",
"manifest_version": "string",
"reason": "no_evidence"
},
"eligibility": "merge",
"fast_path": true,
"auto_counts": {
"from_current": 0,
"from_incoming": 0
},
"decision_groups": [
{}
],
"warnings": [
{}
],
"status": "automatic",
"blocking_reasons": ["string"],
"outcome": "applied"
}
}

updateBlueprintMergePlanResolutionsโ€‹

Saves choices for decision groups. Each submitted choice replaces the saved choice of the same group. Allowed while the plan waits for review.

PUT /v3/blueprint-manifest/merge-plans/{merge_plan_id}/resolutions

const { data } = await client.updateBlueprintMergePlanResolutions(
{
merge_plan_id: 'example',
},
{
expected_plan_revision: 0,
resolutions: [
{
group_id: 'string',
group_signature: 'string',
option_id: 'string'
}
]
},
)
Response
{
"merge_plan_id": "string",
"plan_revision": 0,
"expected_plan_revision": 0,
"warnings": [
{
"code": "string",
"resource_key": "string",
"target": "string",
"message": "string"
}
],
"blocked_reasons": ["string"],
"apply_counts": {
"updated": 0,
"kept": 0,
"removed": 0,
"restored": 0
},
"apply_counts_unknown": true,
"state": "review_required",
"job_id": "string",
"destination_blueprint_id": "string",
"source": {
"blueprint_id": "string",
"version": "string"
},
"resource_counts": {
"automatic": 0,
"decisions_required": 0,
"ready": 0,
"blocked": 0
},
"group_counts": {
"conflict": 0,
"confirm": 0,
"mandatory": 0,
"unresolved": 0
},
"warning_count": 0,
"auto_counts": {
"kept_customizations": 0,
"applied_updates": 0
},
"other_resource_count": 0,
"created_at": "1970-01-01T00:00:00.000Z",
"expires_at": "1970-01-01T00:00:00.000Z",
"revert_until": "1970-01-01T00:00:00.000Z",
"supersedes": "string",
"superseded_by": "string",
"successor_failed": true
}

discardBlueprintMergePlanโ€‹

Discards a plan waiting for review and ends its job. Nothing is written.

POST /v3/blueprint-manifest/merge-plans/{merge_plan_id}:discard

const { data } = await client.discardBlueprintMergePlan(
{
merge_plan_id: 'example',
},
{
expected_plan_revision: 0
},
)
Response
{
"merge_plan_id": "string",
"plan_revision": 0,
"expected_plan_revision": 0,
"warnings": [
{
"code": "string",
"resource_key": "string",
"target": "string",
"message": "string"
}
],
"blocked_reasons": ["string"],
"apply_counts": {
"updated": 0,
"kept": 0,
"removed": 0,
"restored": 0
},
"apply_counts_unknown": true,
"state": "review_required",
"job_id": "string",
"destination_blueprint_id": "string",
"source": {
"blueprint_id": "string",
"version": "string"
},
"resource_counts": {
"automatic": 0,
"decisions_required": 0,
"ready": 0,
"blocked": 0
},
"group_counts": {
"conflict": 0,
"confirm": 0,
"mandatory": 0,
"unresolved": 0
},
"warning_count": 0,
"auto_counts": {
"kept_customizations": 0,
"applied_updates": 0
},
"other_resource_count": 0,
"created_at": "1970-01-01T00:00:00.000Z",
"expires_at": "1970-01-01T00:00:00.000Z",
"revert_until": "1970-01-01T00:00:00.000Z",
"supersedes": "string",
"superseded_by": "string",
"successor_failed": true
}

replanBlueprintMergePlanโ€‹

Starts a new update job whose plan is prefilled with this plan's saved choices. A plan still waiting for review, or expired, becomes superseded.

POST /v3/blueprint-manifest/merge-plans/{merge_plan_id}:replan

const { data } = await client.replanBlueprintMergePlan(
{
merge_plan_id: 'example',
},
{
expected_plan_revision: 0
},
)

applyBlueprintMergePlanโ€‹

Approves the plan at expected_plan_revision with its current choices and resumes the parked update job with the caller's token. Only a ready plan whose job waits for this review can be applied. Re

POST /v3/blueprint-manifest/merge-plans/{merge_plan_id}:apply

const { data } = await client.applyBlueprintMergePlan(
{
merge_plan_id: 'example',
},
{
expected_plan_revision: 0,
idempotency_key: 'string'
},
)

previewBlueprintMergeRevertโ€‹

Lists what the update wrote, from its own journal, and what reverting each resource would do. Resources changed since the update need an explicit choice (requires_choice); not_restorable ones can

POST /v3/blueprint-manifest/merge-plans/{merge_plan_id}:preview-revert

const { data } = await client.previewBlueprintMergeRevert(
{
merge_plan_id: 'example',
},
{},
)
Response
{
"revert_preview_id": "string",
"preview_revision": 0,
"merge_plan_id": "string",
"entries": [
{
"resource_key": "string",
"lineage_id": "string",
"label": "string",
"resource_type": "string",
"category": "unchanged",
"default_action": "restore",
"requires_choice": true
}
]
}

applyBlueprintMergeRevertโ€‹

Reverts the update as the preview describes it, with an explicit action for every preview entry. Starts a restore job and moves the plan to reverting; the job ends it reverted, or `revert_part

POST /v3/blueprint-manifest/merge-plans/{merge_plan_id}:revert

const { data } = await client.applyBlueprintMergeRevert(
{
merge_plan_id: 'example',
},
{
revert_preview_id: 'string',
expected_preview_revision: 0,
idempotency_key: 'string',
selections: [
{
resource_key: 'string',
action: 'restore'
}
],
session_credentials: {
refresh_token: 'string',
client_id: 'string',
pipeline_id: 'string'
}
},
)

installBlueprintV3โ€‹

Install a blueprint into a single destination org using the V3 engine (direct API calls, no Terraform). Creates resources in topological order with global ID replacement and supports checkpoint-based

POST /v3/blueprint-manifest/blueprint:install

const { data } = await client.installBlueprintV3(
null,
{},
)

restoreBlueprintDeploymentV3โ€‹

Roll a deployment back to its pre-install state. Two phases:

POST /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}:restore

const { data } = await client.restoreBlueprintDeploymentV3({
blueprint_id: 'example',
job_id: 'example',
})

getRestorePreviewโ€‹

Computes what would happen if the user triggered a restore on this deployment, without performing any writes. The forecast uses the snapshot's captured resources (when present) plus the current lineag

GET /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}/restore-preview

const { data } = await client.getRestorePreview({
blueprint_id: 'example',
job_id: 'example',
})
Response
{
"snapshot_id": "string",
"resources": [
{
"lineage_id": "string",
"type": "string",
"name": "string",
"target_id": "string",
"action": "restore",
"reason": "modified",
"last_synced_at": "1970-01-01T00:00:00.000Z",
"current_updated_at": "1970-01-01T00:00:00.000Z",
"error_message": "string",
"is_hidden": true,
"co_owned_by": [
{
"blueprint_id": "string",
"title": "string"
}
],
"protected_by": [
{
"lineage_id": "string",
"type": "string",
"target_id": "string"
}
]
}
],
"has_effective_changes": true
}

triggerRestorePreviewโ€‹

Starts computing the same forecast as getRestorePreview in the background. Large deployments take longer than the API Gateway timeout to forecast inline, so clients should prefer this endpoint.

POST /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}:restore-preview

const { data } = await client.triggerRestorePreview({
blueprint_id: 'example',
job_id: 'example',
})

getRestorePreviewReportโ€‹

Returns a restore preview started by triggerRestorePreview. The outcome is present once status is completed. A preview whose worker stopped without reporting is returned as failed.

GET /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}/restore-preview/{preview_id}

const { data } = await client.getRestorePreviewReport({
blueprint_id: 'example',
job_id: 'example',
preview_id: 'example',
})
Response
{
"preview_id": "string",
"job_id": "string",
"status": "running",
"requested_at": "1970-01-01T00:00:00.000Z",
"completed_at": "1970-01-01T00:00:00.000Z",
"outcome": {
"snapshot_id": "string",
"resources": [
{
"lineage_id": "string",
"type": "string",
"name": "string",
"target_id": "string",
"action": "restore",
"reason": "modified",
"last_synced_at": "1970-01-01T00:00:00.000Z",
"current_updated_at": "1970-01-01T00:00:00.000Z",
"error_message": "string",
"is_hidden": true,
"co_owned_by": [
{
"blueprint_id": "string",
"title": "string"
}
],
"protected_by": [
{
"lineage_id": "string",
"type": "string",
"target_id": "string"
}
]
}
],
"has_effective_changes": true
},
"error": "string"
}

triggerDeploymentHealthCheckV3โ€‹

Starts a read-only health scan of the resources this deployment's blueprint instance tracks in the destination org (see docs/rfcs/RFC-org-health-check.md, Phase 0). Checks:

POST /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}:health-check

const { data } = await client.triggerDeploymentHealthCheckV3(
{
blueprint_id: 'example',
job_id: 'example',
},
{
source_org_id: 'string',
source_auth_token: 'string'
},
)

getDeploymentHealthReportV3โ€‹

Returns the most recent health report produced for this deployment by the :health-check endpoint. Idempotent and side-effect free.

GET /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}/health-report

const { data } = await client.getDeploymentHealthReportV3({
blueprint_id: 'example',
job_id: 'example',
})
Response
{
"status": "running",
"job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"blueprint_instance_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"destination_org_id": "string",
"generated_at": "1970-01-01T00:00:00.000Z",
"html_url": "string",
"summary": {
"resources_scanned": 0,
"unchecked": 0,
"errors": 0,
"warnings": 0,
"infos": 0
},
"findings": [
{
"check_id": "live_readability",
"code": "missing_in_destination",
"severity": "error",
"resource_type": "string",
"lineage_id": "string",
"target_id": "string",
"resource_name": "string",
"message": "string",
"verdict": "string",
"evidence": {
"path": "string",
"referenced_id": "string",
"referenced_type": "string",
"referenced_name": "string",
"referenced_lineage_id": "string",
"expected_target_id": "string",
"reference_kind": "string",
"operation": "string",
"rejection_reason": "string",
"error_message": "string",
"response_status": 0
}
}
],
"coverage": {
"checks": [
{
"check_id": "live_readability",
"status": "completed",
"scope": "tracked_resources",
"resources_considered": 0,
"details": ["string"]
}
],
"resource_types": [
{
"resource_type": "string",
"tracked": 0,
"readable_by_lineage": 0,
"missing_by_lineage": 0,
"read_errors": 0,
"unchecked": 0,
"specialized_checks": ["live_readability"],
"known_blind_spots": ["string"]
}
]
},
"error": "string"
}

getBlueprintLineageV3โ€‹

Returns the lineage registry entries for a blueprint's resources in the current org. Shows the mapping between source lineage IDs and target resource IDs.

GET /v3/blueprint-manifest/blueprints/{blueprint_id}/lineage

const { data } = await client.getBlueprintLineageV3({
blueprint_id: 'example',
})
Response
{
"total": 0,
"entries": [
{
"lineage_id": "string",
"target_id": "string",
"resource_type": "designbuilder",
"blueprint_instance_ids": ["string"],
"fidelity": "full",
"last_synced_at": "1970-01-01T00:00:00.000Z"
}
]
}

createBulkInstallV3โ€‹

Install one source blueprint into many destination organizations in a single request. The server schedules child V3 installs with auto_apply=true and caps active installs at max_concurrency. Not a

POST /v3/blueprint-manifest/bulk-installs

const { data } = await client.createBulkInstallV3(
null,
{
source_org_id: 'string',
source_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
max_concurrency: 2,
slug: 'string',
options: {
resources_to_ignore: ['string'],
sync_notes: false,
include_field_diffs: false
},
targets: [
{
destination_org_id: 'string',
destination_blueprint_id: 'c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341',
destination_auth_token: 'string'
}
]
},
)

getBulkInstallV3โ€‹

Returns the bulk install parent with aggregate status and counts. Scoped by the caller org as source_org_id. Target rows are not included โ€” use the targets endpoint to page through them.

GET /v3/blueprint-manifest/bulk-installs/{bulk_job_id}

const { data } = await client.getBulkInstallV3({
bulk_job_id: 'example',
})
Response
{
"bulk_job_id": "string",
"source_org_id": "string",
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "QUEUED",
"target_count": 0,
"max_concurrency": 0,
"counts": {
"queued": 0,
"in_progress": 0,
"success": 0,
"partial_success": 0,
"failed": 0,
"review_required": 0
},
"slug": "string",
"options": {
"resources_to_ignore": ["string"],
"sync_notes": false,
"include_field_diffs": false
},
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z"
}

listBulkInstallTargetsV3โ€‹

Pages through the bulk install's target rows. Each row hydrates its latest child install job (job_ids.at(-1)) with the standard V3 job shape (events[], resource_progress[]) so callers can inspec

GET /v3/blueprint-manifest/bulk-installs/{bulk_job_id}/targets

const { data } = await client.listBulkInstallTargetsV3({
bulk_job_id: 'example',
limit: 1,
cursor: 'example',
})
Response
{
"results": [
{
"bulk_job_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "QUEUED",
"job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"merge_plan_id": "string",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"job": {}
}
],
"next_cursor": "string"
}

retryBulkInstallTargetV3โ€‹

Retries a single failed target. Allowed only for FAILED and PARTIAL_SUCCESS targets. Starts a new child install with auto_apply=true, appends its job id to job_ids, and reuses the same target

POST /v3/blueprint-manifest/bulk-installs/{bulk_job_id}/targets/{destination_org_id}:retry

const { data } = await client.retryBulkInstallTargetV3(
{
bulk_job_id: 'example',
destination_org_id: 'example',
},
{
destination_auth_token: 'string'
},
)
Response
{
"bulk_job_id": "string",
"destination_org_id": "string",
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"status": "QUEUED",
"job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
"merge_plan_id": "string",
"created_at": "1970-01-01T00:00:00.000Z",
"updated_at": "1970-01-01T00:00:00.000Z",
"job": {
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
"events": [
{}
],
"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_drift": {
"removed": [],
"missing": [],
"exclude_addresses": ["string"]
},
"job_type": "install",
"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",
"sync_engine": "terraform",
"resource_progress": [
{}
],
"options": {
"resources_to_ignore": ["string"],
"sync_notes": false,
"include_field_diffs": false
},
"merge_plan_id": "string",
"wait_kind": "plan",
"prefill_from_merge_plan_id": "string",
"assigned_merge_plan_id": "string",
"status": "IN_PROGRESS"
}
}

listUniquenessCriteriaโ€‹

List all custom uniqueness criteria configured for the caller's organization. These overrides are applied during install (V2 and V3) when matching incoming resources against existing ones in the desti

GET /v1/blueprint-manifest/uniqueness-criteria

const { data } = await client.listUniquenessCriteria()
Response
{
"results": [
{
"org_id": "string",
"resource_type": "emailtemplate",
"fields": ["string"],
"propagated_to": ["string"],
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": "string"
}
],
"defaults": {},
"readonly_types": ["string"]
}

getUniquenessCriteriaโ€‹

Get the configured uniqueness criteria for a specific resource type, if any.

GET /v1/blueprint-manifest/uniqueness-criteria/{resource_type}

const { data } = await client.getUniquenessCriteria({
resource_type: 'example',
})
Response
{
"org_id": "string",
"resource_type": "emailtemplate",
"fields": ["string"],
"propagated_to": ["string"],
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": "string"
}

putUniquenessCriteriaโ€‹

Set or replace the uniqueness criteria for a resource type. The provided fields must be valid attributes on the resource's schema (the UI typically loads the schema to populate options). All listed fi

PUT /v1/blueprint-manifest/uniqueness-criteria/{resource_type}

const { data } = await client.putUniquenessCriteria(
{
resource_type: 'example',
},
{
fields: ['string'],
propagated_to: ['string']
},
)
Response
{
"org_id": "string",
"resource_type": "emailtemplate",
"fields": ["string"],
"propagated_to": ["string"],
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": "string"
}

deleteUniquenessCriteriaโ€‹

Remove the custom criteria for a resource type, reverting to the default fields.

DELETE /v1/blueprint-manifest/uniqueness-criteria/{resource_type}

const { data } = await client.deleteUniquenessCriteria({
resource_type: 'example',
})

getSourceTestOperationโ€‹

Read a source-only generation or manual run. Requires the blueprint-test-cases organization feature flag and the original caller's organization.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}/source-operations/{run_id}

const { data } = await client.getSourceTestOperation({
blueprint_id: 'example',
test_case_id: 'example',
run_id: 'example',
})
Response
{
"operation_kind": "generate",
"run": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_id": "string",
"blueprint_id": "string",
"incarnation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"test_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"test_revision": 1,
"expectation": "string",
"title": "string",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"created_at": "1970-01-01T00:00:00.000Z",
"expires_at": "1970-01-01T00:00:00.000Z",
"status": "queued",
"confirmation_hash": "string",
"membership_fingerprint": "string",
"result": {
"verdict": "PASSED",
"checks": [],
"coverage": {},
"fingerprints": {},
"evaluator_version": "1",
"checked_at": "1970-01-01T00:00:00.000Z",
"evidence": [],
"evidence_omitted_count": 0,
"dependency_validation": {},
"interpretation_proposal": {},
"requires_confirmation": true
},
"error": {
"code": "expired"
},
"superseded": true,
"stale": true
}
}

createSourceConfirmedRunโ€‹

Evaluate previously confirmed checks against the source Blueprint only. Requires the blueprint-test-cases organization feature flag and the original caller's organization.

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}/source-confirmed-runs

const { data } = await client.createSourceConfirmedRun(
{
blueprint_id: 'example',
test_case_id: 'example',
},
{
expected_revision: 1
},
)

createBlueprintTestRunโ€‹

Run read-only configuration acceptance checks or review their interpretation. Requires the blueprint-test-cases organization feature flag and the original caller's organization.

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}/runs

const { data } = await client.createBlueprintTestRun(
{
blueprint_id: 'example',
test_case_id: 'example',
},
{
expected_revision: 1
},
)

listBlueprintTestRunsโ€‹

Run read-only configuration acceptance checks or review their interpretation. Requires the blueprint-test-cases organization feature flag and the original caller's organization.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}/runs

const { data } = await client.listBlueprintTestRuns({
blueprint_id: 'example',
test_case_id: 'example',
limit: 1,
cursor: 'example',
})
Response
{
"results": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_id": "string",
"blueprint_id": "string",
"incarnation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"test_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"test_revision": 1,
"expectation": "string",
"title": "string",
"created_by": {},
"created_at": "1970-01-01T00:00:00.000Z",
"expires_at": "1970-01-01T00:00:00.000Z",
"status": "queued",
"confirmation_hash": "string",
"membership_fingerprint": "string",
"result": {},
"error": {},
"superseded": true,
"stale": true
}
],
"next_cursor": "string"
}

getBlueprintTestRunโ€‹

Run read-only configuration acceptance checks or review their interpretation. Requires the blueprint-test-cases organization feature flag and the original caller's organization.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-cases/{test_case_id}/runs/{run_id}

const { data } = await client.getBlueprintTestRun({
blueprint_id: 'example',
test_case_id: 'example',
run_id: 'example',
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"org_id": "string",
"blueprint_id": "string",
"incarnation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"test_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"test_revision": 1,
"expectation": "string",
"title": "string",
"created_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"created_at": "1970-01-01T00:00:00.000Z",
"expires_at": "1970-01-01T00:00:00.000Z",
"status": "queued",
"confirmation_hash": "string",
"membership_fingerprint": "string",
"result": {
"verdict": "PASSED",
"checks": [
{}
],
"coverage": {
"complete": true,
"boundaries": [],
"supported_clauses": 0,
"total_clauses": 1
},
"fingerprints": {},
"evaluator_version": "1",
"checked_at": "1970-01-01T00:00:00.000Z",
"evidence": [
{}
],
"evidence_omitted_count": 0,
"dependency_validation": {
"scope": "related_resources",
"verdict": "PASSED",
"checks": [],
"boundaries": [],
"omitted_count": 0
},
"interpretation_proposal": {
"schema_version": "1",
"interpretation": {},
"catalog": [],
"proposal_hash": "string",
"expectation_sha256": "string",
"interpreter_version": "string",
"interpreter_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"requires_confirmation": true
},
"error": {
"code": "expired"
},
"superseded": true,
"stale": true
}

getBlueprintTestSuiteโ€‹

The v2 test cases of the blueprint with their current latest suite result (stale results never count as passed) and a summary over all cases. Requires the blueprint-test-cases organization feature fla

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite

const { data } = await client.getBlueprintTestSuite({
blueprint_id: 'example',
limit: 1,
cursor: 'example',
})
Response
{
"cases": [
{
"case": {},
"latest": {}
}
],
"summary": {
"passed": 0,
"failed": 0,
"cannot_verify": 0,
"never_run": 0,
"stale": 0,
"needs_reinterpretation": 0
},
"active_run": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "queued",
"created_at": "1970-01-01T00:00:00.000Z",
"finished_at": "1970-01-01T00:00:00.000Z",
"digest": "string",
"unreadable": [
{}
],
"counts": {
"passed": 0,
"failed": 0,
"cannot_verify": 0,
"superseded": 0
},
"skipped_v1": 0,
"membership_fingerprint": "string",
"error": "string"
},
"next_cursor": "string"
}

createBlueprintTestSuiteRunโ€‹

Run every v2 test case of the blueprint against one configuration snapshot. Requires the blueprint-test-cases organization feature flag.

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/runs

const { data } = await client.createBlueprintTestSuiteRun(
{
blueprint_id: 'example',
},
{},
)

getBlueprintTestSuiteRunโ€‹

Read a suite run. Requires the blueprint-test-cases organization feature flag.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/runs/{run_id}

const { data } = await client.getBlueprintTestSuiteRun({
blueprint_id: 'example',
run_id: 'example',
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "queued",
"created_at": "1970-01-01T00:00:00.000Z",
"finished_at": "1970-01-01T00:00:00.000Z",
"digest": "string",
"unreadable": [
{
"type": "string",
"id": "string",
"reason": "string"
}
],
"counts": {
"passed": 0,
"failed": 0,
"cannot_verify": 0,
"superseded": 0
},
"skipped_v1": 0,
"membership_fingerprint": "string",
"error": "string"
}

createBlueprintGraphSuggestionsโ€‹

Generate engine-verified test suggestions from the blueprint configuration graph. Requires the blueprint-test-cases organization feature flag.

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/suggestions

const { data } = await client.createBlueprintGraphSuggestions(
{
blueprint_id: 'example',
},
{},
)

getBlueprintGraphSuggestionsโ€‹

Read a graph suggestion generation and a page of its suggestions. Requires the blueprint-test-cases organization feature flag.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/suggestions/{generation_id}

const { data } = await client.getBlueprintGraphSuggestions({
blueprint_id: 'example',
generation_id: 'example',
shape: 'example',
limit: 1,
cursor: 'example',
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"created_at": "1970-01-01T00:00:00.000Z",
"error": {
"code": "string",
"retriable": true
},
"prompt_version": "string",
"model": "string",
"digest": "string",
"total": 0,
"counts_by_shape": {
"journey_starts_workflow": 0,
"event_sends_email": 0,
"step_logic": 0,
"answer_options": 0,
"process_order": 0,
"catalog_structure": 0
},
"excluded": [
{
"reason": "invalid",
"count": 0
}
],
"unreadable": [
{
"type": "string",
"id": "string",
"reason": "string"
}
],
"incomplete_subjects": [
{
"node_id": "string",
"resource_id": "string",
"resource_type": "string",
"reason": "step_cap"
}
],
"items": [
{
"id": "string",
"shape": "journey_starts_workflow",
"subject": {
"node_id": "string",
"resource_id": "string",
"resource_type": "string",
"label": "string"
},
"clauses": [
{}
],
"sentences": [
{
"key": "string",
"params": {}
}
]
}
],
"next_cursor": "string"
}

acceptBlueprintGraphSuggestionsโ€‹

Accept suggestions as v2 test cases. Idempotent per suggestion id. Requires the blueprint-test-cases organization feature flag.

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/suggestions/{generation_id}/accept

const { data } = await client.acceptBlueprintGraphSuggestions(
{
blueprint_id: 'example',
generation_id: 'example',
},
{
suggestion_ids: ['string']
},
)
Response
{
"results": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"org_id": "string",
"schema_version": 1,
"revision": 1,
"title": "string",
"expectation": "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"
},
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"deleted_at": "1970-01-01T00:00:00.000Z",
"confirmation": {
"schema_version": "1",
"interpretation": {
"schema_version": "1",
"clauses": [
{
"source_text": "string",
"status": "supported",
"assertions": [
{
"operator": "resource_included",
"target_key": "string"
}
],
"reason": "string"
}
]
},
"catalog": [
{
"key": "string",
"type": "string",
"id": "string",
"label": "string",
"membership_state": "included",
"capabilities": ["resource_included"],
"tasks": [
{
"key": "string",
"label": "string",
"capabilities": ["workflow_task_required"]
}
]
}
],
"proposal_hash": "string",
"expectation_sha256": "string",
"interpreter_version": "string",
"confirmed_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"confirmed_at": "1970-01-01T00:00:00.000Z",
"interpreter_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"clauses": [
{}
],
"clauses_hash": "string",
"title_key": {},
"origin": {},
"needs_reinterpretation": {
"reason": "string"
}
}
],
"accepted_ids": ["string"]
}

migrateBlueprintV1TestCasesโ€‹

Migrate v1 test cases to v2 clauses; cases that cannot be mapped are flagged needs_reinterpretation. Requires the blueprint-test-cases organization feature flag.

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite:migrate-v1

const { data } = await client.migrateBlueprintV1TestCases(
{
blueprint_id: 'example',
},
{},
)
Response
{
"migrated": 0,
"needs_reinterpretation": 0,
"cases": [
{
"case_id": "string",
"result": "migrated",
"clauses": [
{}
]
}
]
}

createBlueprintTestInterpretationโ€‹

Start interpreting an author's plain-language test against the blueprint configuration. With test_case_id the result rewrites that case. One active interpretation per author and blueprint. Requires th

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/interpretations

const { data } = await client.createBlueprintTestInterpretation(
{
blueprint_id: 'example',
},
{
text: 'string',
test_case_id: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
},
)

getBlueprintTestInterpretationโ€‹

Read the caller's own text interpretation. Requires the blueprint-test-cases organization feature flag.

GET /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/interpretations/{interpretation_id}

const { data } = await client.getBlueprintTestInterpretation({
blueprint_id: 'example',
interpretation_id: 'example',
})
Response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"created_at": "1970-01-01T00:00:00.000Z",
"text": "string",
"test_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parts": [
{
"index": 0,
"span": [0, 0],
"state": "supported",
"check": {
"id": "string",
"hash": "string",
"clause": {},
"sentence": {
"key": "string",
"params": {}
},
"result": {
"clause_id": "string",
"verdict": "PASSED",
"reason": "string",
"sentence": {
"key": "string",
"params": {}
},
"evidence": [
{
"node_id": "string",
"resource_id": "string",
"resource_type": "string",
"label": "string",
"path": "string",
"expected": {},
"actual": {}
}
],
"evidence_truncated": true,
"candidates": ["string"]
}
}
}
],
"dropped": 0,
"unchanged": true,
"unreadable": [
{
"type": "string",
"id": "string",
"reason": "string"
}
],
"prompt_version": "string",
"model": "string",
"error": {
"code": "interpretation_too_complex",
"retriable": true
},
"accepted_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

confirmBlueprintTestInterpretationV2โ€‹

Save the author's confirmed selection of a completed interpretation as a v2 test case (201), or as a new revision of the case it rewrites (200, needs expected_revision). Ambiguous parts need a chosen

POST /v2/blueprint-manifest/blueprints/{blueprint_id}/test-suite/interpretations/{interpretation_id}/confirm

const { data } = await client.confirmBlueprintTestInterpretationV2(
{
blueprint_id: 'example',
interpretation_id: 'example',
},
{
choices: [
{
part_index: 0,
candidate_id: 'string'
}
],
omit_parts: [0],
confirmed: true,
expected_revision: 1
},
)
Response
{
"test_case": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"blueprint_id": "string",
"org_id": "string",
"schema_version": 1,
"revision": 1,
"title": "string",
"expectation": "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"
},
"updated_at": "1970-01-01T00:00:00.000Z",
"updated_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"deleted_at": "1970-01-01T00:00:00.000Z",
"confirmation": {
"schema_version": "1",
"interpretation": {
"schema_version": "1",
"clauses": [
{
"source_text": "string",
"status": "supported",
"assertions": [
{
"operator": "resource_included",
"target_key": "string"
}
],
"reason": "string"
}
]
},
"catalog": [
{
"key": "string",
"type": "string",
"id": "string",
"label": "string",
"membership_state": "included",
"capabilities": ["resource_included"],
"tasks": [
{
"key": "string",
"label": "string",
"capabilities": ["workflow_task_required"]
}
]
}
],
"proposal_hash": "string",
"expectation_sha256": "string",
"interpreter_version": "string",
"confirmed_by": {
"name": "manifest@epilot.cloud",
"org_id": "911690",
"user_id": "11001045",
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
},
"confirmed_at": "1970-01-01T00:00:00.000Z",
"interpreter_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"clauses": [
{}
],
"clauses_hash": "string",
"title_key": {},
"origin": {},
"needs_reinterpretation": {
"reason": "string"
}
},
"confirmation_kept": true
}

Schemasโ€‹

BlueprintTestSuiteErrorโ€‹

type BlueprintTestSuiteError = {
status: number
code: "invalid_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "credential_invalid" | "permissions_unavailable" | "permission_denied" | "feature_unavailable" | "session_expiring" | "storage_conflict" | "suite_unavailable" | "v2_case" | "active_generation" | "active_suite_run" | "org_run_limit" | "suggestions_stale" | "unknown_suggestion" | "suggestion_acceptance_changed" | "suggestion_input_too_large" | "invalid_clauses" | "not_implemented" | "interpretation_input_too_large" | "interpretation_incomplete" | "interpretation_not_ready" | "interpretation_used" | "confirmation_required"
retriable: boolean
active_run_id?: string // uuid
generation_id?: string // uuid
retry_after_seconds?: number
accepted_ids?: string[]
count?: number
}

SentenceParamValueโ€‹

A sentence parameter. Strings, lists and objects of parameters; never prose.

type SentenceParamValue = string | { ... }[] | Record<string, { ... }>

Sentenceโ€‹

A translation key and its parameters. The UI renders the text; the server never returns sentences.

type Sentence = {
key: string
params: Record<string, string | { ... }[] | Record<string, { ... }>>
}

ClauseEvidenceViewโ€‹

type ClauseEvidenceView = {
node_id: string
resource_id: string
resource_type: string
label: string
path?: string
expected?: unknown
actual?: unknown
}

ClauseResultViewโ€‹

type ClauseResultView = {
clause_id: string
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
reason?: string
sentence: {
key: string
params: Record<string, string | { ... }[] | Record<string, { ... }>>
}
evidence: Array<{
node_id: string
resource_id: string
resource_type: string
label: string
path?: string
expected?: unknown
actual?: unknown
}>
evidence_truncated?: boolean
candidates?: string[]
}

BlueprintTestUnreadableResourceโ€‹

type BlueprintTestUnreadableResource = {
type: string
id: string
reason: string
}

SuiteRunโ€‹

type SuiteRun = {
id: string // uuid
status: "queued" | "running" | "completed" | "failed"
created_at: string // date-time
finished_at?: string // date-time
digest?: string
unreadable?: Array<{
type: string
id: string
reason: string
}>
counts?: {
passed: number
failed: number
cannot_verify: number
superseded: number
}
skipped_v1?: number
membership_fingerprint?: string
error?: string
}

CaseResultRowโ€‹

type CaseResultRow = {
case_id: string // uuid
case_revision: number
clauses_hash: string
membership_fingerprint: string
status: "PASSED" | "FAILED" | "CANNOT_VERIFY" | "stale"
reason?: "no_clauses"
results: Array<{
clause_id: string
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
reason?: string
sentence: {
key: { ... }
params: { ... }
}
evidence: Array<{
node_id: { ... }
resource_id: { ... }
resource_type: { ... }
label: { ... }
path?: { ... }
expected?: { ... }
actual?: { ... }
}>
evidence_truncated?: boolean
candidates?: string[]
}>
run_id?: string // uuid
finished_at?: string // date-time
}

BlueprintTestSuiteSummaryโ€‹

Over all cases of the blueprint, not only the page. v1 cases count as needs_reinterpretation when migration flagged them, otherwise as never_run.

type BlueprintTestSuiteSummary = {
passed: number
failed: number
cannot_verify: number
never_run: number
stale: number
needs_reinterpretation: number
}

BlueprintTestSuiteโ€‹

type BlueprintTestSuite = {
cases: Array<{
case: {
id: { ... }
blueprint_id: { ... }
org_id: { ... }
schema_version: { ... }
revision: { ... }
title?: { ... }
expectation?: { ... }
created_at: { ... }
created_by: { ... }
updated_at: { ... }
updated_by: { ... }
deleted_at?: { ... }
confirmation?: { ... }
clauses?: { ... }
clauses_hash?: { ... }
title_key?: { ... }
origin?: { ... }
needs_reinterpretation?: { ... }
}
latest?: {
case_id: { ... }
case_revision: { ... }
clauses_hash: { ... }
membership_fingerprint: { ... }
status: { ... }
reason?: { ... }
results: { ... }
run_id?: { ... }
finished_at?: { ... }
}
}>
summary: {
passed: number
failed: number
cannot_verify: number
never_run: number
stale: number
needs_reinterpretation: number
}
active_run?: {
id: string // uuid
status: "queued" | "running" | "completed" | "failed"
created_at: string // date-time
finished_at?: string // date-time
digest?: string
unreadable?: Array<{
type: { ... }
id: { ... }
reason: { ... }
}>
counts?: {
passed: { ... }
failed: { ... }
cannot_verify: { ... }
superseded: { ... }
}
skipped_v1?: number
membership_fingerprint?: string
error?: string
}
next_cursor?: string
}

BlueprintTestCaseShapeโ€‹

type BlueprintTestCaseShape = "journey_starts_workflow" | "event_sends_email" | "step_logic" | "answer_options" | "process_order" | "catalog_structure"

Suggestionโ€‹

type Suggestion = {
id: string
shape: "journey_starts_workflow" | "event_sends_email" | "step_logic" | "answer_options" | "process_order" | "catalog_structure"
subject: {
node_id: string
resource_id: string
resource_type: string
label: string
}
clauses: Record<string, unknown>[]
sentences: Array<{
key: string
params: Record<string, string | { ... }[] | Record<string, { ... }>>
}>
}

BlueprintGraphSuggestionsStartedโ€‹

type BlueprintGraphSuggestionsStarted = {
generation_id: string // uuid
status: "pending"
}

BlueprintTestInterpretationInputโ€‹

type BlueprintTestInterpretationInput = {
text: string
test_case_id?: string // uuid
}

BlueprintTestInterpretationStartedโ€‹

type BlueprintTestInterpretationStarted = {
interpretation_id: string // uuid
status: "pending"
}

BlueprintInterpretedCheckโ€‹

An engine-verified check. Code-assigned id (p<i> or p<i>c<n>); the sentence is a key, never model text.

type BlueprintInterpretedCheck = {
id: string
hash: string
clause: Record<string, unknown>
sentence: {
key: string
params: Record<string, string | { ... }[] | Record<string, { ... }>>
}
result: {
clause_id: string
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
reason?: string
sentence: {
key: { ... }
params: { ... }
}
evidence: Array<{
node_id: { ... }
resource_id: { ... }
resource_type: { ... }
label: { ... }
path?: { ... }
expected?: { ... }
actual?: { ... }
}>
evidence_truncated?: boolean
candidates?: string[]
}
}

BlueprintInterpretedPartโ€‹

One part of the author's text in one of three states. span is an integer offset pair into the author's own text.

type BlueprintInterpretedPart = {
index: number
span?: number[]
state: "supported"
check: {
id: string
hash: string
clause: Record<string, unknown>
sentence: {
key: { ... }
params: { ... }
}
result: {
clause_id: { ... }
verdict: { ... }
reason?: { ... }
sentence: { ... }
evidence: { ... }
evidence_truncated?: { ... }
candidates?: { ... }
}
}
} | {
index: number
span?: number[]
state: "ambiguous"
candidates: Array<{
id: string
hash: string
clause: Record<string, unknown>
sentence: {
key: { ... }
params: { ... }
}
result: {
clause_id: { ... }
verdict: { ... }
reason?: { ... }
sentence: { ... }
evidence: { ... }
evidence_truncated?: { ... }
candidates?: { ... }
}
}>
} | {
index: number
span?: number[]
state: "unsupported"
reason: "runtime_behaviour" | "document_content" | "external_system" | "legal_judgement" | "generic_integrity" | "no_matching_resource" | "no_matching_field" | "no_matching_value" | "not_expressible" | "cannot_bind" | "too_vague"
hint: {
code: "name_the_resource" | "name_the_field" | "name_the_value" | "split_statement" | "describe_configuration" | "use_health_check" | "rephrase_as_check"
params: {
type?: { ... }
}
}
}

BlueprintInterpretationSpanโ€‹

[start, end) character offsets into the author's text.

type BlueprintInterpretationSpan = number[]

BlueprintTestInterpretationResultโ€‹

type BlueprintTestInterpretationResult = {
id: string // uuid
status: "pending" | "running" | "completed" | "failed"
created_at: string // date-time
text: string
test_case_id?: string // uuid
parts: Array<{
index: number
span?: number[]
state: "supported"
check: {
id: { ... }
hash: { ... }
clause: { ... }
sentence: { ... }
result: { ... }
}
} | {
index: number
span?: number[]
state: "ambiguous"
candidates: Array<{
id: { ... }
hash: { ... }
clause: { ... }
sentence: { ... }
result: { ... }
}>
} | {
index: number
span?: number[]
state: "unsupported"
reason: "runtime_behaviour" | "document_content" | "external_system" | "legal_judgement" | "generic_integrity" | "no_matching_resource" | "no_matching_field" | "no_matching_value" | "not_expressible" | "cannot_bind" | "too_vague"
hint: {
code: { ... }
params: { ... }
}
}>
dropped: number
unchanged?: boolean
unreadable: Array<{
type: string
id: string
reason: string
}>
prompt_version?: string
model?: string
error?: {
code: "interpretation_too_complex" | "model_unavailable" | "timeout" | "expired" | "worker_failed" | "not_authorized" | "invoke_failed"
retriable: boolean
}
accepted_case_id?: string // uuid
}

BlueprintTestInterpretationConfirmInputโ€‹

type BlueprintTestInterpretationConfirmInput = {
choices: Array<{
part_index: number
candidate_id: string
}>
omit_parts: number[]
confirmed: boolean
expected_revision?: number
}

BlueprintTestInterpretationConfirmationโ€‹

type BlueprintTestInterpretationConfirmation = {
test_case: {
id: string // uuid
blueprint_id: string
org_id: string
schema_version: 1 | 2
revision: number
title?: string
expectation?: string
created_at: string // date-time
created_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
updated_at: string // date-time
updated_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
deleted_at?: string // date-time
confirmation?: {
schema_version: { ... }
interpretation: { ... }
catalog: { ... }
proposal_hash: { ... }
expectation_sha256: { ... }
interpreter_version: { ... }
confirmed_by: { ... }
confirmed_at: { ... }
interpreter_execution_id?: { ... }
}
clauses?: Record<string, unknown>[]
clauses_hash?: string
title_key?: Record<string, unknown>
origin?: Record<string, unknown>
needs_reinterpretation?: {
reason: { ... }
}
}
confirmation_kept: boolean
}

BlueprintTestCaseOriginโ€‹

Where a v2 case came from (BlueprintTestCase.origin).

type BlueprintTestCaseOrigin = {
kind: "suggestion"
source: "ai"
shape: "journey_starts_workflow" | "event_sends_email" | "step_logic" | "answer_options" | "process_order" | "catalog_structure"
suggestion_id: string
generation_id: string
prompt_version: string
model: string
} | {
kind: "migrated_v1"
from_revision: number
} | {
kind: "interpretation"
source: "ai"
interpretation_id: string // uuid
prompt_version: string
model: string
confirmed_clauses_hash: string
confirmed_at: string // date-time
confirmed_by: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
}

BlueprintGraphSuggestionPageโ€‹

type BlueprintGraphSuggestionPage = {
id: string // uuid
status: "pending" | "running" | "completed" | "failed"
created_at: string // date-time
error?: {
code: string
retriable: boolean
}
prompt_version?: string
model?: string
digest?: string
total: number
counts_by_shape: {
journey_starts_workflow?: number
event_sends_email?: number
step_logic?: number
answer_options?: number
process_order?: number
catalog_structure?: number
}
excluded: Array<{
reason: "invalid" | "unknown_subject" | "shape_unknown" | "not_passing" | "cannot_verify" | "trivial" | "duplicate"
count: number
}>
unreadable: Array<{
type: string
id: string
reason: string
}>
incomplete_subjects: Array<{
node_id: string
resource_id: string
resource_type: string
reason: "step_cap" | "input_cap" | "deadline" | "model_error"
}>
items: Array<{
id: string
shape: "journey_starts_workflow" | "event_sends_email" | "step_logic" | "answer_options" | "process_order" | "catalog_structure"
subject: {
node_id: { ... }
resource_id: { ... }
resource_type: { ... }
label: { ... }
}
clauses: Record<string, unknown>[]
sentences: Array<{
key: { ... }
params: { ... }
}>
}>
next_cursor?: string
}

BlueprintGraphSuggestionAcceptInputโ€‹

type BlueprintGraphSuggestionAcceptInput = {
suggestion_ids: string[]
}

BlueprintGraphSuggestionAcceptanceโ€‹

type BlueprintGraphSuggestionAcceptance = {
results: Array<{
id: string // uuid
blueprint_id: string
org_id: string
schema_version: 1 | 2
revision: number
title?: string
expectation?: string
created_at: string // date-time
created_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
updated_at: string // date-time
updated_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
deleted_at?: string // date-time
confirmation?: {
schema_version: { ... }
interpretation: { ... }
catalog: { ... }
proposal_hash: { ... }
expectation_sha256: { ... }
interpreter_version: { ... }
confirmed_by: { ... }
confirmed_at: { ... }
interpreter_execution_id?: { ... }
}
clauses?: Record<string, unknown>[]
clauses_hash?: string
title_key?: Record<string, unknown>
origin?: Record<string, unknown>
needs_reinterpretation?: {
reason: { ... }
}
}>
accepted_ids: string[]
}

BlueprintV1TestCaseMigrationโ€‹

type BlueprintV1TestCaseMigration = {
migrated: number
needs_reinterpretation: number
cases: Array<{
case_id: string
result: "migrated"
clauses: Record<string, unknown>[]
} | {
case_id: string
result: "needs_reinterpretation"
reason: string
}>
}

BlueprintTestCaseInputโ€‹

type BlueprintTestCaseInput = {
title: string
expectation: string
}

BlueprintTestCaseUpdateโ€‹

type BlueprintTestCaseUpdate = {
title: string
expectation: string
expected_revision: number
}

BlueprintTestCaseโ€‹

type BlueprintTestCase = {
id: string // uuid
blueprint_id: string
org_id: string
schema_version: 1 | 2
revision: number
title?: string
expectation?: 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
}
deleted_at?: string // date-time
confirmation?: {
schema_version: "1"
interpretation: {
schema_version: { ... }
clauses: { ... }
}
catalog: Array<{
key: { ... }
type: { ... }
id: { ... }
label: { ... }
membership_state: { ... }
capabilities: { ... }
tasks?: { ... }
}>
proposal_hash: string
expectation_sha256: string
interpreter_version: string
confirmed_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
confirmed_at: string // date-time
interpreter_execution_id?: string // uuid
}
clauses?: Record<string, unknown>[]
clauses_hash?: string
title_key?: Record<string, unknown>
origin?: Record<string, unknown>
needs_reinterpretation?: {
reason: string
}
}

BlueprintTestPredicateโ€‹

type BlueprintTestPredicate = {
operator: "resource_included"
target_key: string
} | {
operator: "resource_references"
target_key: string
expected_target_key: string
} | {
operator: "config_enabled"
target_key: string
} | {
operator: "workflow_task_required"
target_key: string
task_key: string
}

BlueprintTestInterpretationโ€‹

type BlueprintTestInterpretation = {
schema_version: "1"
clauses: Array<{
source_text: string
status: "supported"
assertions: Array<{
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
expected_target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
task_key: { ... }
}>
reason: string
} | {
source_text: string
status: "unsupported" | "ambiguous"
assertions: Array<{
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
expected_target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
task_key: { ... }
}>
reason: string
}>
}

BlueprintTestCatalogEntryโ€‹

type BlueprintTestCatalogEntry = {
key: string
type: string
id: string
label: string
membership_state: "included" | "excluded" | "absent"
capabilities: "resource_included" | "resource_references" | "config_enabled" | "workflow_task_required"[]
tasks?: Array<{
key: string
label: string
capabilities: "workflow_task_required"[]
}>
}

BlueprintTestInterpretationProposalโ€‹

type BlueprintTestInterpretationProposal = {
schema_version: "1"
interpretation: {
schema_version: "1"
clauses: Array<{
source_text: { ... }
status: { ... }
assertions: { ... }
reason: { ... }
} | {
source_text: { ... }
status: { ... }
assertions: { ... }
reason: { ... }
}>
}
catalog: Array<{
key: string
type: string
id: string
label: string
membership_state: "included" | "excluded" | "absent"
capabilities: "resource_included" | "resource_references" | "config_enabled" | "workflow_task_required"[]
tasks?: Array<{
key: { ... }
label: { ... }
capabilities: { ... }
}>
}>
proposal_hash: string
expectation_sha256: string
interpreter_version: string
interpreter_execution_id?: string // uuid
}

BlueprintTestCaseConfirmationโ€‹

type BlueprintTestCaseConfirmation = {
schema_version: "1"
interpretation: {
schema_version: "1"
clauses: Array<{
source_text: { ... }
status: { ... }
assertions: { ... }
reason: { ... }
} | {
source_text: { ... }
status: { ... }
assertions: { ... }
reason: { ... }
}>
}
catalog: Array<{
key: string
type: string
id: string
label: string
membership_state: "included" | "excluded" | "absent"
capabilities: "resource_included" | "resource_references" | "config_enabled" | "workflow_task_required"[]
tasks?: Array<{
key: { ... }
label: { ... }
capabilities: { ... }
}>
}>
proposal_hash: string
expectation_sha256: string
interpreter_version: string
confirmed_by: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
confirmed_at: string // date-time
interpreter_execution_id?: string // uuid
}

BlueprintTestResourceEvidenceโ€‹

type BlueprintTestResourceEvidence = {
type: string
id: string
key: string
membership_state: "included" | "excluded" | "absent"
source_state: "read" | "source_unreadable" | "unsupported" | "not_read"
checked_at?: string // date-time
fingerprint?: string
references: Array<{
target_key: string
path: string
candidate_target_keys?: string[]
}>
dependency_coverage: "complete" | "incomplete"
enabled?: {
path: string
value: boolean
}
tasks_complete?: boolean
tasks: Array<{
key: string
path: string
required?: boolean
manual: boolean
task_type?: "MANUAL" | "AUTOMATION" | "DECISION" | "AI_AGENT"
}>
}

BlueprintTestCheckResultโ€‹

type BlueprintTestCheckResult = {
predicate?: {
operator: "resource_included"
target_key: string
} | {
operator: "resource_references"
target_key: string
expected_target_key: string
} | {
operator: "config_enabled"
target_key: string
} | {
operator: "workflow_task_required"
target_key: string
task_key: string
}
resource_key?: string
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
reason: string
path?: string
actual?: boolean | string
}

BlueprintTestDependencyValidationโ€‹

type BlueprintTestDependencyValidation = {
scope: "related_resources"
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
checks: Array<{
predicate?: {
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
expected_target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
task_key: { ... }
}
resource_key?: string
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
reason: string
path?: string
actual?: boolean | string
}>
boundaries: Array<{
key?: string
path?: string
reason: string
}>
omitted_count: number
}

BlueprintTestRunResultโ€‹

type BlueprintTestRunResult = {
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
checks: Array<{
predicate?: {
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
expected_target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
} | {
operator: { ... }
target_key: { ... }
task_key: { ... }
}
resource_key?: string
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
reason: string
path?: string
actual?: boolean | string
}>
coverage: {
complete: boolean
boundaries: Array<{
key?: { ... }
path?: { ... }
reason: { ... }
}>
supported_clauses: number
total_clauses: number
}
fingerprints: Record<string, string>
evaluator_version: "1"
checked_at: string // date-time
evidence?: Array<{
type: string
id: string
key: string
membership_state: "included" | "excluded" | "absent"
source_state: "read" | "source_unreadable" | "unsupported" | "not_read"
checked_at?: string // date-time
fingerprint?: string
references: Array<{
target_key: { ... }
path: { ... }
candidate_target_keys?: { ... }
}>
dependency_coverage: "complete" | "incomplete"
enabled?: {
path: { ... }
value: { ... }
}
tasks_complete?: boolean
tasks: Array<{
key: { ... }
path: { ... }
required?: { ... }
manual: { ... }
task_type?: { ... }
}>
}>
evidence_omitted_count: number
dependency_validation?: {
scope: "related_resources"
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
checks: Array<{
predicate?: { ... }
resource_key?: { ... }
verdict: { ... }
reason: { ... }
path?: { ... }
actual?: { ... }
}>
boundaries: Array<{
key?: { ... }
path?: { ... }
reason: { ... }
}>
omitted_count: number
}
interpretation_proposal?: {
schema_version: "1"
interpretation: {
schema_version: { ... }
clauses: { ... }
}
catalog: Array<{
key: { ... }
type: { ... }
id: { ... }
label: { ... }
membership_state: { ... }
capabilities: { ... }
tasks?: { ... }
}>
proposal_hash: string
expectation_sha256: string
// ...
}

BlueprintSourceTestOperationโ€‹

type BlueprintSourceTestOperation = {
operation_kind: "generate" | "execute"
run: {
id: string // uuid
org_id: string
blueprint_id: string
incarnation_id: string // uuid
test_case_id: string // uuid
test_revision: number
expectation: string
title: string
created_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
created_at: string // date-time
expires_at: string // date-time
status: "queued" | "running" | "completed" | "failed"
confirmation_hash?: string
membership_fingerprint?: string
result?: {
verdict: { ... }
checks: { ... }
coverage: { ... }
fingerprints: { ... }
evaluator_version: { ... }
checked_at: { ... }
evidence?: { ... }
evidence_omitted_count: { ... }
dependency_validation?: { ... }
interpretation_proposal?: { ... }
requires_confirmation?: { ... }
}
error?: {
code: { ... }
}
superseded?: boolean
stale: boolean
}
}

BlueprintTestRunโ€‹

type BlueprintTestRun = {
id: string // uuid
org_id: string
blueprint_id: string
incarnation_id: string // uuid
test_case_id: string // uuid
test_revision: number
expectation: string
title: string
created_by: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
created_at: string // date-time
expires_at: string // date-time
status: "queued" | "running" | "completed" | "failed"
confirmation_hash?: string
membership_fingerprint?: string
result?: {
verdict: "PASSED" | "FAILED" | "CANNOT_VERIFY"
checks: Array<{
predicate?: { ... }
resource_key?: { ... }
verdict: { ... }
reason: { ... }
path?: { ... }
actual?: { ... }
}>
coverage: {
complete: { ... }
boundaries: { ... }
supported_clauses: { ... }
total_clauses: { ... }
}
fingerprints: Record<string, string>
evaluator_version: "1"
checked_at: string // date-time
evidence?: Array<{
type: { ... }
id: { ... }
key: { ... }
membership_state: { ... }
source_state: { ... }
checked_at?: { ... }
fingerprint?: { ... }
references: { ... }
dependency_coverage: { ... }
enabled?: { ... }
tasks_complete?: { ... }
tasks: { ... }
}>
evidence_omitted_count: number
dependency_validation?: {
scope: { ... }
verdict: { ... }
checks: { ... }
boundaries: { ... }
omitted_count: { ... }
}
interpretation_proposal?: {
schema_version: { ... }
interpretation: { ... }
catalog: { ... }
proposal_hash: { ... }
expectation_sha256: { ... }
interpreter_version: { ... }
interpreter_execution_id?: { ... }
}
requires_confirmation?: true
}
error?: {
code: "expired" | "timeout" | "invoke_failed" | "worker_failed"
}
superseded?: boolean
stale: boolean
}

BlueprintTestRunPageโ€‹

type BlueprintTestRunPage = {
results: Array<{
id: string // uuid
org_id: string
blueprint_id: string
incarnation_id: string // uuid
test_case_id: string // uuid
test_revision: number
expectation: string
title: string
created_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
created_at: string // date-time
expires_at: string // date-time
status: "queued" | "running" | "completed" | "failed"
confirmation_hash?: string
membership_fingerprint?: string
result?: {
verdict: { ... }
checks: { ... }
coverage: { ... }
fingerprints: { ... }
evaluator_version: { ... }
checked_at: { ... }
evidence?: { ... }
evidence_omitted_count: { ... }
dependency_validation?: { ... }
interpretation_proposal?: { ... }
requires_confirmation?: { ... }
}
error?: {
code: { ... }
}
superseded?: boolean
stale: boolean
}>
next_cursor?: string
}

BlueprintTestRunErrorโ€‹

type BlueprintTestRunError = {
status: number
code: "invalid_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "checks_already_confirmed" | "confirmation_required" | "portable_test_unavailable" | "active_run" | "org_run_limit" | "session_expiring" | "credential_invalid" | "permissions_unavailable" | "permission_denied" | "feature_unavailable" | "run_unavailable" | "storage_conflict" | "v2_case"
retriable?: boolean
active_run_id?: string // uuid
retry_after_seconds?: number
}

BlueprintTestRunInputโ€‹

type BlueprintTestRunInput = {
expected_revision: number
}

BlueprintTestCasePageโ€‹

type BlueprintTestCasePage = {
results: Array<{
id: string // uuid
blueprint_id: string
org_id: string
schema_version: 1 | 2
revision: number
title?: string
expectation?: string
created_at: string // date-time
created_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
updated_at: string // date-time
updated_by: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
deleted_at?: string // date-time
confirmation?: {
schema_version: { ... }
interpretation: { ... }
catalog: { ... }
proposal_hash: { ... }
expectation_sha256: { ... }
interpreter_version: { ... }
confirmed_by: { ... }
confirmed_at: { ... }
interpreter_execution_id?: { ... }
}
clauses?: Record<string, unknown>[]
clauses_hash?: string
title_key?: Record<string, unknown>
origin?: Record<string, unknown>
needs_reinterpretation?: {
reason: { ... }
}
}>
next_cursor?: string
}

BlueprintAssistantMessageRequestโ€‹

type BlueprintAssistantMessageRequest = {
conversation_id?: string // uuid
message?: string
retry?: boolean
proposal_update?: {
proposal_id: string
status: "applied" | "dismissed"
note?: string
}
}

BlueprintAssistantConversationโ€‹

type BlueprintAssistantConversation = {
id: string
blueprint_id: string
status: "IN_PROGRESS" | "IDLE" | "FAILED"
error?: string
created_at: string // date-time
updated_at: string // date-time
created_by?: string
created_by_name?: string
messages: Array<{
id: string
role: "user" | "assistant"
created_at: string // date-time
parts: Array<{
type: { ... }
text?: { ... }
tool_use_id?: { ... }
tool?: { ... }
title?: { ... }
status?: { ... }
result?: { ... }
}>
}>
}

BlueprintAssistantSkillโ€‹

type BlueprintAssistantSkill = {
name: string
description: string
enabled: boolean
files: string[]
size: number
updated_at: string // date-time
updated_by?: string
updated_by_name?: string
}

BlueprintAssistantDefaultSkillโ€‹

type BlueprintAssistantDefaultSkill = {
name: string
description: string
audience?: "publishers"
}

BlueprintAssistantSkillUploadโ€‹

type BlueprintAssistantSkillUpload = {
file_name: string
content_base64: string
}

BlueprintAssistantConversationSummaryโ€‹

type BlueprintAssistantConversationSummary = {
id: string
title: string
status: "IN_PROGRESS" | "IDLE" | "FAILED"
created_at: string // date-time
updated_at: string // date-time
created_by?: string
created_by_name?: string
message_count: number
}

BlueprintAssistantMessageโ€‹

type BlueprintAssistantMessage = {
id: string
role: "user" | "assistant"
created_at: string // date-time
parts: Array<{
type: "text" | "tool"
text?: string
tool_use_id?: string
tool?: string
title?: string
status?: "running" | "done" | "error"
result?: {
kind?: { ... }
}
}>
}

BlueprintAssistantPartโ€‹

text parts carry text. tool parts carry the tool call and, once finished, its structured result, discriminated by result.kind: overview, resources, inclusion, resource_content, audit, proposal_changes, proposal_add, proposal_blueprint, proposal_publish, skill or error

type BlueprintAssistantPart = {
type: "text" | "tool"
text?: string
tool_use_id?: string
tool?: string
title?: string
status?: "running" | "done" | "error"
result?: {
kind?: string
}
}

UniquenessCriteriaResourceTypeโ€‹

Resource type for which custom uniqueness criteria can be configured.

type UniquenessCriteriaResourceType = "emailtemplate" | "product" | "price" | "tax" | "coupon" | "product_recommendation" | "file" | "document_template" | "notification_template" | "journey"

UniquenessCriteriaโ€‹

type UniquenessCriteria = {
org_id: string
resource_type: "emailtemplate" | "product" | "price" | "tax" | "coupon" | "product_recommendation" | "file" | "document_template" | "notification_template" | "journey"
fields: string[]
propagated_to?: string[]
updated_at: string // date-time
updated_by?: string
}

LineageEntryโ€‹

type LineageEntry = {
lineage_id?: string
target_id?: string
resource_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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
blueprint_instance_ids?: string[]
fidelity?: "full" | "partial"
last_synced_at?: string // date-time
}

BlueprintNoteโ€‹

A single internal note on a blueprint.

type BlueprintNote = {
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
}

BlueprintIDโ€‹

ID of a blueprint

type BlueprintID = string

BlueprintResourceIDโ€‹

ID of a blueprint resource

type BlueprintResourceID = string

CommonBlueprintFieldsโ€‹

type CommonBlueprintFields = {
source_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
notes?: Array<{
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
}>
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
job_id?: string
triggered_at?: string // date-time
performed_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
note?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
merge_plan_id?: string
merge_snapshot_id?: string
snapshot_restore_available?: boolean
merge_plan_state?: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
revert_until?: string // date-time
restore_details?: {
has_revertible_changes?: { ... }
resource_impact_summary?: { ... }
last_restore_job_id?: { ... }
last_restore_at?: { ... }
last_restored_by?: { ... }
status?: { ... }
}
has_revertible_changes?: boolean
last_restore_job_id?: string
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
}>
is_verified?: boolean
latest_verification?: {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: { ... }
matched?: { ... }
mismatched?: { ... }
missing_in_destination?: { ... }
fetch_errors?: { ... }
}
}
ignored_resource_addresses?: string[]
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
active_restore_job_id?: string
active_restore_started_at?: string // date-time
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
// ...
}

SuggestBlueprintResourcesRequestโ€‹

type SuggestBlueprintResourcesRequest = {
prompt: string
blueprint_id?: string
}

SuggestBlueprintResourcesResponseโ€‹

type SuggestBlueprintResourcesResponse = {
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored" | "error"[]
impact_on_install_reason?: string[]
impact_on_install_changes?: Array<{
path: { ... }
destination?: { ... }
source?: { ... }
added: { ... }
}>
impact_on_install_labels?: Record<string, string>
impact_on_install_summary?: string[]
}>
suggested_blueprint_name?: string
explanation?: string
add_dependencies_recommended?: boolean
}

SkippedBlueprintResourceโ€‹

A resource that was requested (or discovered as a dependency) but was not added to the Blueprint. Reasons are stable machine-readable codes.

type SkippedBlueprintResource = {
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
reason: "not_found" | "source_validation_failed" | "enrichment_failed"
}

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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored" | "error"[]
impact_on_install_reason?: string[]
impact_on_install_changes?: Array<{
path: string
destination?: unknown
source?: unknown
added: boolean
}>
impact_on_install_labels?: Record<string, string>
impact_on_install_summary?: 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"
sync_engine?: "terraform" | "v3"
blueprint_file_s3_key: string
is_verified: boolean
docs_url?: string
recommended_apps?: string[]
required_features?: {
enabled?: string[]
disabled?: 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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"[]
parent_resource_ids?: string[]
depends_on_addresses?: string[]
impact_on_install?: "create" | "update" | "internal-update" | "no-op" | "delete" | "ignored" | "error"[]
impact_on_install_reason?: string[]
impact_on_install_changes?: Array<{
path: { ... }
destination?: { ... }
source?: { ... }
added: { ... }
}>
impact_on_install_labels?: Record<string, string>
impact_on_install_summary?: string[]
}>
}

CustomBlueprintโ€‹

type CustomBlueprint = {
source_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
notes?: Array<{
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
}>
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
job_id?: string
triggered_at?: string // date-time
performed_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
note?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
merge_plan_id?: string
merge_snapshot_id?: string
snapshot_restore_available?: boolean
merge_plan_state?: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
revert_until?: string // date-time
restore_details?: {
has_revertible_changes?: { ... }
resource_impact_summary?: { ... }
last_restore_job_id?: { ... }
last_restore_at?: { ... }
last_restored_by?: { ... }
status?: { ... }
}
has_revertible_changes?: boolean
last_restore_job_id?: string
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
}>
is_verified?: boolean
latest_verification?: {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: { ... }
matched?: { ... }
mismatched?: { ... }
missing_in_destination?: { ... }
fetch_errors?: { ... }
}
}
ignored_resource_addresses?: string[]
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
active_restore_job_id?: string
active_restore_started_at?: string // date-time
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
// ...
}

FileBlueprintโ€‹

type FileBlueprint = {
source_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
notes?: Array<{
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
}>
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
job_id?: string
triggered_at?: string // date-time
performed_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
note?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
merge_plan_id?: string
merge_snapshot_id?: string
snapshot_restore_available?: boolean
merge_plan_state?: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
revert_until?: string // date-time
restore_details?: {
has_revertible_changes?: { ... }
resource_impact_summary?: { ... }
last_restore_job_id?: { ... }
last_restore_at?: { ... }
last_restored_by?: { ... }
status?: { ... }
}
has_revertible_changes?: boolean
last_restore_job_id?: string
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
}>
is_verified?: boolean
latest_verification?: {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: { ... }
matched?: { ... }
mismatched?: { ... }
missing_in_destination?: { ... }
fetch_errors?: { ... }
}
}
ignored_resource_addresses?: string[]
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
active_restore_job_id?: string
active_restore_started_at?: string // date-time
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
// ...
}

MarketplaceBlueprintโ€‹

type MarketplaceBlueprint = {
source_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
notes?: Array<{
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
}>
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
job_id?: string
triggered_at?: string // date-time
performed_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
note?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
merge_plan_id?: string
merge_snapshot_id?: string
snapshot_restore_available?: boolean
merge_plan_state?: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
revert_until?: string // date-time
restore_details?: {
has_revertible_changes?: { ... }
resource_impact_summary?: { ... }
last_restore_job_id?: { ... }
last_restore_at?: { ... }
last_restored_by?: { ... }
status?: { ... }
}
has_revertible_changes?: boolean
last_restore_job_id?: string
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
}>
is_verified?: boolean
latest_verification?: {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: { ... }
matched?: { ... }
mismatched?: { ... }
missing_in_destination?: { ... }
fetch_errors?: { ... }
}
}
ignored_resource_addresses?: string[]
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
active_restore_job_id?: string
active_restore_started_at?: string // date-time
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: 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 = {
source_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
notes?: Array<{
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
}>
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
job_id?: string
triggered_at?: string // date-time
performed_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
note?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
merge_plan_id?: string
merge_snapshot_id?: string
snapshot_restore_available?: boolean
merge_plan_state?: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
revert_until?: string // date-time
restore_details?: {
has_revertible_changes?: { ... }
resource_impact_summary?: { ... }
last_restore_job_id?: { ... }
last_restore_at?: { ... }
last_restored_by?: { ... }
status?: { ... }
}
has_revertible_changes?: boolean
last_restore_job_id?: string
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
}>
is_verified?: boolean
latest_verification?: {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: { ... }
matched?: { ... }
mismatched?: { ... }
missing_in_destination?: { ... }
fetch_errors?: { ... }
}
}
ignored_resource_addresses?: string[]
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
active_restore_job_id?: string
active_restore_started_at?: string // date-time
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
// ...
}

AppBlueprintโ€‹

type AppBlueprint = {
source_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
notes?: Array<{
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
}>
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
job_id?: string
triggered_at?: string // date-time
performed_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
note?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
merge_plan_id?: string
merge_snapshot_id?: string
snapshot_restore_available?: boolean
merge_plan_state?: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
revert_until?: string // date-time
restore_details?: {
has_revertible_changes?: { ... }
resource_impact_summary?: { ... }
last_restore_job_id?: { ... }
last_restore_at?: { ... }
last_restored_by?: { ... }
status?: { ... }
}
has_revertible_changes?: boolean
last_restore_job_id?: string
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
}>
is_verified?: boolean
latest_verification?: {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: { ... }
matched?: { ... }
mismatched?: { ... }
missing_in_destination?: { ... }
fetch_errors?: { ... }
}
}
ignored_resource_addresses?: string[]
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
active_restore_job_id?: string
active_restore_started_at?: string // date-time
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: string
}
// ...
}

Blueprintโ€‹

type Blueprint = {
source_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
id?: string
title: string
slug?: string
description?: {
preinstall?: string
postinstall?: string
}
notes?: Array<{
id: string
text: string
created_at: string // date-time
updated_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
}>
version?: string
deployments?: Array<{
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
job_id?: string
triggered_at?: string // date-time
performed_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
note?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
merge_plan_id?: string
merge_snapshot_id?: string
snapshot_restore_available?: boolean
merge_plan_state?: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
revert_until?: string // date-time
restore_details?: {
has_revertible_changes?: { ... }
resource_impact_summary?: { ... }
last_restore_job_id?: { ... }
last_restore_at?: { ... }
last_restored_by?: { ... }
status?: { ... }
}
has_revertible_changes?: boolean
last_restore_job_id?: string
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
}>
is_verified?: boolean
latest_verification?: {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: { ... }
matched?: { ... }
mismatched?: { ... }
missing_in_destination?: { ... }
fetch_errors?: { ... }
}
}
ignored_resource_addresses?: string[]
installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED"
active_restore_job_id?: string
active_restore_started_at?: string // date-time
created_at?: string // date-time
updated_at?: string // date-time
created_by?: {
name?: unknown
org_id: string
user_id?: string
token_id?: 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
}
job_type?: "export"
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_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
job_type?: "install"
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
sync_engine?: "terraform" | "v3"
resource_progress?: Array<{
lineage_id: string
type: string
address: string
name?: string
status: "pending" | "in_progress" | "done" | "failed" | "skipped"
target_id?: string
error_message?: string
error_code?: string
error_data?: Record<string, unknown>
}>
options?: {
resources_to_ignore?: string[]
sync_notes?: boolean
include_field_diffs?: boolean
}
merge_plan_id?: string
wait_kind?: "plan" | "reauth" | "merge_review"
prefill_from_merge_plan_id?: string
assigned_merge_plan_id?: string
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
}

BulkInstallStatusโ€‹

Aggregate status for a bulk install or one of its targets.

  • QUEUED: not started yet
  • IN_PROGRESS: at least one target queued/in-progress, not all done
  • SUCCESS: all targets succeeded
  • PARTIAL_SUCCESS: all targets terminal with a mix of success/partial/failure
  • FAILED: all targets term
type BulkInstallStatus = "QUEUED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED" | "REVIEW_REQUIRED"

BulkInstallCountsโ€‹

Tally of target rows by status. Recomputed from target rows on each transition.

type BulkInstallCounts = {
queued?: number
in_progress?: number
success?: number
partial_success?: number
failed?: number
review_required?: number
}

BulkInstallโ€‹

Bulk install parent. Never carries target auth tokens.

type BulkInstall = {
bulk_job_id?: string
source_org_id?: string
source_blueprint_id?: string
status?: "QUEUED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED" | "REVIEW_REQUIRED"
target_count?: number
max_concurrency?: number
counts?: {
queued?: number
in_progress?: number
success?: number
partial_success?: number
failed?: number
review_required?: number
}
slug?: string
options?: {
resources_to_ignore?: string[]
sync_notes?: boolean
include_field_diffs?: boolean
}
created_at?: string // date-time
updated_at?: string // date-time
}

BulkInstallTargetโ€‹

A single destination of a bulk install. job is the hydrated latest child install job derived from job_ids.at(-1). Auth tokens are never stored or returned.

type BulkInstallTarget = {
bulk_job_id?: string
destination_org_id?: string
destination_blueprint_id?: string
status?: "QUEUED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED" | "REVIEW_REQUIRED"
job_ids?: string[]
merge_plan_id?: string
created_at?: string // date-time
updated_at?: string // date-time
job?: {
id?: string
events?: Array<{
timestamp?: { ... }
message?: { ... }
errors?: { ... }
level?: { ... }
data?: { ... }
}>
triggered_at?: string // date-time
created_by?: {
name?: { ... }
org_id: { ... }
user_id?: { ... }
token_id?: { ... }
}
source_drift?: {
removed: { ... }
missing?: { ... }
exclude_addresses?: { ... }
}
job_type?: "install"
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
sync_engine?: "terraform" | "v3"
resource_progress?: Array<{
lineage_id: { ... }
type: { ... }
address: { ... }
name?: { ... }
status: { ... }
target_id?: { ... }
error_message?: { ... }
error_code?: { ... }
error_data?: { ... }
}>
options?: {
resources_to_ignore?: { ... }
sync_notes?: { ... }
include_field_diffs?: { ... }
}
merge_plan_id?: string
wait_kind?: "plan" | "reauth" | "merge_review"
prefill_from_merge_plan_id?: string
assigned_merge_plan_id?: string
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
}
}

BulkInstallTargetListโ€‹

type BulkInstallTargetList = {
results?: Array<{
bulk_job_id?: string
destination_org_id?: string
destination_blueprint_id?: string
status?: "QUEUED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED" | "REVIEW_REQUIRED"
job_ids?: string[]
merge_plan_id?: string
created_at?: string // date-time
updated_at?: string // date-time
job?: {
id?: { ... }
events?: { ... }
triggered_at?: { ... }
created_by?: { ... }
source_drift?: { ... }
job_type?: { ... }
source_blueprint_id?: { ... }
source_blueprint_type?: { ... }
source_org_id?: { ... }
source_blueprint_file?: { ... }
destination_blueprint_id?: { ... }
destination_org_id?: { ... }
slug?: { ... }
sync_engine?: { ... }
resource_progress?: { ... }
options?: { ... }
merge_plan_id?: { ... }
wait_kind?: { ... }
prefill_from_merge_plan_id?: { ... }
assigned_merge_plan_id?: { ... }
status?: { ... }
}
}>
next_cursor?: string
}

BulkInstallTargetInputโ€‹

type BulkInstallTargetInput = {
destination_org_id: string
destination_blueprint_id?: string
destination_auth_token: string
}

BulkInstallCreateRequestโ€‹

type BulkInstallCreateRequest = {
source_org_id?: string
source_blueprint_id: string
max_concurrency?: number
slug?: string
options?: {
resources_to_ignore?: string[]
sync_notes?: boolean
include_field_diffs?: boolean
}
targets: Array<{
destination_org_id: string
destination_blueprint_id?: string
destination_auth_token: string
}>
}

BlueprintRestoreJobโ€‹

type BlueprintRestoreJob = {
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
}
job_type?: "restore"
destination_blueprint_id?: string
destination_org_id?: string
install_job_id?: string
merge_plan_id?: string
snapshot_id?: string
sync_engine?: "v3"
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
restore_result?: {
snapshot_id?: string
resources?: Array<{
lineage_id: { ... }
type: { ... }
name?: { ... }
target_id?: { ... }
action: { ... }
reason?: { ... }
last_synced_at?: { ... }
current_updated_at?: { ... }
error_message?: { ... }
is_hidden?: { ... }
co_owned_by?: { ... }
protected_by?: { ... }
}>
has_effective_changes?: boolean
}
}

V3ResourceProgressEntryโ€‹

type V3ResourceProgressEntry = {
lineage_id: string
type: string
address: string
name?: string
status: "pending" | "in_progress" | "done" | "failed" | "skipped"
target_id?: string
error_message?: string
error_code?: string
error_data?: Record<string, unknown>
}

RestoreOutcomeItemโ€‹

type RestoreOutcomeItem = {
lineage_id: string
type: string
name?: string
target_id?: string
action: "restore" | "delete" | "skip" | "failed"
reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible" | "not_created_by_install" | "unconfirmed" | "unknown_provenance"
last_synced_at?: string // date-time
current_updated_at?: string // date-time
error_message?: string
is_hidden?: boolean
co_owned_by?: Array<{
blueprint_id: string
title?: string
}>
protected_by?: Array<{
lineage_id: string
type: string
target_id?: string
}>
}

HealthFindingโ€‹

type HealthFinding = {
check_id: "live_readability" | "referential_integrity" | "install_completeness" | "schema_consistency" | "mapping_integrity" | "execution_readiness" | "catalog_hygiene" | "spec_conformance"
code: "missing_in_destination" | "fetch_error" | "no_readback" | "unreplaced_source_reference" | "broken_internal_reference" | "dropped_at_install" | "orphaned_group_reference" | "uuid_group_label" | "unreachable_attribute_purpose" | "duplicate_attribute_name" | "duplicate_headline" | "broken_mapping_reference" | "stale_mapping_version" | "mapping_slot_mismatch" | "mapping_parity_mismatch" | "stale_lineage" | "broken_trigger_reference" | "broken_action_reference" | "broken_workflow_step" | "invalid_mapping_target" | "invalid_mapping_source" | "invalid_mapping_version" | "unknown_mapping_attribute" | "workflow_edge_limit" | "dead_purpose_reference" | "broken_portal_reference" | "orphaned_portal_block" | "broken_closing_reason" | "broken_journey_settings" | "unresolved_assignee" | "current_write_invalid" | "duplicate_live_resource" | "missing_file_content" | "file_etag_mismatch" | "incomplete_webhook" | "broken_template_reference" | "orphaned_price" | "duplicate_price" | "inactive_price_in_use" | "cross_org_reference"
severity: "error" | "warning" | "info"
resource_type: string
lineage_id: string
target_id?: string
resource_name?: string
message: string
verdict?: string
evidence?: {
path?: string
referenced_id?: string
referenced_type?: string
referenced_name?: string
referenced_lineage_id?: string
expected_target_id?: string
reference_kind?: string
operation?: string
rejection_reason?: string
error_message?: string
response_status?: number
}
}

HealthCheckCoverageโ€‹

type HealthCheckCoverage = {
check_id: "live_readability" | "referential_integrity" | "install_completeness" | "schema_consistency" | "mapping_integrity" | "execution_readiness" | "spec_conformance"
status: "completed" | "partial" | "skipped" | "not_applicable"
scope: "tracked_resources" | "org_wide" | "source_comparison"
resources_considered: number
details: string[]
}

HealthResourceTypeCoverageโ€‹

type HealthResourceTypeCoverage = {
resource_type: string
tracked: number
readable_by_lineage: number
missing_by_lineage: number
read_errors: number
unchecked: number
specialized_checks: "live_readability" | "referential_integrity" | "install_completeness" | "schema_consistency" | "mapping_integrity" | "execution_readiness" | "spec_conformance"[]
known_blind_spots: string[]
}

HealthScanCoverageโ€‹

type HealthScanCoverage = {
checks: Array<{
check_id: "live_readability" | "referential_integrity" | "install_completeness" | "schema_consistency" | "mapping_integrity" | "execution_readiness" | "spec_conformance"
status: "completed" | "partial" | "skipped" | "not_applicable"
scope: "tracked_resources" | "org_wide" | "source_comparison"
resources_considered: number
details: string[]
}>
resource_types: Array<{
resource_type: string
tracked: number
readable_by_lineage: number
missing_by_lineage: number
read_errors: number
unchecked: number
specialized_checks: "live_readability" | "referential_integrity" | "install_completeness" | "schema_consistency" | "mapping_integrity" | "execution_readiness" | "spec_conformance"[]
known_blind_spots: string[]
}>
}

DeploymentHealthReportโ€‹

type DeploymentHealthReport = {
status: "running" | "completed" | "failed"
job_id: string
blueprint_instance_id: string
destination_org_id: string
generated_at: string // date-time
html_url?: string
summary?: {
resources_scanned?: number
unchecked?: number
errors?: number
warnings?: number
infos?: number
}
findings?: Array<{
check_id: "live_readability" | "referential_integrity" | "install_completeness" | "schema_consistency" | "mapping_integrity" | "execution_readiness" | "catalog_hygiene" | "spec_conformance"
code: "missing_in_destination" | "fetch_error" | "no_readback" | "unreplaced_source_reference" | "broken_internal_reference" | "dropped_at_install" | "orphaned_group_reference" | "uuid_group_label" | "unreachable_attribute_purpose" | "duplicate_attribute_name" | "duplicate_headline" | "broken_mapping_reference" | "stale_mapping_version" | "mapping_slot_mismatch" | "mapping_parity_mismatch" | "stale_lineage" | "broken_trigger_reference" | "broken_action_reference" | "broken_workflow_step" | "invalid_mapping_target" | "invalid_mapping_source" | "invalid_mapping_version" | "unknown_mapping_attribute" | "workflow_edge_limit" | "dead_purpose_reference" | "broken_portal_reference" | "orphaned_portal_block" | "broken_closing_reason" | "broken_journey_settings" | "unresolved_assignee" | "current_write_invalid" | "duplicate_live_resource" | "missing_file_content" | "file_etag_mismatch" | "incomplete_webhook" | "broken_template_reference" | "orphaned_price" | "duplicate_price" | "inactive_price_in_use" | "cross_org_reference"
severity: "error" | "warning" | "info"
resource_type: string
lineage_id: string
target_id?: string
resource_name?: string
message: string
verdict?: string
evidence?: {
path?: { ... }
referenced_id?: { ... }
referenced_type?: { ... }
referenced_name?: { ... }
referenced_lineage_id?: { ... }
expected_target_id?: { ... }
reference_kind?: { ... }
operation?: { ... }
rejection_reason?: { ... }
error_message?: { ... }
response_status?: { ... }
}
}>
coverage?: {
checks: Array<{
check_id: { ... }
status: { ... }
scope: { ... }
resources_considered: { ... }
details: { ... }
}>
resource_types: Array<{
resource_type: { ... }
tracked: { ... }
readable_by_lineage: { ... }
missing_by_lineage: { ... }
read_errors: { ... }
unchecked: { ... }
specialized_checks: { ... }
known_blind_spots: { ... }
}>
}
error?: string
}

RestoreOutcomeโ€‹

type RestoreOutcome = {
snapshot_id?: string
resources?: Array<{
lineage_id: string
type: string
name?: string
target_id?: string
action: "restore" | "delete" | "skip" | "failed"
reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned" | "dependency_protected" | "already_deleted" | "non_revertible" | "not_created_by_install" | "unconfirmed" | "unknown_provenance"
last_synced_at?: string // date-time
current_updated_at?: string // date-time
error_message?: string
is_hidden?: boolean
co_owned_by?: Array<{
blueprint_id: { ... }
title?: { ... }
}>
protected_by?: Array<{
lineage_id: { ... }
type: { ... }
target_id?: { ... }
}>
}>
has_effective_changes?: boolean
}

RestorePreviewReportโ€‹

type RestorePreviewReport = {
preview_id: string
job_id: string
status: "running" | "completed" | "failed"
requested_at: string // date-time
completed_at?: string // date-time
outcome?: {
snapshot_id?: string
resources?: Array<{
lineage_id: { ... }
type: { ... }
name?: { ... }
target_id?: { ... }
action: { ... }
reason?: { ... }
last_synced_at?: { ... }
current_updated_at?: { ... }
error_message?: { ... }
is_hidden?: { ... }
co_owned_by?: { ... }
protected_by?: { ... }
}>
has_effective_changes?: boolean
}
error?: string
}

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
}
job_type?: "export"
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_drift?: {
removed: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
}>
missing?: Array<{
address: { ... }
type: { ... }
name: { ... }
id: { ... }
referenced_by: { ... }
}>
exclude_addresses?: string[]
}
job_type?: "install"
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
sync_engine?: "terraform" | "v3"
resource_progress?: Array<{
lineage_id: string
type: string
address: string
name?: string
status: "pending" | "in_progress" | "done" | "failed" | "skipped"
target_id?: string
error_message?: string
error_code?: string
error_data?: Record<string, unknown>
}>
options?: {
resources_to_ignore?: string[]
sync_notes?: boolean
include_field_diffs?: boolean
}
merge_plan_id?: string
wait_kind?: "plan" | "reauth" | "merge_review"
prefill_from_merge_plan_id?: string
assigned_merge_plan_id?: string
// ...
}

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
}
job_type?: "dependencies_sync"
blueprint_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
}

BlueprintVerificationJobโ€‹

type BlueprintVerificationJob = {
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
}
job_type?: "verification"
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
summary?: {
total_resources?: number
matched?: number
mismatched?: number
missing_in_destination?: number
fetch_errors?: number
}
resource_results?: Array<{
resource_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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
resource_name?: string
source_resource_id?: string
source_resource_address?: string
destination_resource_id?: string
destination_resource_address?: string
status?: "matched" | "mismatched" | "missing_in_destination" | "fetch_error"
failure_context?: "depends_on_failed_resource" | "may_be_caused_by_failed_dependency"
failed_dependency_resource_ids?: string[]
failed_dependency_resource_names?: string[]
failed_dependency_addresses?: string[]
field_diffs?: Array<{
path?: { ... }
source_value?: { ... }
destination_value?: { ... }
diff_type?: { ... }
}>
error?: string
}>
resource_results_s3_key?: string
}

LatestBlueprintVerificationโ€‹

type LatestBlueprintVerification = {
job_id?: string
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
triggered_at?: string // date-time
source_org_id?: string
source_blueprint_id?: string
destination_org_id?: string
destination_blueprint_id?: string
installation_job_id?: string
sync_engine?: "terraform" | "v3"
summary?: {
total_resources?: number
matched?: number
mismatched?: number
missing_in_destination?: number
fetch_errors?: number
}
}

VerificationSummaryโ€‹

type VerificationSummary = {
total_resources?: number
matched?: number
mismatched?: number
missing_in_destination?: number
fetch_errors?: number
}

ResourceVerificationResultโ€‹

type ResourceVerificationResult = {
resource_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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
resource_name?: string
source_resource_id?: string
source_resource_address?: string
destination_resource_id?: string
destination_resource_address?: string
status?: "matched" | "mismatched" | "missing_in_destination" | "fetch_error"
failure_context?: "depends_on_failed_resource" | "may_be_caused_by_failed_dependency"
failed_dependency_resource_ids?: string[]
failed_dependency_resource_names?: string[]
failed_dependency_addresses?: string[]
field_diffs?: Array<{
path?: string
source_value?: unknown
destination_value?: unknown
diff_type?: "value_changed" | "field_missing_in_destination" | "field_missing_in_source" | "type_mismatch"
}>
error?: string
}

FieldDiffโ€‹

type FieldDiff = {
path?: string
source_value?: unknown
destination_value?: unknown
diff_type?: "value_changed" | "field_missing_in_destination" | "field_missing_in_source" | "type_mismatch"
}

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" | "workflow_quota_reached" | "entity_mapping_journey_not_in_blueprint" | "missing_required_reference" | "source_resources_missing"
data?: {
missing_count?: { ... }
exclude_count?: { ... }
source_drift_s3_key?: { ... }
formattedResource?: { ... }
resource?: { ... }
resourceDependency?: { ... }
resources?: { ... }
addresses?: { ... }
originalError?: { ... }
current?: { ... }
max_allowed?: { ... }
planned?: { ... }
}
}>
level?: "info" | "warning" | "error"
data?: {
installed_blueprint_id?: string
export_job_id?: string
resources?: number
}
}

BlueprintInstallationJobOptionsโ€‹

type BlueprintInstallationJobOptions = {
resources_to_ignore?: string[]
sync_notes?: boolean
include_field_diffs?: boolean
}

ContinueInstallationJobRequestโ€‹

type ContinueInstallationJobRequest = {
resources_to_ignore?: string[]
sync_notes?: boolean
include_field_diffs?: boolean
source_auth_token?: string // password
}

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" | "REAUTH_REQUIRED" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_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" | "REAUTH_REQUIRED" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"

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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: { ... }[]
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
name?: string
source_id?: string
is_virtual?: boolean
address?: string
dependencies?: { ... }[]
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
}>
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" | "REAUTH_REQUIRED" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "workflow_quota_reached" | "entity_mapping_journey_not_in_blueprint" | "missing_required_reference" | "source_resources_missing"
data?: {
missing_count?: { ... }
exclude_count?: { ... }
source_drift_s3_key?: { ... }
formattedResource?: { ... }
resource?: { ... }
resourceDependency?: { ... }
resources?: { ... }
addresses?: { ... }
originalError?: { ... }
current?: { ... }
max_allowed?: { ... }
// ...
}

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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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" | "workflow_quota_reached" | "entity_mapping_journey_not_in_blueprint" | "missing_required_reference" | "source_resources_missing"

V3SourceResourceโ€‹

type V3SourceResource = {
address: 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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
name: string
id: string
}

V3MissingSourceResourceโ€‹

type V3MissingSourceResource = {
address: 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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
name: string
id: string
referenced_by: string[]
}

V3SourceDriftโ€‹

V3 live-source plan capture only. Available on the install job and destination blueprint plan. Only confirmed owning-API NotFound/404 reads may be auto-skipped; null, permission, transport, server errors and missing ids remain strict capture failures. Complete details are hydrated from durable stora

type V3SourceDrift = {
removed: Array<{
address: 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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
name: string
id: string
}>
missing?: Array<{
address: 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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
name: string
id: string
referenced_by: string[]
}>
exclude_addresses?: string[]
}

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" | "workflow_quota_reached" | "entity_mapping_journey_not_in_blueprint" | "missing_required_reference" | "source_resources_missing"
data?: {
missing_count?: number
exclude_count?: number
source_drift_s3_key?: string
formattedResource?: {
id?: { ... }
name?: { ... }
type?: { ... }
}
resource?: string
resourceDependency?: string
resources?: string[]
addresses?: string[]
originalError?: string
current?: number
max_allowed?: number
planned?: number
}
}

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" | "insight" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template" | "environment_variable" | "datasource" | "family" | "permission" | "email_signature" | "shared_inbox" | "event_catalog_event"
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
}>
}

MarketplaceListingโ€‹

type MarketplaceListing = {
id: string // uuid
blueprint_id: string
name: string
slug: string
logo?: string
documentation_url?: string
pricing_type?: "free" | "paid" | "freemium" | "contact_us"
support_email?: string
portal_description?: string
teaser_name?: string
teaser_short_description?: string
teaser_thumbnail?: string
details_page_title?: string
details_page_description?: string
details_page_hero_image?: string
details_page_carousel?: string[]
resources_section_description?: string
resources_section_benefits_title?: string
resources_section_benefits_list?: string
resources_section_process_details?: string
partner?: string
partner_subtext?: string
partner_logo?: string
partner_website_link?: string
last_updated_on?: string
requires_customer_portal?: boolean
process_details_section_title?: string
is_new_blueprint?: boolean
available_in?: string
testimonials?: string[]
installation_link?: string
installation_slug?: string
demo_form_link?: string
order?: number
categories?: string[]
main_category?: string[]
status: "draft" | "live" | "archived"
created_at?: string // date-time
updated_at?: string // date-time
}

MarketplaceListingUpdateโ€‹

type MarketplaceListingUpdate = {
name?: string
slug?: string
logo?: string
documentation_url?: string
pricing_type?: "free" | "paid" | "freemium" | "contact_us"
support_email?: string
portal_description?: string
teaser_name?: string
teaser_short_description?: string
teaser_thumbnail?: string
details_page_title?: string
details_page_description?: string
details_page_hero_image?: string
details_page_carousel?: string[]
resources_section_description?: string
resources_section_benefits_title?: string
resources_section_benefits_list?: string
resources_section_process_details?: string
partner?: string
partner_subtext?: string
partner_logo?: string
partner_website_link?: string
last_updated_on?: string
requires_customer_portal?: boolean
process_details_section_title?: string
is_new_blueprint?: boolean
available_in?: string
testimonials?: string[]
installation_link?: string
installation_slug?: string
demo_form_link?: string
order?: number
categories?: string[]
main_category?: string[]
}

MarketplaceListingVersionโ€‹

type MarketplaceListingVersion = {
id: string // uuid
listing_id: string
status: "draft" | "published" | "archived"
version_name?: string
draft_label: string
update_note?: string
resources?: object[]
required_features?: string[]
recommended_apps?: string[]
created_at: string // date-time
published_at?: string // date-time
}

MergePlanStateโ€‹

Lifecycle state of an update merge plan.

type MergePlanState = "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"

MergeOptionIdโ€‹

type MergeOptionId = "keep_current" | "take_incoming" | "keep_absent" | "restore_incoming"

MergeChoiceโ€‹

The reviewer's choice for one decision group. Valid only while group_signature matches.

type MergeChoice = {
group_id: string
group_signature: string
option_id: "keep_current" | "take_incoming" | "keep_absent" | "restore_incoming"
}

MergeChoiceInputโ€‹

A submitted choice. option_id is not an enum here, so an option the group does not offer is answered with 422 merge_plan_choice_invalid and its group_ids, like every other invalid choice.

type MergeChoiceInput = {
group_id: string
group_signature: string
option_id: string
}

MergeSectionRefโ€‹

type MergeSectionRef = {
resource_lineage_id: string
section_id: string
item_path?: Array<{
section_id: string
item_key: string
}>
}

MergeSectionValueโ€‹

A unit value in builder terms. present false means the unit does not exist on that side.

type MergeSectionValue = {
present: boolean
value?: unknown
}

MergeDecisionGroupโ€‹

type MergeDecisionGroup = {
group_id: string
group_signature: string
kind: "conflict" | "mandatory" | "confirm"
scope: "units" | "order" | "resource"
section_refs: Array<{
resource_lineage_id: string
section_id: string
item_path?: Array<{
section_id: { ... }
item_key: { ... }
}>
}>
ui_concept: string
label_key: string
values: Array<{
section_ref: {
resource_lineage_id: { ... }
section_id: { ... }
item_path?: { ... }
}
label: string
base: {
present: { ... }
value?: { ... }
}
current: {
present: { ... }
value?: { ... }
}
incoming: {
present: { ... }
value?: { ... }
}
}>
options: Array<{
option_id: "keep_current" | "take_incoming" | "keep_absent" | "restore_incoming"
label_key: string
description_key: string
}>
selection_required: boolean
selected_option_id?: "keep_current" | "take_incoming" | "keep_absent" | "restore_incoming"
mandatory_declaration_ids: string[]
batch_key?: string
sequence_labels?: {
base?: string[]
current: string[]
incoming: string[]
}
}

MergePlanWarningโ€‹

A finding of the merged result that does not block the update.

type MergePlanWarning = {
code: string
target: string
unit_key?: string
level?: "warning"
message: string
}

MergeBaseProvenanceโ€‹

type MergeBaseProvenance = {
rung: "apply_evidence" | "none"
job_id?: string
manifest_version?: string
reason?: "no_evidence" | "unreconciled" | "no_manifest" | "not_in_manifest" | "translation_gap"
}

MergeResourceStatusโ€‹

type MergeResourceStatus = "automatic" | "decisions_required" | "ready" | "blocked"

MergeResourceEligibilityโ€‹

type MergeResourceEligibility = "merge" | "two_way" | "blocked" | "automatic_keep_absent" | "absence_decision"

MergeResourceAutoCountsโ€‹

type MergeResourceAutoCounts = {
from_current: number
from_incoming: number
}

MergePlanReviewโ€‹

Summary of an update merge plan.

type MergePlanReview = {
merge_plan_id: string
plan_revision: number
expected_plan_revision: number
warnings: Array<{
code: string
resource_key: string
target: string
message: string
}>
blocked_reasons: string[]
apply_counts: {
updated: number
kept: number
removed: number
restored: number
}
apply_counts_unknown?: boolean
state: "review_required" | "ready" | "approved" | "applying" | "applied" | "partially_applied" | "failed" | "discarded" | "expired" | "superseded" | "reverting" | "reverted" | "revert_partial"
job_id: string
destination_blueprint_id: string
source: {
blueprint_id?: string
version?: string
}
resource_counts: {
automatic: number
decisions_required: number
ready: number
blocked: number
}
group_counts: {
conflict: number
confirm: number
mandatory: number
unresolved: number
}
warning_count: number
auto_counts: {
kept_customizations: number
applied_updates: number
}
other_resource_count: number
created_at: string // date-time
expires_at: string // date-time
revert_until: string // date-time
supersedes?: string
superseded_by?: string
successor_failed?: boolean
}

MergePlanApplyCountsโ€‹

Journeys by what apply does with the current choices: updated (written), kept (blocked, left as they are), removed (stay removed), restored (created again).

type MergePlanApplyCounts = {
updated: number
kept: number
removed: number
restored: number
}

MergeResourceOutcomeโ€‹

Result of one journey after apply.

type MergeResourceOutcome = "applied" | "kept_removed" | "restored" | "merge_stale" | "failed"

MergePlanResourceSummaryโ€‹

type MergePlanResourceSummary = {
resource_key: string
label: string
status: "automatic" | "decisions_required" | "ready" | "blocked"
eligibility: "merge" | "two_way" | "blocked" | "automatic_keep_absent" | "absence_decision"
blocking_reasons: string[]
auto_counts: {
from_current: number
from_incoming: number
}
unresolved: number
warning_count: number
outcome?: "applied" | "kept_removed" | "restored" | "merge_stale" | "failed"
}

MergePlanResourcePageโ€‹

type MergePlanResourcePage = {
merge_plan_id: string
plan_revision: number
resources: Array<{
resource_key: string
label: string
status: "automatic" | "decisions_required" | "ready" | "blocked"
eligibility: "merge" | "two_way" | "blocked" | "automatic_keep_absent" | "absence_decision"
blocking_reasons: string[]
auto_counts: {
from_current: { ... }
from_incoming: { ... }
}
unresolved: number
warning_count: number
outcome?: "applied" | "kept_removed" | "restored" | "merge_stale" | "failed"
}>
next_cursor?: string
}

MergePlanResourceDetailโ€‹

type MergePlanResourceDetail = {
resource_key: string
resource_type: "journey"
lineage_id: string
target_id: string
label: string
model_version: string
base_provenance: {
rung: "apply_evidence" | "none"
job_id?: string
manifest_version?: string
reason?: "no_evidence" | "unreconciled" | "no_manifest" | "not_in_manifest" | "translation_gap"
}
eligibility: "merge" | "two_way" | "blocked" | "automatic_keep_absent" | "absence_decision"
fast_path: boolean
auto_counts: {
from_current: number
from_incoming: number
}
decision_groups: Array<{
group_id: string
group_signature: string
kind: "conflict" | "mandatory" | "confirm"
scope: "units" | "order" | "resource"
section_refs: Array<{
resource_lineage_id: { ... }
section_id: { ... }
item_path?: { ... }
}>
ui_concept: string
label_key: string
values: Array<{
section_ref: { ... }
label: { ... }
base: { ... }
current: { ... }
incoming: { ... }
}>
options: Array<{
option_id: { ... }
label_key: { ... }
description_key: { ... }
}>
selection_required: boolean
selected_option_id?: "keep_current" | "take_incoming" | "keep_absent" | "restore_incoming"
mandatory_declaration_ids: string[]
batch_key?: string
sequence_labels?: {
base?: { ... }
current: { ... }
incoming: { ... }
}
}>
warnings: Array<{
code: string
target: string
unit_key?: string
level?: "warning"
message: string
}>
status: "automatic" | "decisions_required" | "ready" | "blocked"
blocking_reasons: string[]
outcome?: "applied" | "kept_removed" | "restored" | "merge_stale" | "failed"
}

MergePlanResourceReviewโ€‹

type MergePlanResourceReview = {
merge_plan_id: string
plan_revision: number
resource: {
resource_key: string
resource_type: "journey"
lineage_id: string
target_id: string
label: string
model_version: string
base_provenance: {
rung: { ... }
job_id?: { ... }
manifest_version?: { ... }
reason?: { ... }
}
eligibility: "merge" | "two_way" | "blocked" | "automatic_keep_absent" | "absence_decision"
fast_path: boolean
auto_counts: {
from_current: { ... }
from_incoming: { ... }
}
decision_groups: Array<{
group_id: { ... }
group_signature: { ... }
kind: { ... }
scope: { ... }
section_refs: { ... }
ui_concept: { ... }
label_key: { ... }
values: { ... }
options: { ... }
selection_required: { ... }
selected_option_id?: { ... }
mandatory_declaration_ids: { ... }
batch_key?: { ... }
sequence_labels?: { ... }
}>
warnings: Array<{
code: { ... }
target: { ... }
unit_key?: { ... }
level?: { ... }
message: { ... }
}>
status: "automatic" | "decisions_required" | "ready" | "blocked"
blocking_reasons: string[]
outcome?: "applied" | "kept_removed" | "restored" | "merge_stale" | "failed"
}
}

MergePlanResolutionsUpdateโ€‹

type MergePlanResolutionsUpdate = {
expected_plan_revision: number
resolutions: Array<{
group_id: string
group_signature: string
option_id: string
}>
}

MergePlanApplyRequestโ€‹

type MergePlanApplyRequest = {
expected_plan_revision: number
idempotency_key: string
}

MergePlanRevisionRequestโ€‹

Body of discard and refresh requests.

type MergePlanRevisionRequest = {
expected_plan_revision: number
}

MergePlanReplanResultโ€‹

type MergePlanReplanResult = {
merge_plan_id: string
job_id: string
}

MergeRevertEntryโ€‹

type MergeRevertEntry = {
resource_key: string
lineage_id: string
label: string
resource_type: string
category: "unchanged" | "changed_since_update" | "created_by_update" | "metadata_only" | "not_restorable"
default_action: "restore" | "keep"
requires_choice: boolean
}

MergeRevertPreviewโ€‹

type MergeRevertPreview = {
revert_preview_id: string
preview_revision: number
merge_plan_id: string
entries: Array<{
resource_key: string
lineage_id: string
label: string
resource_type: string
category: "unchanged" | "changed_since_update" | "created_by_update" | "metadata_only" | "not_restorable"
default_action: "restore" | "keep"
requires_choice: boolean
}>
}

MergeRevertSelectionโ€‹

type MergeRevertSelection = {
resource_key: string
action: "restore" | "keep"
}

MergeRevertRequestโ€‹

type MergeRevertRequest = {
revert_preview_id: string
expected_preview_revision: number
idempotency_key: string
selections: Array<{
resource_key: string
action: "restore" | "keep"
}>
session_credentials?: {
refresh_token: string // password
client_id: string
pipeline_id?: string
}
}

MergeRevertResultโ€‹

type MergeRevertResult = {
job_id: string
}

MergePlanErrorโ€‹

type MergePlanError = {
status: number
error: string
group_ids?: string[]
action?: "replan"
merge_plan_id?: string
retry_after?: number
resource_keys?: string[]
}