Send a follow-up message into a running run

The message is appended with a newline and forwarded into the

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

NameInTypeRequiredDescription
runIdpathstringrequiredUUID of the run.

Request body

FieldTypeRequiredDescription
messagestringrequired

Responses

StatusDescription
202Message delivered to the PTY.
400Request body or query parameters failed validation.
404Resource not found or not accessible to this project.
409Run is not in running state.
503Container is not currently accepting input.

Tag: Interactions