Update a task and its steps

Update an existing task and its steps in one call. Edit the JSON you imported the task with and send it here with the task's GUID. The task keeps its GUID, so links to it and its history still work.

The body is the same as POST /expertisetasks/import.

Steps

steps is the task's whole step list, in order. Steps are matched by title, so you don't need step GUIDs:

In your listWhat happens
Same title as an existing stepThe step is updated and keeps its GUID. Fields you leave out are unchanged.
New titleThe step is added.
Existing step not in your listThe step is deleted.
  • Renaming a step deletes the old one and adds a new one.
  • Titles must be unique in the task.
  • Subtask steps are matched by subtask_id.
  • A matched step can only change type between 1, 3 and 6. To change it to another type, rename it too.
  • An empty list deletes every step. Leave steps out to keep them all and update only the task's settings.

Task settings

task is optional. name, published, roles, dependencies and translations are updated if you send them. Other fields, such as product_id, are ignored.

Images

Base64 images in an <img> tag can stay in your JSON. They're stored as links, and an image the step already has isn't uploaded again.

Errors and retries

If any part fails, the task and its steps stay as they were. Sending the same body again is safe: steps that didn't change are left as they are.

Limits

  • A task with linked observation options can't be updated this way.
  • If someone is running the task and is on a step you delete, they can't continue that run.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

GUID identifier (32-char hex). Used by /expertisetasks/{id} and /expertisesteps/{id}.

Body Params
task
object

Editable fields accepted on POST /expertisetasks and PATCH /expertisetasks/{id}.

On PATCH, only dependencies, name, published, roles, steps (reorder only) and translations are honored. product_id and type cannot change after creation.

Use the translations field to push pre-translated task names. Translation rows are written with locked: 1 by default to prevent auto-translate from overwriting them.

steps
array of objects

The whole step list, in order

steps
Responses

403

The caller can't edit this copilot's tasks

409

The task's steps changed while the update was being handled

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json