The one failure shape, the same fields as the artifact and AI failures.
API reference sections
Schema
DelegateFailure
Type object
Shape
| Field | Type | Description |
|---|---|---|
| coderequired | string | A stable domain code. Run codes include |
| messagerequired | string | Safe developer-facing detail. Never an objective, a path or a provider payload. |
| retryablerequired | boolean | |
| details | object |
{
"code": "string",
"message": "string",
"retryable": false,
"details": {}
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
GET
The runs of a workspace/v1/runsPOST
Delegate a piece of work to an agent/v1/runsPOST
Preserve model selection: Delegate a piece of work to an agent/v2/runsGET
One run, with a window of its history/v1/runs/{run}POST
End the run/v1/runs/{run}/cancelPOST
Preserve model selection: Continue an interrupted run as a fresh attempt/v2/runs/{run}/resumePOST
Rate a finished run/v1/runs/{run}/ratePOST
Put a run in the trash/v1/runs/{run}/trashPOST
Take a run back out of the trash/v1/runs/{run}/restorePOST
The trash was emptied: delete the run/v1/runs/{run}/purgeGET
Follow a run's history and status/v1/runs/{run}/streamPOST
Pause a schedule/v1/schedules/pausePOST
Resume a schedule/v1/schedules/resumePOST
Delete a schedule/v1/schedules/retirePOST
Edit a schedule/v1/schedules/editGET
The schedules of a workspace/v1/schedulesPOST
Create repeating delegated work/v1/schedulesPOST
Rename a schedule/v1/schedules/renameGET
Watch a schedule list for changes/v1/schedules/stream
Generated from contract version 1. Last updated .
