---
title: "Changes to Test workflow execution using mock data"
method: POST
path: "/api/workflow/test"
---

# Changes to Test workflow execution using mock data

`POST /api/workflow/test`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 6 revisions.

- **2026-10-10** `a142cbe9d486`: 54 breaking, 11 warning, 13 info

## Changes

- **2026-10-10** `a142cbe9d486`: 54 breaking, 11 warning, 13 info
  - added the new required request property `workflowDef/tasks/items/onStateChange/additionalProperties/items/type`
  - the request's body type changed from no type to `object`
  - the `workflowDef/tasks` request property's minItems was increased to `1`
  - the `workflowDef/name` request property's minLength was increased from `0` to `1`
  - the `workflowDef/tasks/items/name` request property's minLength was increased from `0` to `1`
  - the `workflowDef/tasks/items/taskDefinition/name` request property's minLength was increased from `0` to `1`
  - the `workflowDef/tasks/items/taskReferenceName` request property's minLength was increased from `0` to `1`
  - the `taskRefToMockOutput/additionalProperties/items/` request property type changed from no type to `object`
  - the `workflowDef` request property type changed from no type to `object`
  - the `workflowDef/cacheConfig` request property type changed from no type to `object`
  - the `workflowDef/inputSchema` request property type changed from no type to `object`
  - the `workflowDef/outputSchema` request property type changed from no type to `object`
  - the `workflowDef/rateLimitConfig` request property type changed from no type to `object`
  - the `workflowDef/tasks/items/` request property type changed from no type to `object`
  - the `workflowDef/tasks/items/cacheConfig` request property type changed from no type to `object`
  - the `workflowDef/tasks/items/onStateChange/additionalProperties/items/` request property type changed from no type to `object`
  - the `workflowDef/tasks/items/subWorkflowParam` request property type changed from no type to `object`
  - the `workflowDef/tasks/items/taskDefinition` request property type changed from no type to `object`
  - the `workflowDef/tasks/items/taskDefinition/inputSchema` request property type changed from no type to `object`
  - the `workflowDef/tasks/items/taskDefinition/outputSchema` request property type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - the response property `tasks/items/taskDefinition/name` became optional for the status `200`
  - the response property `tasks/items/workflowTask/name` became optional for the status `200`
  - the response property `tasks/items/workflowTask/taskDefinition/name` became optional for the status `200`
  - the response property `tasks/items/workflowTask/taskReferenceName` became optional for the status `200`
  - the response property `workflowDefinition/name` became optional for the status `200`
  - the response property `workflowDefinition/tasks/items/name` became optional for the status `200`
  - the response property `workflowDefinition/tasks/items/taskDefinition/name` became optional for the status `200`
  - the response property `workflowDefinition/tasks/items/taskReferenceName` became optional for the status `200`
  - the `aggregateTokenUsage` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/executionMetadata` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/taskDefinition` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/taskDefinition/inputSchema` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/taskDefinition/outputSchema` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/workflowTask` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/workflowTask/cacheConfig` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/workflowTask/onStateChange/additionalProperties/items/` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/workflowTask/subWorkflowParam` response's property type changed from no type to `object` for status `200`
  - the `tasks/items/workflowTask/taskDefinition` response's property type changed from no type to `object` for status `200`
  - …38 more

---

[Operation](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/docs/api/workflow/test/post.md) - [API](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server.md) - [Page](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/changes/api/workflow/test/post)
