---
title: "Create"
method: POST
path: "/landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/export/image"
tags: ["Diagrams"]
---

# Create

`POST /landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/export/image`

## Path parameters

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

## Request body

- DiagramExportImageOptions
  - `draftId` string — Fetch and apply draft tasks before producing the export
  - `flowId` string
  - `flowPathIds` string[]
  - `focusIds` string[]
  - `groupId` string
  - `hideIds` string[]
  - `maxWidth` integer — Maximum pixel width for the exported PNG. The image will be scaled down if the diagram exceeds this width. Defaults to no limit (up to 10240px).
  - `pinIds` string[]
  - `tab` 'tags' | 'technology' | 'status' | 'teams'
  - `theme` 'light' | 'dark'

## Response `200`

OK

- object
  - `diagramExportImage` DiagramExportImage, required
    - `completedAt` string, date-time
    - `createdAt` string, date-time, required
    - `deleteAt` string, date-time, required
    - `diagramId` string, required
    - `error` string, nullable, required
    - `fileUrls` DiagramExportImageFileUrls, required
      - `png` string, uri, required
      - `svg` string, uri, required
    - `id` string, required
    - `landscapeId` string, required
    - `options` DiagramExportImageOptions, required
      - `draftId` string — Fetch and apply draft tasks before producing the export
      - `flowId` string
      - `flowPathIds` string[]
      - `focusIds` string[]
      - `groupId` string
      - `hideIds` string[]
      - `maxWidth` integer — Maximum pixel width for the exported PNG. The image will be scaled down if the diagram exceeds this width. Defaults to no limit (up to 10240px).
      - `pinIds` string[]
      - `tab` 'tags' | 'technology' | 'status' | 'teams'
      - `theme` 'light' | 'dark'
    - `versionId` string, required

## Other responses

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

---

[API](https://skmtc.net/icepanel/apis/icepanel-api.md) · [All operations](https://skmtc.net/icepanel/apis/icepanel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/icepanel/icepanel-api/revisions/27e82759be89/schema)
