---
title: "Create a new skip definition"
method: POST
path: "/inflight-test-models/{testModelId}/skip-definitions"
tags: ["Inspect"]
---

# Create a new skip definition

`POST /inflight-test-models/{testModelId}/skip-definitions`

## Request

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

## Path parameters

- `testModelId` string, required

## Request body

- CreateSkipDefinitionDTO
  - `activityId` string
  - `scopeDefinitionId` string
  - `scopeDefinitionKey` string
  - `scopeType` string
  - `actionId` string

## Response `200`

Indicates the skip definition is created and returned.

- SkipItemDefinitionDTO
  - `scopeDefinitionId` string
  - `scopeDefinitionKey` string
  - `scopeType` string
  - `activityId` string

## Other responses

- `403`: Indicates the user does not have the rights to create a breakpoint definition.
- `404`: Indicates the requested test model was not found.
- `409`: Indicates there was already a skip definition created for the same activity.

---

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