Tasks

Update task metadata

Update task metadata.

Updatable: name, description, priority, scheduled_at. Status changes must go through the lifecycle endpoints (pause/resume/cancel/retry). Uses exclude_unset so omitted fields are left untouched.

patch/tasks/{task_id}

Request

  • Base URL: https://api-docs.jackhamr.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api-docs.jackhamr.ai/tasks/{task_id}
  • Auth: none declared

Path parameters

task_idstring required

Request body

namestring nullable
descriptionstring nullable
priorityinteger nullable
scheduled_atstring date-time nullable

Response

Successful Response

idstring required
agent_idstring nullable
parent_idstring nullable
namestring required
descriptionstring nullable
task_typestring required
statusstring required
priorityinteger
commandstring nullable
working_directorystring nullable
environment_varsobject nullable
dependenciesstring[] nullable
progress_percentinteger
progress_messagestring nullable
result_dataobject nullable
error_messagestring nullable
started_atstring date-time nullable
completed_atstring date-time nullable
scheduled_atstring date-time nullable
duration_secondsinteger nullable
exit_codeinteger nullable
max_retriesinteger
retry_countinteger
retry_delay_secondsinteger
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.