Skip to main content
PATCH
Patch Task

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string<uuid>
required

Body

application/json

Fields a user can change on an existing task. Only project_id is supported today — it's the "I picked the wrong project for this task before sending anything" escape hatch wired up to the task header's ProjectSwitcher.

auto_fix_ci
boolean | null
project_id
string<uuid> | null

Response

Successful Response

created_at
string<date-time>
required
id
string<uuid>
required
mode
enum<string>
required
Available options:
plan,
build
name
string
required
project_id
string<uuid>
required
updated_at
string<date-time>
required
user_id
string<uuid>
required
app_ready
boolean
default:true
auto_fix_ci
boolean
default:false
context_pct
number | null
context_tokens
integer | null
context_window
integer | null
cost_usd
number | null
github_branch
string | null
has_plan
boolean
default:false
machine_url
string | null
plan_version
integer | null
provisioning_error
string | null
pull_requests
PullRequestResponse · object[]
selected_branches
Selected Branches · object | null
workspace_state
enum<string>
default:pending
Available options:
ready,
pending,
error