---
title: "Submit Run"
method: POST
path: "/v3/runs"
tags: ["V3 compatibility"]
---

# Submit Run

`POST /v3/runs`

## Request body

- AppRoutesV3CompatabilityRunCreate — Base model for schemas.
  - `pipeline_id_or_pointer` string, required
  - `input_data` AppRoutesV3CompatabilityRunInput[], required
    - `type` 'integer' | 'string' | 'fp' | 'dictionary' | 'boolean' | 'none' | 'array' | 'pkl' | 'file', required — An enumeration.
    - `value` unknown
    - `file_name` string
    - `file_path` string
    - `file_url` string
  - `async_run` boolean

## Response `200`

Successful Response

- Run — Base model for schemas.
  - `id` string, required
  - `created_at` string, date-time, required
  - `pipeline_id` string, required
  - `environment_id` string, required
  - `environment_hash` string, required
  - `state` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 22 | 16 | 11 | 14 | 15 | 13 | 21 | 10 | 12 | 17 | 18 | 19 | 23 | 20, required — An enumeration.
  - `error` RunError — Base model for schemas.
    - `exception` string, required
    - `traceback` string
  - `result` RunResult — Base model for schemas.
    - `run_id` string, required
    - `outputs` AppRoutesV3CompatabilityRunOutput[], required
      - `type` 'integer' | 'string' | 'fp' | 'dictionary' | 'boolean' | 'none' | 'array' | 'pkl' | 'file', required — An enumeration.
      - `value` unknown
      - `file` AppRoutesV3CompatabilityRunOutputFile — Base model for schemas.
        - `name` string, required
        - `path` string, required
        - `url` string, required
        - `size` integer, required
  - `input_data` AppRoutesV3CompatabilityRunInput[]
    - `type` 'integer' | 'string' | 'fp' | 'dictionary' | 'boolean' | 'none' | 'array' | 'pkl' | 'file', required — An enumeration.
    - `value` unknown
    - `file_name` string
    - `file_path` string
    - `file_url` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mystic/apis/mystic-api.md) · [All operations](https://skmtc.net/mystic/apis/mystic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mystic/mystic-api/revisions/60e569344994/schema)
