---
title: "Run Multi Files Submission"
method: POST
path: "/run"
tags: ["Submission"]
---

# Run Multi Files Submission

`POST /run`

## Request body

- SubmissionRequest
  - `Files` object, required
  - `TemplateId` string, required
  - `Args` string, required
  - `Stdin` string, required — data which will available via stdin reader
  - `ActionId` string
  - `ExternalOptions` object — external options like CompileCmd or RunCmd

## Response `200`

Submission ran successfully

- SubmissionResponse
  - `Events` SubmissionResponseEvents[], required
    - `Message` string, required
    - `Kind` string, required
  - `RunEnvironment` RunEnvironment, required
    - `CompileCmd` string, required
    - `RunCmd` string, required
    - `RunTime` number, required
    - `CompileTime` number, required
    - `ActionName` string, required

## Changes

- **2026-07-17** `b3719e577e3d` — 1 info
  - added the required property `RunEnvironment/ActionName` to the response with the `200` status
- **2025-02-18** `1c9a37cdb673` — 4 breaking, 4 info
  - removed the required property `RunEnvironment/compileCmd` from the response with the `200` status
  - removed the required property `RunEnvironment/compileTime` from the response with the `200` status
  - removed the required property `RunEnvironment/runCmd` from the response with the `200` status
  - removed the required property `RunEnvironment/runTime` from the response with the `200` status
  - …4 more
- **2025-02-18** `3f8a6eb15277` — 3 warning, 1 info
  - removed the optional property `Errors` from the response with the `200` status
  - removed the optional property `Meta` from the response with the `200` status
  - removed the optional property `Time` from the response with the `200` status
  - added the required property `RunEnvironment` to the response with the `200` status
- **2025-02-06** `9305e00fe777` — 1 breaking, 5 warning
  - added `#/components/schemas/CommonSubmissionRequest, subschema #1` to the request body `allOf` list
  - removed the request property `ActionId`
  - removed the request property `Args`
  - removed the request property `Files`
  - …2 more
- **2025-02-05** `a38e6e1c904d` — 1 info
  - api tag `Submission` added

[Full history](https://skmtc.dev/codiewio/apis/submission-api/changes/run/post.md)

---

[API](https://skmtc.dev/codiewio/apis/submission-api.md) · [All operations](https://skmtc.dev/codiewio/apis/submission-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codiewio/submission-api/revisions/b3719e577e3d/schema)
