Skip to main content
POST
Create Task

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json
project_id
string
required

Project ID

bot_id
string
required

Agent ID

name
string
required

Task name, shown on the board

prompt
string
required

What the agent should do each run

description
string

Optional longer description

schedule_type
enum<string>

How the task repeats. interval uses schedule_config.interval_minutes; cron uses schedule_config.cron.

Available options:
once,
daily,
weekly,
monthly,
interval,
cron
schedule_config
object

Shape depends on schedule_type: { interval_minutes }, { time }, { day, time }, { day_of_month, time } or { cron }.

timezone
string

IANA timezone, e.g. Europe/London

active_hours_start
string

Only run at or after this time, HH:MM

active_hours_end
string

Only run before this time, HH:MM

max_executions
integer

Stop after this many runs. Omit for unlimited.

chat_mode
string

Conversation mode the run uses

chat_id
string

Bind the task to a Site's builder conversation

assignee_type
string

agent or member

assignee_id
string

UUID of the assignee

tags
string[]
attachments
object[]

Response

200 - application/json

The created task

task
object