List a schedule's last 50 runs
GET
/sandboxes/{id}/schedules/{schedule_id}/runs
const url = 'https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/schedules/sched-7k2m9q4x8w3z5r6t/runs';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/schedules/sched-7k2m9q4x8w3z5r6t/runs \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
schedule_id
required
string
Responses
Section titled “Responses”The runs, newest first
Media typeapplication/json
object
runs
required
Array<object>
object
id
required
integer format: int64
started_at
required
string format: date-time
finished_at
string format: date-time
exit_code
integer
output
required
The last 16 KB of stdout and stderr.
string
error
Why the run couldn’t finish, e.g. a timeout.
string
Example generated
{ "runs": [ { "id": 1, "started_at": "2026-04-15T12:00:00Z", "finished_at": "2026-04-15T12:00:00Z", "exit_code": 1, "output": "example", "error": "example" } ]}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}No such sandbox in your organization (or no such file)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}