---
title: "Changes to Run a reusable or inline script"
method: POST
path: "/api/scripts/run"
---

# Changes to Run a reusable or inline script

`POST /api/scripts/run`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 105 revisions.

- **2026-08-19** `ea4adca6e927` — 1 info
- **2026-08-07** `06cac6a7c5bc` — 4 info

## Changes

- **2026-08-19** `ea4adca6e927` — 1 info
  - added the new optional `header` request parameter `X-Runtime-Instance-ID`
- **2026-08-07** `06cac6a7c5bc` — 4 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `404`
  - added the media type `application/json` for the response with the status `501`

---

[Operation](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/docs/api/scripts/run/post.md) · [API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [Page](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/scripts/run/post)
