---
title: "Get diagram for a case instance"
method: GET
path: "/cmmn-runtime/case-instances/{caseInstanceId}/diagram"
tags: ["Case Instances"]
---

# Get diagram for a case instance

`GET /cmmn-runtime/case-instances/{caseInstanceId}/diagram`

## Request

- Base URL: `https://developer-docs.flowable.com/cmmn-api`
- URL: `https://developer-docs.flowable.com/cmmn-api/cmmn-runtime/case-instances/{caseInstanceId}/diagram`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/docs/cmmn-runtime/case-instances/:caseInstanceId/diagram/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `caseInstanceId` string, required

## Response `200`

Indicates the case instance was found and the diagram was returned.

- string[]

## Other responses

- `400`: Indicates the requested case instance was not found but the process does not contain any graphical information (CMMN DI) and no diagram can be created.
- `404`: Indicates the requested case instance was not found.

---

[API](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/revisions/afdfa1fcacd0?raw)
