---
title: "POST /api/executions"
method: POST
path: "/api/executions"
tags: ["executions"]
---

# POST /api/executions

`POST /api/executions`

## Request body

- object
  - `code` string, required
  - `autoApprove` boolean, nullable
  - `artifactId` string, nullable

## Response `200`

Success

- union
  - object
    - `status` 'completed', required
    - `text` string, required
    - `structured` unknown, required
    - `isError` boolean, required
  - object
    - `status` 'paused', required
    - `text` string, required
    - `structured` unknown, required

## Other responses

- `400` — A rendered artifact's tool call could not be resolved: bad shape, unknown artifact, or an unbound integration role.
- `500` — InternalError

---

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