---
title: "Get"
method: GET
path: "/landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/content"
tags: ["Diagram Content"]
---

# Get

`GET /landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/content`

## Request

- Base URL: `https://api.icepanel.io/v1`
- URL: `https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/content`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `landscapeId` string, required
- `versionId` string, required
- `diagramId` string, required

## Query parameters

- `updateViewedAt` boolean

## Response `200`

OK

- object
  - `diagramContent` DiagramContent, required
    - `comments` object, required: The comments on the diagram, keyed by comment id
    - `commit` number, required: The commit number of the diagram content, incremented on each change
    - `connections` object, required
    - `objects` object, required
    - `createdAt` string, date-time, required
    - `createdBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `createdById` string, required
    - `deletedAt` string, date-time
    - `deletedBy` 'user' | 'api-key' | 'notification-key' | 'service'
    - `deletedById` string
    - `groupId` string, nullable, required: The id of the diagram group the diagram belongs to, null when not in a group
    - `handleId` string, required: A short id of the diagram stable across landscape versions
    - `id` string, required
    - `landscapeId` string, required
    - `latestEntityId` string
    - `modelId` string, required: The id of the model object the diagram belongs to
    - `name` string, required
    - `status` 'current', required
    - `type` 'app-diagram' | 'component-diagram' | 'context-diagram', required
    - `updatedAt` string, date-time, required
    - `updatedBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `updatedById` string, required
    - `version` number, required: The version number of the diagram content, incremented on each update
    - `versionId` string, required
    - `viewedAt` string, date-time
    - `viewedBy` 'user' | 'api-key' | 'notification-key' | 'service'
    - `viewedById` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Resource Exhausted
- `500`: Internal Server

## Changes

- **2026-09-21** `047e51f699ff`: 1 info
  - added the optional property `diagramContent/connections/additionalProperties/breakpoints` to the response with the `200` status
- **2026-08-12** `2ebc2913a98a`: 1 breaking, 1 info
  - the response property `diagramContent/connections/additionalProperties/points` became optional for the status `200`
  - response property `diagramContent/connections/additionalProperties/points` deprecated
- **2026-07-22** `0fe4f00b60cf`: 1 info
  - added the non-success response with the status `429`
- **2026-06-03** `181c90adca5e`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/icepanel/apis/icepanel-api/changes/landscapes/:landscapeId/versions/:versionId/diagrams/:diagramId/content/get.md)

---

[API](https://skmtc.dev/icepanel/apis/icepanel-api.md) - [All operations](https://skmtc.dev/icepanel/apis/icepanel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/icepanel/apis/icepanel-api/revisions/7d1119835bbb?raw)
