メインコンテンツへスキップ

get-cloud-diagram-components

dci get-cloud-diagram-components [flags]

Returns diagram and layer data. When the request body is empty, returns all diagrams the caller has access to. When the body is populated, returns full diagram data including layer components projected to key display and cloud fields.

Request

Content-Type: application/json

Schema

{
"type": "object",
"description": "Request body for getting diagram components.\nLeave empty to retrieve all accessible diagrams (returns scheme map only).",
"properties": {
"scheme": {
"type": "array",
"description": "IDs of diagrams to load.",
"items": {
"type": "string"
}
},
"statussheet": {
"type": "array",
"description": "IDs of layers to load.",
"items": {
"type": "string"
}
},
"template": {
"description": "Template type or array of template layer IDs to include.",
"oneOf": [
{
"type": "string",
"enum": [
"component",
"statussheet"
]
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
}

Flags

--components: (boolean)

--external: (boolean)

--element: (boolean)

--link: (boolean)

--group: (boolean)

--note: (boolean)

--combiner: (boolean)

--type: (array)

--node-type: (string enum:"app_component","app_group","app_link","attachment","group","host","link","service")

--alarms-count: (boolean)

--issues-count: (boolean)

--skip-empty: (boolean)

--exclude-default-vpc: (boolean)

--exclude-empty-subnets: (boolean)

Output

OK - Diagram and component data returned.

By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.

FieldTypeDescription
schememap of objectMap of diagram ID to diagram with its connected cloud accounts.
scheme.*._idstringDiagram ID.
scheme.*.namestringDiagram name.
scheme.*.colorstringDiagram color.
scheme.*.typestringDiagram type. One of: "application", "infrastructure", "network", "template".
scheme.*.statussheetarray of objectConnected cloud accounts (layers).
scheme.*.statussheet[].ssidstringLayer ID.
scheme.*.statussheet[].namestringLayer name.
scheme.*.statussheet[].account_namestringConnected cloud account name.
scheme.*.statussheet[].alarms_countintegerNumber of active alarms.
scheme.*.statussheet[].emptybooleanTrue when the layer contains no components.
scheme.*.statussheet[].colorstringLayer color.
statussheetmap of objectMap of layer ID to layer metadata and component collections. Components are projected to key display and cloud fields by default.
statussheet.*.statussheetobjectProjected layer metadata returned inside each layer entry. Contains import state, last updated timestamp, and links version.
statussheet.*.statussheet._idstringLayer ID.
statussheet.*.statussheet.importobjectCurrent import/sync state for a cloud-connected diagram. Nested fields omitted — see the raw JSON schema.
statussheet.*.statussheet.updatedAtstring (date-time)Timestamp of the last update.
statussheet.*.statussheet.linksVersionintegerLinks version counter, incremented on every link change.
statussheet.*.nodemap of objectMap of node ID to node component.
statussheet.*.node.*._idstringNode ID.
statussheet.*.node.*.namestringComponent name.
statussheet.*.node.*.propsobjectCustom component properties (key-value pairs).
statussheet.*.node.*.cld_idstringCloud resource ID (set on cloud-imported components).
statussheet.*.node.*.cld_typestringCloud account type. One of: "AWS", "GCP", "AZURE".
statussheet.*.node.*.cld_syncbooleanWhether this component is synced with cloud.
statussheet.*.node.*.cld_accountstringCloud account ID.
statussheet.*.node.*.tagsarray of stringTags assigned to the component.
statussheet.*.node.*.colorstringNode color.
statussheet.*.node.*.iconstringNode icon identifier.
statussheet.*.node.*.parentstringParent node ID.
statussheet.*.node.*.infra_nodeobjectReference to a linked infrastructure node in another diagram. Nested fields omitted — see the raw JSON schema.
statussheet.*.node.*.instance_countintegerNumber of instances represented by this node.
statussheet.*.node.*.runningbooleanWhether the node is currently running.
statussheet.*.node.*.issuesarray of objectIssues associated with this node. Nested fields omitted — see the raw JSON schema.
statussheet.*.elementmap of objectMap of element ID to element component.
statussheet.*.element.*._idstringElement ID.
statussheet.*.element.*.namestringComponent name.
statussheet.*.element.*.propsobjectCustom component properties (key-value pairs).
statussheet.*.element.*.cld_idstringCloud resource ID (set on cloud-imported components).
statussheet.*.element.*.cld_typestringCloud account type. One of: "AWS", "GCP", "AZURE".
statussheet.*.element.*.cld_syncbooleanWhether this component is synced with cloud.
statussheet.*.element.*.cld_accountstringCloud account ID.
statussheet.*.element.*.tagsarray of stringTags assigned to the component.
statussheet.*.element.*.colorstringElement color.
statussheet.*.element.*.iconstringElement icon identifier.
statussheet.*.element.*.parentstringParent element ID.
statussheet.*.element.*.issuesarray of objectIssues associated with this element. Nested fields omitted — see the raw JSON schema.
statussheet.*.groupmap of objectMap of group ID to group component.
statussheet.*.group.*._idstringGroup ID.
statussheet.*.group.*.namestringComponent name.
statussheet.*.group.*.propsobjectCustom component properties (key-value pairs).
statussheet.*.group.*.cld_idstringCloud resource ID (set on cloud-imported components).
statussheet.*.group.*.cld_typestringCloud account type. One of: "AWS", "GCP", "AZURE".
statussheet.*.group.*.cld_syncbooleanWhether this component is synced with cloud.
statussheet.*.group.*.cld_accountstringCloud account ID.
statussheet.*.group.*.tagsarray of stringTags assigned to the component.
statussheet.*.group.*.group_typestringGroup type. One of: "account", "az", "azure_subscription", "customer_gateway", "ecs", "eks", "aks", "k8s_namespace", "k8s_pod", "k8s_deployment", "k8s_daemon_set", "k8s_replica_set", ….
statussheet.*.group.*.colorstringGroup color.
statussheet.*.group.*.iconstringGroup icon identifier.
statussheet.*.group.*.itemsarray of objectComponents contained in the group. Nested fields omitted — see the raw JSON schema.
statussheet.*.group.*.issuesarray of objectIssues associated with this group. Nested fields omitted — see the raw JSON schema.
statussheet.*.linkmap of objectMap of link ID to link component.
statussheet.*.link.*._idstringLink ID.
statussheet.*.link.*.namestringComponent name.
statussheet.*.link.*.propsobjectCustom component properties (key-value pairs).
statussheet.*.link.*.cld_idstringCloud resource ID (set on cloud-imported components).
statussheet.*.link.*.cld_typestringCloud account type. One of: "AWS", "GCP", "AZURE".
statussheet.*.link.*.cld_syncbooleanWhether this component is synced with cloud.
statussheet.*.link.*.cld_accountstringCloud account ID.
statussheet.*.link.*.tagsarray of stringTags assigned to the component.
statussheet.*.link.*.connection_typestringLink connection type. One of: "normal", "tunnel", "private", "VPN", "VPC Peering", "Network Connectivity Center", "Private Service Connect", "Private Google Access", "Serverless VPC", "Serverless VPC Access Connector", "Cross Cloud Interconnect", "Partner Interconnect", ….
statussheet.*.link.*.originobjectReference to a diagram component, including its parent diagram and layer. Nested fields omitted — see the raw JSON schema.
statussheet.*.link.*.destinationobjectReference to a diagram component, including its parent diagram and layer. Nested fields omitted — see the raw JSON schema.
statussheet.*.link.*.owner_ss_idstringOwner layer ID for cross-diagram links.
statussheet.*.link.*.issuesarray of objectIssues associated with this link. Nested fields omitted — see the raw JSON schema.
statussheet.*.attachmentmap of objectMap of attachment ID to attachment component.
statussheet.*.attachment.*._idstringAttachment ID.
statussheet.*.attachment.*.namestringComponent name.
statussheet.*.attachment.*.propsobjectCustom component properties (key-value pairs).
statussheet.*.attachment.*.cld_idstringCloud resource ID (set on cloud-imported components).
statussheet.*.attachment.*.cld_typestringCloud account type. One of: "AWS", "GCP", "AZURE".
statussheet.*.attachment.*.cld_syncbooleanWhether this component is synced with cloud.
statussheet.*.attachment.*.cld_accountstringCloud account ID.
statussheet.*.attachment.*.tagsarray of stringTags assigned to the component.
statussheet.*.attachment.*.colorstringAttachment color.
statussheet.*.attachment.*.iconstringAttachment icon identifier.
statussheet.*.attachment.*.groupstringParent group ID.
statussheet.*.attachment.*.issuesarray of objectIssues associated with this attachment. Nested fields omitted — see the raw JSON schema.
statussheet.*.combinermap of objectMap of combiner ID to combiner component.
statussheet.*.combiner.*._idstringCombiner ID.
statussheet.*.combiner.*.namestringCombiner name.
statussheet.*.combiner.*.colorstringCombiner color.
statussheet.*.combiner.*.iconstringCombiner icon identifier.
statussheet.*.combiner.*.itemsarray of objectComponents contained in the combiner. Nested fields omitted — see the raw JSON schema.
statussheet.*.notemap of objectMap of note ID to note component.
statussheet.*.note.*._idstringNote ID.
statussheet.*.note.*.textstringNote text content.
statussheet.*.note.*.colorstringNote background color.
statussheet.*.note.*.font_sizenumberNote font size.
templateobjectMap of template layer ID to template data.
Raw JSON schema
{
"type": "object",
"description": "Diagram and layer data.\nWhen called with an empty body, only the diagram map is populated.\nWhen called with a populated body, both diagram and layer maps are returned\nwith components projected to key display and cloud fields by default.",
"properties": {
"scheme": {
"type": "object",
"description": "Map of diagram ID to diagram with its connected cloud accounts.",
"additionalProperties": {
"type": "object",
"required": [
"_id",
"name",
"type",
"statussheet"
],
"description": "A diagram with its connected cloud accounts.",
"properties": {
"_id": {
"type": "string",
"description": "Diagram ID."
},
"name": {
"type": "string",
"description": "Diagram name."
},
"color": {
"type": "string",
"description": "Diagram color."
},
"type": {
"type": "string",
"enum": [
"application",
"infrastructure",
"network",
"template"
],
"description": "Diagram type."
},
"statussheet": {
"type": "array",
"description": "Connected cloud accounts (layers).",
"items": {
"type": "object",
"required": [
"ssid",
"name",
"account_name",
"alarms_count",
"empty",
"color"
],
"description": "Summary of a cloud account (layer) connected to a diagram.",
"properties": {
"ssid": {
"type": "string",
"description": "Layer ID."
},
"name": {
"type": "string",
"description": "Layer name."
},
"account_name": {
"type": "string",
"description": "Connected cloud account name."
},
"alarms_count": {
"type": "integer",
"description": "Number of active alarms."
},
"empty": {
"type": "boolean",
"description": "True when the layer contains no components."
},
"color": {
"type": "string",
"description": "Layer color."
}
}
}
}
}
}
},
"statussheet": {
"type": "object",
"description": "Map of layer ID to layer metadata and component collections.\nComponents are projected to key display and cloud fields by default.",
"additionalProperties": {
"type": "object",
"required": [
"statussheet"
],
"description": "A layer entry with projected metadata and component collections.",
"properties": {
"statussheet": {
"type": "object",
"required": [
"_id",
"updatedAt"
],
"description": "Projected layer metadata returned inside each layer entry.\nContains import state, last updated timestamp, and links version.",
"properties": {
"_id": {
"type": "string",
"description": "Layer ID."
},
"import": {
"type": "object",
"description": "Current import/sync state for a cloud-connected diagram.",
"properties": {
"status": {
"type": "string",
"enum": [
"queued",
"in_progress",
"success",
"failure"
],
"description": "Import status."
},
"type": {
"type": "string",
"enum": [
"AWS",
"GCP",
"AZURE"
],
"description": "Connected cloud account type."
},
"account": {
"type": "string",
"description": "Connected account ID."
},
"cloudId": {
"type": "string",
"description": "Cloud account ID."
},
"errorMessage": {
"type": "string",
"description": "Error message if the import failed."
},
"syncedAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the last successful sync."
}
}
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the last update."
},
"linksVersion": {
"type": "integer",
"description": "Links version counter, incremented on every link change."
}
}
},
"node": {
"type": "object",
"description": "Map of node ID to node component.",
"additionalProperties": {
"type": "object",
"required": [
"_id"
],
"description": "A node component (host, service, or application component).",
"properties": {
"_id": {
"type": "string",
"description": "Node ID."
},
"name": {
"type": "string",
"description": "Component name."
},
"props": {
"type": "object",
"additionalProperties": true,
"description": "Custom component properties (key-value pairs)."
},
"cld_id": {
"type": "string",
"description": "Cloud resource ID (set on cloud-imported components)."
},
"cld_type": {
"type": "string",
"enum": [
"AWS",
"GCP",
"AZURE"
],
"description": "Cloud account type."
},
"cld_sync": {
"type": "boolean",
"description": "Whether this component is synced with cloud."
},
"cld_account": {
"type": "string",
"description": "Cloud account ID."
},
"tags": {
"type": "array",
"description": "Tags assigned to the component.",
"items": {
"type": "string"
}
},
"color": {
"type": "string",
"description": "Node color."
},
"icon": {
"type": "string",
"description": "Node icon identifier."
},
"parent": {
"type": "string",
"description": "Parent node ID."
},
"infra_node": {
"type": "object",
"required": [
"_id",
"scheme_id",
"ss_id"
],
"description": "Reference to a linked infrastructure node in another diagram.",
"properties": {
"_id": {
"type": "string",
"description": "Infrastructure node ID."
},
"scheme_id": {
"type": "string",
"description": "Parent diagram ID."
},
"ss_id": {
"type": "string",
"description": "Parent layer ID."
}
}
},
"instance_count": {
"type": "integer",
"description": "Number of instances represented by this node."
},
"running": {
"type": "boolean",
"description": "Whether the node is currently running."
},
"issues": {
"type": "array",
"description": "Issues associated with this node.",
"items": {
"type": "object",
"description": "Issue annotation linked to a component.",
"properties": {
"_id": {
"type": "string",
"description": "Issue reference ID."
},
"comment": {
"type": "string",
"description": "Optional comment on the issue."
},
"snoozed": {
"type": "number",
"description": "Snooze duration in seconds."
},
"jira": {
"type": "string",
"description": "Linked Jira ticket key or URL."
}
}
}
}
}
}
},
"element": {
"type": "object",
"description": "Map of element ID to element component.",
"additionalProperties": {
"type": "object",
"required": [
"_id"
],
"description": "An element component (application-layer component).",
"properties": {
"_id": {
"type": "string",
"description": "Element ID."
},
"name": {
"type": "string",
"description": "Component name."
},
"props": {
"type": "object",
"additionalProperties": true,
"description": "Custom component properties (key-value pairs)."
},
"cld_id": {
"type": "string",
"description": "Cloud resource ID (set on cloud-imported components)."
},
"cld_type": {
"type": "string",
"enum": [
"AWS",
"GCP",
"AZURE"
],
"description": "Cloud account type."
},
"cld_sync": {
"type": "boolean",
"description": "Whether this component is synced with cloud."
},
"cld_account": {
"type": "string",
"description": "Cloud account ID."
},
"tags": {
"type": "array",
"description": "Tags assigned to the component.",
"items": {
"type": "string"
}
},
"color": {
"type": "string",
"description": "Element color."
},
"icon": {
"type": "string",
"description": "Element icon identifier."
},
"parent": {
"type": "string",
"description": "Parent element ID."
},
"issues": {
"type": "array",
"description": "Issues associated with this element.",
"items": {
"type": "object",
"description": "Issue annotation linked to a component.",
"properties": {
"_id": {
"type": "string",
"description": "Issue reference ID."
},
"comment": {
"type": "string",
"description": "Optional comment on the issue."
},
"snoozed": {
"type": "number",
"description": "Snooze duration in seconds."
},
"jira": {
"type": "string",
"description": "Linked Jira ticket key or URL."
}
}
}
}
}
}
},
"group": {
"type": "object",
"description": "Map of group ID to group component.",
"additionalProperties": {
"type": "object",
"required": [
"_id"
],
"description": "A group component (VPC, subnet, region, cluster, etc.).",
"properties": {
"_id": {
"type": "string",
"description": "Group ID."
},
"name": {
"type": "string",
"description": "Component name."
},
"props": {
"type": "object",
"additionalProperties": true,
"description": "Custom component properties (key-value pairs)."
},
"cld_id": {
"type": "string",
"description": "Cloud resource ID (set on cloud-imported components)."
},
"cld_type": {
"type": "string",
"enum": [
"AWS",
"GCP",
"AZURE"
],
"description": "Cloud account type."
},
"cld_sync": {
"type": "boolean",
"description": "Whether this component is synced with cloud."
},
"cld_account": {
"type": "string",
"description": "Cloud account ID."
},
"tags": {
"type": "array",
"description": "Tags assigned to the component.",
"items": {
"type": "string"
}
},
"group_type": {
"type": "string",
"enum": [
"account",
"az",
"azure_subscription",
"customer_gateway",
"ecs",
"eks",
"aks",
"k8s_namespace",
"k8s_pod",
"k8s_deployment",
"k8s_daemon_set",
"k8s_replica_set",
"k8s_stateful_set",
"project",
"region",
"security_group",
"subnet",
"vpc",
"gcp_instance_group",
"gcp_managed_zone",
"gke_cluster",
"azure_dns_zone",
"azure_cdn_profile",
"azure_resource_group"
],
"description": "Group type."
},
"color": {
"type": "string",
"description": "Group color."
},
"icon": {
"type": "string",
"description": "Group icon identifier."
},
"items": {
"type": "array",
"description": "Components contained in the group.",
"items": {
"type": "object",
"required": [
"_id",
"type"
],
"description": "Reference to a component contained within a group.",
"properties": {
"_id": {
"type": "string",
"description": "Component ID."
},
"type": {
"type": "string",
"enum": [
"attachment",
"combiner",
"element",
"group",
"link",
"node",
"note",
"scheme",
"statussheet"
],
"description": "Component type."
}
}
}
},
"issues": {
"type": "array",
"description": "Issues associated with this group.",
"items": {
"type": "object",
"description": "Issue annotation linked to a component.",
"properties": {
"_id": {
"type": "string",
"description": "Issue reference ID."
},
"comment": {
"type": "string",
"description": "Optional comment on the issue."
},
"snoozed": {
"type": "number",
"description": "Snooze duration in seconds."
},
"jira": {
"type": "string",
"description": "Linked Jira ticket key or URL."
}
}
}
}
}
}
},
"link": {
"type": "object",
"description": "Map of link ID to link component.",
"additionalProperties": {
"type": "object",
"required": [
"_id",
"origin",
"destination"
],
"description": "A link component connecting two nodes or groups.",
"properties": {
"_id": {
"type": "string",
"description": "Link ID."
},
"name": {
"type": "string",
"description": "Component name."
},
"props": {
"type": "object",
"additionalProperties": true,
"description": "Custom component properties (key-value pairs)."
},
"cld_id": {
"type": "string",
"description": "Cloud resource ID (set on cloud-imported components)."
},
"cld_type": {
"type": "string",
"enum": [
"AWS",
"GCP",
"AZURE"
],
"description": "Cloud account type."
},
"cld_sync": {
"type": "boolean",
"description": "Whether this component is synced with cloud."
},
"cld_account": {
"type": "string",
"description": "Cloud account ID."
},
"tags": {
"type": "array",
"description": "Tags assigned to the component.",
"items": {
"type": "string"
}
},
"connection_type": {
"type": "string",
"enum": [
"normal",
"tunnel",
"private",
"VPN",
"VPC Peering",
"Network Connectivity Center",
"Private Service Connect",
"Private Google Access",
"Serverless VPC",
"Serverless VPC Access Connector",
"Cross Cloud Interconnect",
"Partner Interconnect",
"Dedicated Interconnect"
],
"description": "Link connection type."
},
"origin": {
"type": "object",
"required": [
"_id",
"type",
"scheme_id",
"ss_id"
],
"description": "Reference to a diagram component, including its parent diagram and layer.",
"properties": {
"_id": {
"type": "string",
"description": "Component ID."
},
"type": {
"type": "string",
"enum": [
"attachment",
"combiner",
"element",
"group",
"link",
"node",
"note",
"scheme",
"statussheet"
],
"description": "Component type."
},
"scheme_id": {
"type": "string",
"description": "Parent diagram ID."
},
"ss_id": {
"type": "string",
"description": "Parent layer ID."
}
}
},
"destination": {
"type": "object",
"required": [
"_id",
"type",
"scheme_id",
"ss_id"
],
"description": "Reference to a diagram component, including its parent diagram and layer.",
"properties": {
"_id": {
"type": "string",
"description": "Component ID."
},
"type": {
"type": "string",
"enum": [
"attachment",
"combiner",
"element",
"group",
"link",
"node",
"note",
"scheme",
"statussheet"
],
"description": "Component type."
},
"scheme_id": {
"type": "string",
"description": "Parent diagram ID."
},
"ss_id": {
"type": "string",
"description": "Parent layer ID."
}
}
},
"owner_ss_id": {
"type": "string",
"description": "Owner layer ID for cross-diagram links."
},
"issues": {
"type": "array",
"description": "Issues associated with this link.",
"items": {
"type": "object",
"description": "Issue annotation linked to a component.",
"properties": {
"_id": {
"type": "string",
"description": "Issue reference ID."
},
"comment": {
"type": "string",
"description": "Optional comment on the issue."
},
"snoozed": {
"type": "number",
"description": "Snooze duration in seconds."
},
"jira": {
"type": "string",
"description": "Linked Jira ticket key or URL."
}
}
}
}
}
}
},
"attachment": {
"type": "object",
"description": "Map of attachment ID to attachment component.",
"additionalProperties": {
"type": "object",
"required": [
"_id"
],
"description": "An attachment component added to a group.",
"properties": {
"_id": {
"type": "string",
"description": "Attachment ID."
},
"name": {
"type": "string",
"description": "Component name."
},
"props": {
"type": "object",
"additionalProperties": true,
"description": "Custom component properties (key-value pairs)."
},
"cld_id": {
"type": "string",
"description": "Cloud resource ID (set on cloud-imported components)."
},
"cld_type": {
"type": "string",
"enum": [
"AWS",
"GCP",
"AZURE"
],
"description": "Cloud account type."
},
"cld_sync": {
"type": "boolean",
"description": "Whether this component is synced with cloud."
},
"cld_account": {
"type": "string",
"description": "Cloud account ID."
},
"tags": {
"type": "array",
"description": "Tags assigned to the component.",
"items": {
"type": "string"
}
},
"color": {
"type": "string",
"description": "Attachment color."
},
"icon": {
"type": "string",
"description": "Attachment icon identifier."
},
"group": {
"type": "string",
"description": "Parent group ID."
},
"issues": {
"type": "array",
"description": "Issues associated with this attachment.",
"items": {
"type": "object",
"description": "Issue annotation linked to a component.",
"properties": {
"_id": {
"type": "string",
"description": "Issue reference ID."
},
"comment": {
"type": "string",
"description": "Optional comment on the issue."
},
"snoozed": {
"type": "number",
"description": "Snooze duration in seconds."
},
"jira": {
"type": "string",
"description": "Linked Jira ticket key or URL."
}
}
}
}
}
}
},
"combiner": {
"type": "object",
"description": "Map of combiner ID to combiner component.",
"additionalProperties": {
"type": "object",
"required": [
"_id"
],
"description": "A combiner component that visually groups multiple components.",
"properties": {
"_id": {
"type": "string",
"description": "Combiner ID."
},
"name": {
"type": "string",
"description": "Combiner name."
},
"color": {
"type": "string",
"description": "Combiner color."
},
"icon": {
"type": "string",
"description": "Combiner icon identifier."
},
"items": {
"type": "array",
"description": "Components contained in the combiner.",
"items": {
"type": "object",
"required": [
"_id",
"type"
],
"description": "A component reference contained within a combiner.",
"properties": {
"_id": {
"type": "string",
"description": "Component ID."
},
"type": {
"type": "string",
"enum": [
"attachment",
"combiner",
"element",
"group",
"link",
"node",
"note",
"scheme",
"statussheet"
],
"description": "Component type."
}
}
}
}
}
}
},
"note": {
"type": "object",
"description": "Map of note ID to note component.",
"additionalProperties": {
"type": "object",
"required": [
"_id"
],
"description": "A text note placed on the diagram.",
"properties": {
"_id": {
"type": "string",
"description": "Note ID."
},
"text": {
"type": "string",
"description": "Note text content."
},
"color": {
"type": "string",
"description": "Note background color."
},
"font_size": {
"type": "number",
"description": "Note font size."
}
}
}
}
}
}
},
"template": {
"type": "object",
"description": "Map of template layer ID to template data.",
"additionalProperties": true
}
}
}

Errors

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.

Aliases: getclouddiagramcomponents