Skip to main content
PUT
Update Task

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json

Only the fields supplied are changed.

project_id
string
required

Project ID

bot_id
string
required

Agent ID

task_id
string
required

Task UUID

name
string
prompt
string
description
string
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
enabled
boolean
max_executions
integer

Response

200 - application/json

The updated task

task
object