Block Task

Mark a task as blocked -- requires human intervention to unblock.

post/api/v1/tasks/{task_id}/block

Path parameters

task_idstring required

Request body

reasonstring

Response

Successful Response

idstring required
titlestring required
descriptionstring required
rolestring required
tenant_idstring required
priorityinteger required
scopestring required
complexitystring required
eu_ai_act_riskstring required
approval_requiredboolean required
risk_levelstring required
estimated_minutesinteger nullable required
statusstring required
depends_onstring[] required
parent_task_idstring nullable required
depends_on_repostring nullable required
owned_filesstring[] required
assigned_agentstring nullable required
result_summarystring nullable required
cell_idstring nullable required
repostring nullable required
task_typestring required
upgrade_detailsobject nullable required
modelstring nullable required
effortstring nullable required
clistring nullable
batch_eligibleboolean
completion_signalsobject[]
slack_contextobject nullable
metadataobject
created_atnumber required
claimed_atnumber nullable
completed_atnumber nullable
closed_atnumber nullable
deadlinenumber nullable
versioninteger
parent_session_idstring nullable
retry_countinteger
max_retriesinteger
retry_delay_snumber
terminal_reasonstring nullable
max_output_tokensinteger nullable
meta_messagesstring[]
max_turnsinteger nullable
artifact_specobject nullable

Changes

Changed in 2 of the 15 revisions of this API.11

    • added the optional property artifact_spec to the response with the 200 status

      response-optional-property-added

    • added the optional property cli to the response with the 200 status

      response-optional-property-added

    • added the optional property closed_at to the response with the 200 status

      response-optional-property-added

    • added the optional property completed_at to the response with the 200 status

      response-optional-property-added

    • added the optional property max_output_tokens to the response with the 200 status

      response-optional-property-added

    • added the optional property max_retries to the response with the 200 status

      response-optional-property-added

    • added the optional property max_turns to the response with the 200 status

      response-optional-property-added

    • added the optional property meta_messages to the response with the 200 status

      response-optional-property-added

    • added the optional property retry_count to the response with the 200 status

      response-optional-property-added

    • added the optional property retry_delay_s to the response with the 200 status

      response-optional-property-added

    • added the optional property terminal_reason to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog