Sandbox
Authorization
ApiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for POST /exec.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sandbox/v1/string/string/string/runs/string/exec" \ -H "Content-Type: application/json" \ -d '{}'{ "exec_id": "string", "exit_code": 0, "signal": "string", "stdout": "string", "stderr": "string", "duration_ms": 0, "timed_out": true, "stdout_truncated": true, "stderr_truncated": true}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/exec/bg"{ "execs": [ { "exec_id": "string", "pid": 0, "state": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "exit_code": 0, "signal": "string", "stdout_bytes": 0, "stderr_bytes": 0, "tag": "string" } ]}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for POST /exec/bg.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sandbox/v1/string/string/string/runs/string/exec/bg" \ -H "Content-Type: application/json" \ -d '{}'{ "exec_id": "string", "pid": 0, "started_at": "2019-08-24T14:15:22Z", "tag": "string"}{ "exec_id": "string", "pid": 0, "started_at": "2019-08-24T14:15:22Z", "tag": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/exec/bg/string"{ "exec_id": "string", "pid": 0, "state": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "exit_code": 0, "signal": "string", "stdout_bytes": 0, "stderr_bytes": 0, "tag": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/sandbox/v1/string/string/string/runs/string/exec/bg/string"{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/exec/bg/string/logs"{ "exec_id": "string", "stream": "string", "offset": 0, "next_offset": 0, "bytes": 0, "data": "string", "eof": true, "state": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for signal endpoints.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sandbox/v1/string/string/string/runs/string/exec/bg/string/signal" \ -H "Content-Type: application/json" \ -d '{}'{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/fs/ls"{ "path": "string", "entries": [ { "name": "string", "type": "string", "size": 0, "mtime": "2019-08-24T14:15:22Z", "mode": "string", "symlink_target": "string" } ], "truncated": true}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for POST /fs/mkdir.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sandbox/v1/string/string/string/runs/string/fs/mkdir" \ -H "Content-Type: application/json" \ -d '{}'{ "path": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/sandbox/v1/string/string/string/runs/string/fs/rm"{ "path": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/fs/stat"{ "path": "string", "type": "string", "size": 0, "mtime": "2019-08-24T14:15:22Z", "mode": "string", "uid": 0, "gid": 0, "symlink_target": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/ping"{ "status": "string", "version": "string", "uptime_ms": 0, "last_activity": "2019-08-24T14:15:22Z", "execs_running": 0, "ptys_running": 0, "ptys_attached": 0}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/pty"{ "sessions": [ { "pty_id": "string", "pid": 0, "state": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "exit_code": 0, "signal": "string", "last_activity": "2019-08-24T14:15:22Z", "last_client_activity": "2019-08-24T14:15:22Z", "detached_since": "2019-08-24T14:15:22Z", "attached": true, "cols": 0, "rows": 0, "tag": "string" } ]}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for POST /pty.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sandbox/v1/string/string/string/runs/string/pty" \ -H "Content-Type: application/json" \ -d '{}'{ "pty_id": "string", "pid": 0, "state": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "exit_code": 0, "signal": "string", "last_activity": "2019-08-24T14:15:22Z", "last_client_activity": "2019-08-24T14:15:22Z", "detached_since": "2019-08-24T14:15:22Z", "attached": true, "cols": 0, "rows": 0, "tag": "string"}{ "pty_id": "string", "pid": 0, "state": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "exit_code": 0, "signal": "string", "last_activity": "2019-08-24T14:15:22Z", "last_client_activity": "2019-08-24T14:15:22Z", "detached_since": "2019-08-24T14:15:22Z", "attached": true, "cols": 0, "rows": 0, "tag": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/sandbox/v1/string/string/string/runs/string/pty/string"{ "pty_id": "string", "pid": 0, "state": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "exit_code": 0, "signal": "string", "last_activity": "2019-08-24T14:15:22Z", "last_client_activity": "2019-08-24T14:15:22Z", "detached_since": "2019-08-24T14:15:22Z", "attached": true, "cols": 0, "rows": 0, "tag": "string"}{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/sandbox/v1/string/string/string/runs/string/pty/string"{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for POST /pty/{id}/resize.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sandbox/v1/string/string/string/runs/string/pty/string/resize" \ -H "Content-Type: application/json" \ -d '{}'{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}Authorization
ApiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for signal endpoints.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sandbox/v1/string/string/string/runs/string/pty/string/signal" \ -H "Content-Type: application/json" \ -d '{}'{}{}{}{ "error": "string", "code": 0, "message": "string", "details": [ { "type_url": "string", "value": "string" } ]}