sdkDeterministic
Release agent work order
pipeline.releaseAgentWorkOrder
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
TypeScripttypescript
await pipeline.releaseAgentWorkOrder({"workOrderId": "00000000-0000-4000-8000-000000000000","claimToken": "00000000-0000-4000-8000-000000000001"})
Response
Success response schemajson schema
{"type": "object","properties": {"released": {"type": "boolean"}},"required": ["released"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.