Skip to content

List every scheduled task in your organization

GET
/schedules
curl --request GET \
--url https://api.global.stillbox.example/v1/schedules \
--header 'Authorization: Bearer <token>'

The scheduled tasks of every sandbox that hasn’t been deleted, soonest first

Media typeapplication/json
object
schedules
required
Array<object>
object
id
required
string
sandbox_id
required
string
cron
required
string
command
required

Empty for a task that gives the agent a prompt.

Array<string>
prompt

The message the task gives the sandbox’s agent, if it isn’t a command.

string
reply_to

Where a prompt task’s reply is also sent: one of the chats of one of the sandbox’s connections (Telegram, Slack, Discord, Microsoft Teams or WhatsApp), as listed under the connection’s chats.

object
connection_id
required
string
chat
required
string
timeout_seconds
required
integer
enabled
required
boolean
next_run_at
required
string format: date-time
last_run_at

When the latest run started (in the organization-wide list).

string format: date-time
last_run_status

How the latest run went (in the organization-wide list).

string
Allowed values: running succeeded failed
created_at
required
string format: date-time

Example

{
"schedules": [
{
"cron": "0 3 * * *",
"last_run_status": "running"
}
]
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}