cliDeterministic
Release agent work order
pipeline 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.
Parameters
workspaceId
string
Optional with an API key, inferred from the key.
workOrderIdrequired
string
No description.
claimTokenrequired
string
Lease token returned by claim-agent-work-order.
Example
CLI commandbash
pipeline release-agent-work-order \--work-order-id "00000000-0000-4000-8000-000000000000" \--claim-token "00000000-0000-4000-8000-000000000001"
Response
Success response schemajson schema
{"type": "object","properties": {"released": {"type": "boolean"}},"required": ["released"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.