---
title: "Export diagram as JSON"
method: GET
path: "/clouddiagrams/v1/statussheet/{id}/export-json"
tags: ["Cloud Diagrams"]
---

# Export diagram as JSON

`GET /clouddiagrams/v1/statussheet/{id}/export-json`

Exports the full content of a diagram layer as a structured JSON document,
including all components and export metadata.

## Path parameters

- `id` string, required

## Response `200`

OK - Diagram exported as JSON.

- CloudDiagramExportJsonResponse — Full diagram export as a structured JSON document.
  - `statussheet` object — Diagram-level metadata (excluding internal IDs).
  - `metadata` CloudDiagramExportJsonMetadata, required — Metadata included in a diagram JSON export.
    - `user` string, required — Email of the user who triggered the export.
    - `date` string, date-time, required — ISO 8601 timestamp of the export.
    - `version` string, required — Export format version.
    - `connections` object — Map of component ID to display label for external connections referenced by cross-diagram links.
  - `nodes` CloudDiagramNode[] — Exported nodes.
    - `_id` string, required — Node ID.
    - `name` string — Component name.
    - `props` object — Custom component properties (key-value pairs).
    - `cld_id` string — Cloud resource ID (set on cloud-imported components).
    - `cld_type` 'AWS' | 'GCP' | 'AZURE' — Cloud account type.
    - `cld_sync` boolean — Whether this component is synced with cloud.
    - `cld_account` string — Cloud account ID.
    - `tags` string[] — Tags assigned to the component.
    - `color` string — Node color.
    - `icon` string — Node icon identifier.
    - `parent` string — Parent node ID.
    - `infra_node` CloudDiagramInfraNodeRef — Reference to a linked infrastructure node in another diagram.
      - `_id` string, required — Infrastructure node ID.
      - `scheme_id` string, required — Parent diagram ID.
      - `ss_id` string, required — Parent layer ID.
    - `instance_count` integer — Number of instances represented by this node.
    - `running` boolean — Whether the node is currently running.
    - `issues` CloudDiagramIssue[] — Issues associated with this node.
      - `_id` string — Issue reference ID.
      - `comment` string — Optional comment on the issue.
      - `snoozed` number — Snooze duration in seconds.
      - `jira` string — Linked Jira ticket key or URL.
  - `elements` CloudDiagramElement[] — Exported elements.
    - `_id` string, required — Element ID.
    - `name` string — Component name.
    - `props` object — Custom component properties (key-value pairs).
    - `cld_id` string — Cloud resource ID (set on cloud-imported components).
    - `cld_type` 'AWS' | 'GCP' | 'AZURE' — Cloud account type.
    - `cld_sync` boolean — Whether this component is synced with cloud.
    - `cld_account` string — Cloud account ID.
    - `tags` string[] — Tags assigned to the component.
    - `color` string — Element color.
    - `icon` string — Element icon identifier.
    - `parent` string — Parent element ID.
    - `issues` CloudDiagramIssue[] — Issues associated with this element.
      - `_id` string — Issue reference ID.
      - `comment` string — Optional comment on the issue.
      - `snoozed` number — Snooze duration in seconds.
      - `jira` string — Linked Jira ticket key or URL.
  - `groups` CloudDiagramGroup[] — Exported groups.
    - `_id` string, required — Group ID.
    - `name` string — Component name.
    - `props` object — Custom component properties (key-value pairs).
    - `cld_id` string — Cloud resource ID (set on cloud-imported components).
    - `cld_type` 'AWS' | 'GCP' | 'AZURE' — Cloud account type.
    - `cld_sync` boolean — Whether this component is synced with cloud.
    - `cld_account` string — Cloud account ID.
    - `tags` string[] — Tags assigned to the component.
    - `group_type` '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' — Group type.
    - `color` string — Group color.
    - `icon` string — Group icon identifier.
    - `items` CloudDiagramGroupItem[] — Components contained in the group.
      - `_id` string, required — Component ID.
      - `type` 'attachment' | 'combiner' | 'element' | 'group' | 'link' | 'node' | 'note' | 'scheme' | 'statussheet', required — Component type.
    - `issues` CloudDiagramIssue[] — Issues associated with this group.
      - `_id` string — Issue reference ID.
      - `comment` string — Optional comment on the issue.
      - `snoozed` number — Snooze duration in seconds.
      - `jira` string — Linked Jira ticket key or URL.
  - `attachments` CloudDiagramAttachment[] — Exported attachments.
    - `_id` string, required — Attachment ID.
    - `name` string — Component name.
    - `props` object — Custom component properties (key-value pairs).
    - `cld_id` string — Cloud resource ID (set on cloud-imported components).
    - `cld_type` 'AWS' | 'GCP' | 'AZURE' — Cloud account type.
    - `cld_sync` boolean — Whether this component is synced with cloud.
    - `cld_account` string — Cloud account ID.
    - `tags` string[] — Tags assigned to the component.
    - `color` string — Attachment color.
    - `icon` string — Attachment icon identifier.
    - `group` string — Parent group ID.
    - `issues` CloudDiagramIssue[] — Issues associated with this attachment.
      - `_id` string — Issue reference ID.
      - `comment` string — Optional comment on the issue.
      - `snoozed` number — Snooze duration in seconds.
      - `jira` string — Linked Jira ticket key or URL.
  - `links` CloudDiagramLink[] — Exported links.
    - `_id` string, required — Link ID.
    - `name` string — Component name.
    - `props` object — Custom component properties (key-value pairs).
    - `cld_id` string — Cloud resource ID (set on cloud-imported components).
    - `cld_type` 'AWS' | 'GCP' | 'AZURE' — Cloud account type.
    - `cld_sync` boolean — Whether this component is synced with cloud.
    - `cld_account` string — Cloud account ID.
    - `tags` string[] — Tags assigned to the component.
    - `connection_type` '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' — Link connection type.
    - `origin` CloudDiagramComponentRef, required — Reference to a diagram component, including its parent diagram and layer.
      - `_id` string, required — Component ID.
      - `type` 'attachment' | 'combiner' | 'element' | 'group' | 'link' | 'node' | 'note' | 'scheme' | 'statussheet', required — Component type.
      - `scheme_id` string, required — Parent diagram ID.
      - `ss_id` string, required — Parent layer ID.
    - `destination` CloudDiagramComponentRef, required — Reference to a diagram component, including its parent diagram and layer.
      - `_id` string, required — Component ID.
      - `type` 'attachment' | 'combiner' | 'element' | 'group' | 'link' | 'node' | 'note' | 'scheme' | 'statussheet', required — Component type.
      - `scheme_id` string, required — Parent diagram ID.
      - `ss_id` string, required — Parent layer ID.
    - `owner_ss_id` string — Owner layer ID for cross-diagram links.
    - `issues` CloudDiagramIssue[] — Issues associated with this link.
      - `_id` string — Issue reference ID.
      - `comment` string — Optional comment on the issue.
      - `snoozed` number — Snooze duration in seconds.
      - `jira` string — Linked Jira ticket key or URL.
  - `combiners` CloudDiagramCombiner[] — Exported combiners.
    - `_id` string, required — Combiner ID.
    - `name` string — Combiner name.
    - `color` string — Combiner color.
    - `icon` string — Combiner icon identifier.
    - `items` CloudDiagramCombinerItem[] — Components contained in the combiner.
      - `_id` string, required — Component ID.
      - `type` 'attachment' | 'combiner' | 'element' | 'group' | 'link' | 'node' | 'note' | 'scheme' | 'statussheet', required — Component type.
  - `notes` CloudDiagramNote[] — Exported notes.
    - `_id` string, required — Note ID.
    - `text` string — Note text content.
    - `color` string — Note background color.
    - `font_size` number — Note font size.

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - Either the resource does not exist, or the caller is not authorized to access it. These two cases are deliberately indistinguishable to avoid information disclosure: the access guard runs before any existence check, so callers receive 403 (not 404) for unknown IDs on this endpoint. Used by Cloud Diagrams routes keyed by a path-param resource id (e.g. `/clouddiagrams/v1/statussheet/{id}/...`).

---

[API](https://skmtc.dev/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.dev/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/revisions/9416402fc119/schema)
