Agents / CLI

Release agent work order

Release an external coding agent work-order lease without submitting an artifact. Use this when the agent cannot complete the task so another worker can claim it. This does not launch or send anything.

pipeline release-agent-work-orderDeterministic operation

Parameters

workspaceIdOptional · string
Optional with an API key, inferred from the key.
workOrderIdRequired · string
See the input schema for this field.
claimTokenRequired · string
Lease token returned by claim-agent-work-order.
Request example
pipeline release-agent-work-order \
  --work-order-id "00000000-0000-4000-8000-000000000000" \
  --claim-token "00000000-0000-4000-8000-000000000001"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with an API key, inferred from the key."
    },
    "workOrderId": {
      "type": "string"
    },
    "claimToken": {
      "type": "string",
      "description": "Lease token returned by claim-agent-work-order."
    }
  },
  "required": [
    "workOrderId",
    "claimToken"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview