Diamond
custom-harnesses
Cancel Custom Harness
Cancel a running custom harness creation workflow.
Uses harness_id to load the harness from S3, then the harness's workflow_id to load the workflow. If workflow_specific_fields (task_id, session_id) are present, sends cancel to the agent; otherwise marks the workflow as cancelled so the worker will not overwrite with success/failure. Requires agent:write permission.
post/v1/custom-harnesses/{harness_id}/cancel
Path parameters
harness_idstring uuid required
Query parameters
team_idstring uuid nullable
Team ID (required)
Team ID (required)
Response
Successful Response
object required