cURL
curl --request GET \ --url https://{sandbox_id_or_name}.sandbox.tensorlake.ai/api/v1/processes/{pid}/stdout \ --header 'Authorization: Bearer <token>'
{ "pid": 123, "lines": [ "<string>" ], "line_count": 123 }
Read the captured stdout lines for a process.
GET /api/v1/processes/{pid}/stdout
curl https://<sandbox-id>.sandbox.tensorlake.ai/api/v1/processes/42/stdout \ -H "Authorization: Bearer $TENSORLAKE_API_KEY"
200 OK
{ "pid": 42, "lines": [ "Serving HTTP on 0.0.0.0 port 8080", "127.0.0.1 - - [06/Apr/2026 22:20:00] \"GET / HTTP/1.1\" 200 -" ], "line_count": 2 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The operating system PID of the process.
Captured stdout
Was this page helpful?