Graph
Return direct descendants of a provided node
🔒 Requires the read:environment permission
The type of provided node to retrieve edges for:
- collection - edges will consist of blueprint nodes based on deployments for provided collection id
- deployment - edges will consist of blueprint nodes for provided deployment id
- blueprint - edges will consist of either blueprint nodes (if nested under provided blueprint) or property nodes for provided blueprint id.
Graph node id to retrieve edges for
List of edges for provided node
List of edges for provided node
Failed to get edges for provided graph node
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Graph node not found
Too many requests
GET /api/v1/graph/edges/{type}/{id} HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"total": 1,
"nodes": [
{
"type": "ENVIRONMENT",
"childCount": 1,
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"slug": "production-europe",
"name": "Production Europe",
"color": "#0000ff",
"allow_pre_release": false,
"is_default": true,
"enabled_policies": [
"require_owner_approval"
],
"is_active": true,
"is_deleted": true,
"created": "2026-01-01T00:00:00.000Z",
"users": [
{
"id": "prov0|1234567890",
"name": "John Doe",
"email": "johndoe@mail.com",
"nickname": "JD",
"picture": "https://example.com/profile.jpg",
"roles": [
{
"id": "rol_abCdeFghIjklMnmP",
"name": "Admin",
"description": "Role for managing Admin permissions"
}
],
"membership_role": "member"
}
],
"cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
],
"is_primary": true,
"profile": "secrets-manager"
},
"discovery_cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
]
}
}
]
}Return properties of a provided node alongside with its siblings and parent recursively to the beginning of the graph
🔒 Requires the read:environment permission
The type of provided node to retrieve details for:
- collection - response will consist of collection details for provided id alongside with its siblings
- deployment - response will consist of deployment details for provided id alongside with its siblings within same collection, parent collection and its siblings
- blueprint - response will consist of blueprint details for provided id alongside with its siblings within same deployment, parent deployment, parent collection and their siblings correspondingly
- property - response will consist of property details for provided id alongside with its siblings within same blueprint, parent blueprint, parent deployment, parent collection and its siblings correspondingly
Graph node id to retrieve details, siblings and parent for
If true, response will not include siblings of provided and parent nodes
falseDetailed node information with graph relations
Detailed node information with graph relations
Failed to get node details
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Graph node not found
Too many requests
GET /api/v1/graph/{type}/{id} HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"node": {
"type": "ENVIRONMENT",
"childCount": 1,
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"slug": "production-europe",
"name": "Production Europe",
"color": "#0000ff",
"allow_pre_release": false,
"is_default": true,
"enabled_policies": [
"require_owner_approval"
],
"is_active": true,
"is_deleted": true,
"created": "2026-01-01T00:00:00.000Z",
"users": [
{
"id": "prov0|1234567890",
"name": "John Doe",
"email": "johndoe@mail.com",
"nickname": "JD",
"picture": "https://example.com/profile.jpg",
"roles": [
{
"id": "rol_abCdeFghIjklMnmP",
"name": "Admin",
"description": "Role for managing Admin permissions"
}
],
"membership_role": "member"
}
],
"cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
],
"is_primary": true,
"profile": "secrets-manager"
},
"discovery_cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
]
}
},
"siblings": [
{
"type": "ENVIRONMENT",
"childCount": 1,
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"slug": "production-europe",
"name": "Production Europe",
"color": "#0000ff",
"allow_pre_release": false,
"is_default": true,
"enabled_policies": [
"require_owner_approval"
],
"is_active": true,
"is_deleted": true,
"created": "2026-01-01T00:00:00.000Z",
"users": [
{
"id": "prov0|1234567890",
"name": "John Doe",
"email": "johndoe@mail.com",
"nickname": "JD",
"picture": "https://example.com/profile.jpg",
"roles": [
{
"id": "rol_abCdeFghIjklMnmP",
"name": "Admin",
"description": "Role for managing Admin permissions"
}
],
"membership_role": "member"
}
],
"cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
],
"is_primary": true,
"profile": "secrets-manager"
},
"discovery_cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
]
}
}
],
"parent": null
}Return all nodes for provided type
🔒 Requires the read:environment permission
Node type
Structure: [key1=value1,key2=value2&value3]
Enables searching within the list of node names that match a particular querye.g. my_collection
List of nodes for provided type
List of nodes for provided type
Failed to get graph nodes
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:environment permission
Too many requests
GET /api/v1/graph/{type} HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"total": 1,
"nodes": [
{
"type": "ENVIRONMENT",
"childCount": 1,
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"slug": "production-europe",
"name": "Production Europe",
"color": "#0000ff",
"allow_pre_release": false,
"is_default": true,
"enabled_policies": [
"require_owner_approval"
],
"is_active": true,
"is_deleted": true,
"created": "2026-01-01T00:00:00.000Z",
"users": [
{
"id": "prov0|1234567890",
"name": "John Doe",
"email": "johndoe@mail.com",
"nickname": "JD",
"picture": "https://example.com/profile.jpg",
"roles": [
{
"id": "rol_abCdeFghIjklMnmP",
"name": "Admin",
"description": "Role for managing Admin permissions"
}
],
"membership_role": "member"
}
],
"cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
],
"is_primary": true,
"profile": "secrets-manager"
},
"discovery_cloud_account": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Europe",
"provider": "aws",
"type": "execution",
"slug": "production-europe",
"is_active": true,
"is_deleted": false,
"created": "2026-01-01T00:00:00.000Z",
"cloud_account": "123456789012",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"external_id": "abcdef-ghijklm",
"cloud_config": {
"execution": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"discovery": {
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123"
},
"service_account_email": "sa@project_id.iam.gserviceaccount.com",
"scopes": "https://www.googleapis.com/auth/cloud-platform",
"tenant_id": "text",
"subscription_id": "text",
"federated_app_client_id": "text",
"oidc_issuer_url": "https://example.com",
"oidc_audience": "text",
"cluster_name": "text",
"service_account_namespace": "text",
"service_account_name": "text",
"cluster_oidc_url": "https://example.com",
"assume_role_arn": "arn:aws:iam::123456789012:role/Bluebricks-Setup-BluebricksReadOnlyRole-123abc456DEF",
"cloud_formation_stack_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/bluebricks-setup/abcde12345-6789-0123-4567-89abcdef0123",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"types": [
"execution"
]
}
}
]
}Import state from a file
🔒 Requires the create:environment permission
State file to import
state_file=@path/to/tfstate.jsonDeployment name for imported state (optional)
Imported state node details
Imported state node details
The ID of the blueprint node in the graph
The package name e.g. @bluebricks/aws-vpc
@bluebricks/aws-vpcThe package version e.g. 1.2.3
1.2.3The relative ID of the package inside of the parent (-1 if root blueprint)
The unique ID of the package
The type of the package
The date and time the resource was created e.g. 2022-01-01T00:00:00.000Z
terraformPossible values: Failed to import state
Failed to authenticate user
Missing required scopes. 🔒 Requires the create:environment permission
Imported state with provided name already exists
Too many requests
POST /api/v1/graph/state/import HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 74
{
"state_file": "state_file=@path/to/tfstate.json",
"deployment_name": "text"
}{
"type": "BLUEPRINT",
"id": "text",
"name": "@bluebricks/aws-vpc",
"version": "1.2.3",
"relativeId": 1,
"packageUniqueId": "text",
"packageType": "blueprint",
"created": "2026-01-01T00:00:00.000Z",
"timestamp": "2026-01-01T00:00:00.000Z",
"iacType": [
"terraform"
],
"deployment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"slug": "text",
"stage": "pending",
"task": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"collection": {
"id": "f27d96be-c486-4075-a926-0ee96775119e",
"name": "Production Europe"
}
}
}
}Delete imported state
🔒 Requires the update:environment permission
Deployment id to delete imported state
State deleted successfully
State deleted successfully
Failed to delete imported state
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:environment permission
Imported state not found
Too many requests
DELETE /api/v1/graph/state/delete HTTP/1.1
Host: api.bluebricks.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"deployment_id": "text"
}No content
Last updated

