---
title: "POST /api/v2/owner/{owner}/project/{project_slug}/run"
method: POST
path: "/api/v2/owner/{owner}/project/{project_slug}/run"
tags: ["run"]
---

# POST /api/v2/owner/{owner}/project/{project_slug}/run

`POST /api/v2/owner/{owner}/project/{project_slug}/run`

## Path parameters

- `owner` string, required
- `project_slug` string, required

## Request body

- Mayhemfile
  - `baseimage` string, required
  - `cmds` Cmd[]
    - `cmd` string, required
    - `libfuzzer` boolean
    - `sanitizer` boolean
  - `corpus` string[]
  - `duration` integer
  - `tasks` Task[]
    - `name` string, required
  - `version` string

## Response `200`

Creates a new run for the given project.

    Returns:
        Run -- The run object that was created.

- RunFull — unresolved $ref

## Other responses

- `400` — Input parameters are referencing incorrect/non-existing objects.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Resource not found.
- `409` — Resource exists.
- `422` — Input parameters fail validation.
- `429` — Too many requests

---

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