---
title: "List of historic plan item instances"
method: GET
path: "/cmmn-history/historic-planitem-instances"
tags: ["History PlanItem"]
---

# List of historic plan item instances

`GET /cmmn-history/historic-planitem-instances`

## Request

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

## Query parameters

- `planItemInstanceId` string
- `planItemInstanceName` string
- `planItemInstanceState` string
- `caseDefinitionId` string
- `caseInstanceId` string
- `caseInstanceIds` string
- `stageInstanceId` string
- `elementId` string
- `planItemDefinitionId` string
- `planItemDefinitionType` string
- `createdBefore` unknown
- `createdAfter` unknown
- `lastAvailableBefore` unknown
- `lastAvailableAfter` unknown
- `lastEnabledBefore` unknown
- `lastEnabledAfter` unknown
- `lastDisabledBefore` unknown
- `lastDisabledAfter` unknown
- `lastStartedBefore` unknown
- `lastStartedAfter` unknown
- `lastSuspendedBefore` unknown
- `lastSuspendedAfter` unknown
- `completedBefore` unknown
- `completedAfter` unknown
- `terminatedBefore` unknown
- `terminatedAfter` unknown
- `occurredBefore` unknown
- `occurredAfter` unknown
- `exitBefore` unknown
- `exitAfter` string, date-time
- `endedBefore` string, date-time
- `endedAfter` string, date-time
- `startUserId` string, date-time
- `referenceId` string
- `referenceType` string
- `tenantId` string
- `withoutTenantId` boolean

## Response `200`

Indicates that historic planItem instances could be queried.

- DataResponseHistoricPlanItemInstanceResponse
  - `data` HistoricPlanItemInstanceResponse[]
    - `id` string
    - `name` string
    - `state` string
    - `caseDefinitionId` string
    - `derivedCaseDefinitionId` string
    - `caseInstanceId` string
    - `stageInstanceId` string
    - `stage` boolean
    - `elementId` string
    - `planItemDefinitionId` string
    - `planItemDefinitionType` string
    - `createTime` string, date-time
    - `lastAvailableTime` string, date-time
    - `lastEnabledTime` string, date-time
    - `lastDisabledTime` string, date-time
    - `lastStartedTime` string, date-time
    - `lastSuspendedTime` string, date-time
    - `completedTime` string, date-time
    - `occurredTime` string, date-time
    - `terminatedTime` string, date-time
    - `exitTime` string, date-time
    - `endedTime` string, date-time
    - `lastUpdatedTime` string, date-time
    - `startUserId` string
    - `assignee` string
    - `completedBy` string
    - `referenceId` string
    - `referenceType` string
    - `entryCriterionId` string
    - `exitCriterionId` string
    - `formKey` string
    - `extraValue` string
    - `showInOverview` boolean
    - `tenantId` string
    - `url` string
    - `caseInstanceUrl` string
    - `caseDefinitionUrl` string
    - `derivedCaseDefinitionUrl` string
    - `stageInstanceUrl` string
    - `localVariables` RestVariable[]
      - `name` string: Name of the variable
      - `type` string: Type of the variable.
      - `value` object: Value of the variable.
      - `valueUrl` string
      - `scope` string
  - `total` integer
  - `start` integer
  - `sort` string
  - `order` string
  - `size` integer

## Other responses

- `400`: Indicates an parameter was passed in the wrong format. 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)
