---
title: "Get current instance"
method: GET
path: "/current-instance"
tags: ["Inspect"]
---

# Get current instance

`GET /current-instance`

## Request

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

## Query parameters

- `scopeId` string, required
- `scopeType` string, required

## Response `200`

successful operation

- CurrentInstanceDTO
  - `id` string
  - `name` string
  - `scopeId` string
  - `scopeType` string
  - `scopeName` string
  - `scopeDefinitionId` string
  - `scopeDefinitionKey` string
  - `scopeDefinitionName` string
  - `parentScopeId` string
  - `parentScopeType` string
  - `tenantId` string
  - `hasScopeInstance` boolean
  - `creationTime` string, date-time
  - `creatorId` string
  - `creatorUserName` string
  - `endTime` string, date-time
  - `steps` ActivityInfoDTO[]
    - `id` string
    - `scopeId` string
    - `subScopeId` string
    - `scopeDefinitionId` string
    - `scopeDefinitionKey` string
    - `scopeType` string
    - `activityId` string
    - `activityName` string
    - `activityType` string
    - `childScopeId` string
    - `childScopeType` string
    - `taskId` string
    - `transactionOrder` integer
    - `userId` string
    - `active` boolean
    - `enabled` boolean
    - `available` boolean
    - `completed` boolean
    - `breakpointId` string
    - `breakpointType` string
    - `hasErrors` boolean
  - `securityScopes` object
  - `actionCounter` integer

---

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