---
title: "Get a case definition"
method: GET
path: "/cmmn-repository/case-definitions/{caseDefinitionId}"
tags: ["Case Definitions"]
---

# Get a case definition

`GET /cmmn-repository/case-definitions/{caseDefinitionId}`

## Request

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

## Path parameters

- `caseDefinitionId` string, required

## Response `200`

Indicates request was successful and the case definitions are returned

- CaseDefinitionResponse
  - `id` string
  - `url` string
  - `key` string
  - `version` integer
  - `name` string
  - `description` string
  - `tenantId` string
  - `deploymentId` string
  - `deploymentUrl` string
  - `resource` string: Contains the actual deployed CMMN 1.1 xml.
  - `diagramResource` string: Contains a graphical representation of the case, null when no diagram is available.
  - `category` string
  - `graphicalNotationDefined` boolean: Indicates the case definition contains graphical information (CMMN DI).
  - `startFormDefined` boolean

## Other responses

- `404`: Indicates the requested case definition 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)
