---
title: "Send either a resource or a set of resources to be executed as a Wakamiti test plan"
method: POST
path: "/executions"
---

# Send either a resource or a set of resources to be executed as a Wakamiti test plan

`POST /executions`

Send resources to the server to be executed as a Wakamiti test plan.<br/>
This operation can work in three different ways:<br/>
<li>
  <b>Send a single resource in the request body as plain text</b><br/>
  For simple test plans formed by a single file. The parameter <code>resourceType</code> must be informed.
</li>
<li>
  <b>Send a set of resources in the request body as a JSON object</b><br/>
  For medium plans formed by a set of files, including a configuration file.<br/>
  The request body would be a JSON object where each property name is a file path and its value is 
  the file content, with the proper characters escaped.
</li>
<li>
  <b>Sending a local directory and no body</b><br/>
  For medium-large plans that are stored in the same machine that the execution server. The parameter
  <code>workspace</code> must be informed.<br/>
  This should be the preferred method for large projects, due to the amount of net traffic required 
  otherwise.
</li>

## Query parameters

- `async` boolean
- `resourceType` string
- `workspace` string

## Response `200`

OK

## Other responses

- `401` — UNAUTHORIZED<br/> This HTTP error code is returned when attempting to execute the operation without a session token.

---

[API](https://skmtc.net/iti-ict/apis/wakamiti-execution-server-api.md) · [All operations](https://skmtc.net/iti-ict/apis/wakamiti-execution-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iti-ict/wakamiti-execution-server-api/versions/ab51f1073937/schema)
