Skip to main content
POST
Create schedule

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
task_message
string
required

The task message to execute

Minimum string length: 1
custom_weekdays
integer[]

For custom frequency - array of weekdays (0=Sunday, 6=Saturday)

Required range: 0 <= x <= 6
direct_agent_id
string
file_keys
string[]

Optional file references

llm_model
enum<string>

LLM model identifier. "auto" defers model selection to the agent, which picks per-request based on task complexity, cost, and security context.

Available options:
auto,
opus-5,
opus-4.8,
opus-4.7,
opus-4.6,
sonnet-4.6,
haiku-4.5,
gpt-5.6-sol-high,
gpt-5.6-terra-high,
gemini-3-pro,
gemini-3-flash,
grok-4.3-high,
grok-4.3-fast,
grok-4.5-high,
grok-4.5-fast,
kimi-k3,
glm-5.2,
deepseek-v4-pro-high,
deepseek-v4-flash
metadata
object

Optional metadata for delivery configuration (e.g., Slack channel info for posting results)

name
string

Human-readable schedule name

Maximum string length: 256
project_id
string<uuid>

Optional project ID to create a project-scoped schedule (requires project membership)

reporting_mode
enum<string>

Output reporting mode - 'full' (default) returns all data, 'changes_only' generates a diff report comparing current results with the previous execution

Available options:
full,
changes_only
run_at
string

For one_time schedules - relative ("5m", "1h", "2d") or absolute ("14:30", "3:00PM") time

scan_frequency
enum<string>

Required for recurring schedules

Available options:
daily,
weekly,
monthly,
custom
schedule_type
enum<string>
default:recurring
Available options:
recurring,
one_time
secrets
string[]

Optional secret names to expose to each scheduled execution

selected_visibility_type
enum<string>
Available options:
public,
private,
team
source_task_id
string

The source task/chat ID that this schedule was created from (if any)

start_time
string

Start time in HH:MM format (24h)

Response

Schedule created

schedule
object
required