---
title: "List of case definitions"
method: GET
path: "/cmmn-repository/case-definitions"
tags: ["Case Definitions"]
---

# List of case definitions

`GET /cmmn-repository/case-definitions`

## Request

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

For all 'Like' parameters the '%' wildcard character must be URL-encoded as '%25' (for example '?categoryLike=acme%25' to match categories starting with 'acme').

## Query parameters

- `version` integer
- `name` string
- `nameLike` string
- `nameLikeIgnoreCase` string
- `key` string
- `keyLike` string
- `resourceName` string
- `resourceNameLike` string
- `category` string
- `categoryLike` string
- `categoryNotEquals` string
- `deploymentId` string
- `parentDeploymentId` string
- `startableByUser` string
- `tenantId` string
- `tenantIdLike` string
- `latest` boolean
- `sort` 'name' | 'id' | 'key' | 'category' | 'deploymentId' | 'version'
- `order` string
- `start` integer
- `size` integer

## Response `200`

Indicates request was successful and the case definitions are returned

- DataResponseCaseDefinitionResponse
  - `data` 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
  - `total` integer
  - `start` integer
  - `sort` string
  - `order` string
  - `size` integer

## Other responses

- `400`: Indicates a parameter was passed in the wrong format or that latest is used with other parameters other than key and keyLike. The status-message contains additional information.

---

[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)
