Skip to content
GitHub Get Started
HTTP API

Write input to a process.

POST
/v1/processes/{id}/input

Sends data to a process’s stdin (pipe mode) or PTY writer (tty mode). Data can be encoded as base64, utf8, or text. Returns 413 if the decoded payload exceeds the configured maxInputBytesPerRequest limit.

id
required
string

Process ID

object
data
required
string
encoding
string
nullable

Input accepted

object
bytesWritten
required
integer

Invalid request

object
detail
string
nullable
instance
string
nullable
status
required
integer format: int32
title
required
string
type
required
string
key
additional properties

Process not writable

object
detail
string
nullable
instance
string
nullable
status
required
integer format: int32
title
required
string
type
required
string
key
additional properties

Input exceeds configured limit

object
detail
string
nullable
instance
string
nullable
status
required
integer format: int32
title
required
string
type
required
string
key
additional properties

Process API unsupported on this platform

object
detail
string
nullable
instance
string
nullable
status
required
integer format: int32
title
required
string
type
required
string
key
additional properties