cURL
curl --request GET \ --url https://{sandbox_id_or_name}.sandbox.tensorlake.ai/api/v1/processes/{pid}/stderr \ --header 'Authorization: Bearer <token>'
{ "pid": 123, "lines": [ "<string>" ], "line_count": 123 }
Read the captured stderr lines for a process.
GET /api/v1/processes/{pid}/stderr
curl https://<sandbox-id>.sandbox.tensorlake.ai/api/v1/processes/42/stderr \ -H "Authorization: Bearer $TENSORLAKE_API_KEY"
200 OK
{ "pid": 42, "lines": [ "Traceback (most recent call last):", "ValueError: invalid input" ], "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 stderr
Was this page helpful?