---
title: "Trigger an asynchronous bulk test run via filter"
method: POST
path: "/inflight-test-models/test-runs"
tags: ["Inspect"]
---

# Trigger an asynchronous bulk test run via filter

`POST /inflight-test-models/test-runs`

## Request

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

## Request body

- BulkTestRunRequest
  - `appKey` string
  - `scopeType` string
  - `testSetNameInclude` string[]
  - `testSetNameExclude` string[]
  - `testEntries` TestRunEntry[]
    - `testModelId` string
    - `testSetKey` string
    - `testDefinitionKeys` string[]

## Response `200`

successful operation

- TestRunDTO
  - `id` string
  - `status` string
  - `startTime` string, date-time
  - `endTime` string, date-time
  - `creatorId` string
  - `tenantId` string
  - `totalCount` integer
  - `completedCount` integer
  - `passedCount` integer
  - `failedCount` integer
  - `filterContent` string
  - `skippedModelIds` string[]

## Other responses

- `202`: Accepted

---

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