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

# Get test instance

`GET /test-instances`

## Request

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

## Query parameters

- `testModelId` string
- `scopeDefinitionKey` string
- `scopeType` string

## Response `200`

successful operation

- TestInstanceDTO[]
  - `id` string
  - `testModelId` string
  - `testSetKey` string
  - `scopeId` string
  - `scopeType` string
  - `scopeDefinitionId` string
  - `scopeDefinitionKey` string
  - `startTime` string, date-time
  - `endTime` string, date-time
  - `durationMs` integer
  - `status` string
  - `result` string
  - `passedCount` integer
  - `failedCount` integer
  - `totalSteps` integer
  - `progress` number, double
  - `failedStepName` string
  - `tenantId` string

---

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