Skip to main content
POST
Write stdin
Send input to a running command with open stdin. The request completes when the bytes are buffered. If the command reads slowly, the request waits.
See error examples and recovery steps. The complete OpenAPI contract includes every response schema.

Authorizations

Authorization
string
header
required

The server's token (MIRAGE_AUTH_TOKEN) or a JWT. A daemon in the default local mode with no token accepts requests without one.

Path Parameters

workspace_id
string
required

Workspace ID.

line_id
string
required

Command ID returned as line_id in the first stream record.

Body

application/octet-stream

The body is of type file.

Response

204

The bytes are buffered for the line.