Typescript (SDK)
Tasks
Update task
Updates an existing AI task.
PATCH
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
application/json
Available options:
immediate, cron, interval, once, event Which agent runs the task. Use engineering for pure code/build work on a site; defaults to business.
Available options:
business, engineering Available options:
autonomous, supervised, read_only Available options:
notification, email, telegram, discord, slack Site this task works on (site_...); its repo is mounted as the run's workspace. Defaults to the account's default working site.
Response
Task updated
Available options:
immediate, cron, interval, once, event Available options:
notification, email, telegram, discord, slack Available options:
autonomous, supervised, read_only Available options:
business, engineering 
