---
title: "Get a single historic task instance"
method: GET
path: "/cmmn-history/historic-task-instances/{taskId}"
tags: ["History Task"]
---

# Get a single historic task instance

`GET /cmmn-history/historic-task-instances/{taskId}`

## Request

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

## Path parameters

- `taskId` string, required

## Response `200`

Indicates that the historic task instances could be found.

- HistoricTaskInstanceResponse
  - `id` string
  - `name` string
  - `description` string
  - `deleteReason` string
  - `owner` string
  - `assignee` string
  - `startTime` string, date-time
  - `endTime` string, date-time
  - `durationInMillis` integer
  - `workTimeInMillis` integer
  - `claimTime` string, date-time
  - `taskDefinitionKey` string
  - `formKey` string
  - `priority` integer
  - `dueDate` string, date-time
  - `parentTaskId` string
  - `url` string
  - `variables` RestVariable[]
    - `name` string: Name of the variable
    - `type` string: Type of the variable.
    - `value` object: Value of the variable.
    - `valueUrl` string
    - `scope` string
  - `tenantId` string
  - `category` string
  - `caseInstanceId` string
  - `caseInstanceUrl` string
  - `caseDefinitionId` string
  - `caseDefinitionUrl` string
  - `scopeDefinitionId` string
  - `scopeId` string
  - `subScopeId` string
  - `scopeType` string
  - `propagatedStageInstanceId` string
  - `executionId` string
  - `processInstanceId` string
  - `processDefinitionId` string

## Other responses

- `404`: Indicates that the historic task instances could not be 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)
