A valid request URL is required to generate request examples{
"sandbox": "<string>",
"run": "<string>",
"state": "running",
"command": [
"<string>"
],
"exitCode": 123,
"signal": "<string>",
"timedOut": true,
"error": "<string>",
"stdout": "<string>",
"stderr": "<string>",
"stdoutTruncated": true,
"stderrTruncated": true,
"outputHeld": true,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"durationMs": 123
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}Get a run's result
The run’s state and, once it is done, its outcome. While it runs, the outcome fields are null and the output so far is what the logs route returns.
Needs the view scope.
A valid request URL is required to generate request examples{
"sandbox": "<string>",
"run": "<string>",
"state": "running",
"command": [
"<string>"
],
"exitCode": 123,
"signal": "<string>",
"timedOut": true,
"error": "<string>",
"stdout": "<string>",
"stderr": "<string>",
"stdoutTruncated": true,
"stderrTruncated": true,
"outputHeld": true,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"durationMs": 123
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "invalid_value",
"message": "<string>"
}
}Authorizations
The ticket's authorization value, sent as it is (its own scheme, not Bearer), until the ticket's expiresAt.
Path Parameters
The sandbox id (sbx_ and 12 hex).
^sbx_[0-9a-f]{12}$The run id (run_ and 12 hex).
^run_[0-9a-f]{12}$Response
The run.
The sandbox id.
The run id.
^run_[0-9a-f]{12}$running or done.
running, done The command.
The exit code; null while running or when a signal ended it.
The signal that ended it, if one did.
True when it hit its time limit.
Why it could not start, if it could not.
Standard output (what is kept of it).
Standard error (what is kept of it).
True once standard output passed the stored cap.
True once standard error passed the stored cap.
True when output is held back.
When it started.
When it finished.
How long it ran, in ms.