---
title: "Post Run Input"
method: POST
path: "/api/agent-chat/playground/runs/{run_id}/input"
tags: ["Agent Chat Playground"]
---

# Post Run Input

`POST /api/agent-chat/playground/runs/{run_id}/input`

Follow-up turn on an existing playground run.

Mirrors the message branch of ``POST /api/agent-chat/sessions/{id}/input``
but bypasses the MOA router preprocessor — the playground enqueues a
direct sub-agent turn in the dramatiq worker.

``message`` enqueues a follow-up turn. ``command=resume`` enqueues the
same continuation prompt the product chat uses after a stopped/error
state. Other commands are intentionally unsupported in this direct
sub-agent surface.

## Path parameters

- `run_id` string, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- union
  - MessageInput
    - `kind` 'message'
    - `text` string, required
    - `client_msg_id` string, nullable
    - `automated` boolean
  - CommandInput
    - `kind` 'command'
    - `command` 'pause' | 'resume' | 'stop', required
    - `step_id` string, nullable
  - InterruptInput
    - `kind` 'interrupt'

## Response `202`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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