---
title: "Get process instance information"
method: GET
path: "/process-instances/{id}"
tags: ["Inspect"]
---

# Get process instance information

`GET /process-instances/{id}`

## Request

- Base URL: `http://localhost:8090/inspect-api`
- URL: `http://localhost:8090/inspect-api/process-instances/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/docs/process-instances/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `processInstanceId` string, required

## Query parameters

- `detailed` boolean

## Response `200`

Indicates the process instance information was found and returned.

- ProcessInstanceInfoDTO
  - `id` string
  - `name` string
  - `description` string
  - `tenantId` string
  - `startTime` string, date-time
  - `startUserId` string
  - `startUserName` string
  - `definitionId` string
  - `definitionName` string
  - `definitionKey` string
  - `definitionVersion` integer
  - `latestDefinition` boolean
  - `exceptionInfo` ExceptionInfoDTO
    - `exceptions` ExceptionDTO[]
      - `scopeId` string
      - `scopeType` string
      - `timestamp` string, date-time
      - `message` string
      - `stacktrace` string
  - `restExecutionInfo` RestExecutionInfoDTO
    - `restExecutions` RestExecutionDTO[]
      - `scopeId` string
      - `scopeType` string
      - `timestamp` string, date-time
      - `request` Request
        - `url` string
        - `method` string
        - `headers` object
        - `body` string
      - `response` Response
        - `statusCode` integer
        - `headers` object
        - `body` string
      - `service` Service
        - `key` string
        - `operation` string
      - `mocked` boolean
  - `applicationName` string

## Other responses

- `403`: Indicates the user does not have the rights to query for the process instance.
- `404`: Indicates the requested process instance was not found.

---

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