POST/api/v1/runs/{runId}/messages
The message is appended with a newline and forwarded into the
container’s PTY as if it were typed by the user. The run must be in
the running state and have a live upstream WebSocket.
Authentication
Requires a project API key — see Authentication.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
runId | path | string | required | UUID of the run. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
message | string | required |
Responses
| Status | Description |
|---|---|
202 | Message delivered to the PTY. |
400 | Request body or query parameters failed validation. |
404 | Resource not found or not accessible to this project. |
409 | Run is not in running state. |
503 | Container is not currently accepting input. |
Tag: Interactions