Skip to main content
POST
Reattach to a retained process stream from a cursor.

Authorizations

Authorization
string
header
required

Vers API key (VERS_API_KEY) sent as Authorization: Bearer <key>.

Path Parameters

computer_id
string<uuid>
required

Computer identity

Body

application/json

Request body for POST /api/v2/computers/{computer_id}/exec/stream/attach.

exec_id
string<uuid>
required

Identifier of the exec stream session to reattach to.

cursor
integer<int64> | null

Optional cursor to resume from (exclusive). If omitted, the full retained backlog is replayed.

Required range: x >= 0
from_latest
boolean | null

Start streaming after the latest retained chunk (ignores cursor).

Response

NDJSON output replay followed by the terminal exit event

Streaming exec events emitted over the exec stream endpoint (NDJSON lines).

cursor
integer<int64>
required
Required range: x >= 0
data_b64
string
required
stream
enum<string>
required

Streams available for exec logging.

Available options:
stdout,
stderr
type
enum<string>
required
Available options:
chunk
exec_id
string<uuid> | null