|
1423 | 1423 | "name": "includeOutput", |
1424 | 1424 | "in": "query", |
1425 | 1425 | "required": false, |
1426 | | - "description": "Include final and block outputs when true.", |
| 1426 | + "description": "Include the final workflow output when true. It does not gate `blockOutputs`, which `selectedOutputs` selects on its own.", |
1427 | 1427 | "schema": { |
1428 | | - "description": "Include final and block outputs when true.", |
| 1428 | + "description": "Include the final workflow output when true. It does not gate `blockOutputs`, which `selectedOutputs` selects on its own.", |
1429 | 1429 | "type": "boolean" |
1430 | 1430 | } |
1431 | 1431 | }, |
1432 | 1432 | { |
1433 | 1433 | "name": "selectedOutputs", |
1434 | 1434 | "in": "query", |
1435 | 1435 | "required": false, |
1436 | | - "description": "Comma-separated block output references to include.", |
| 1436 | + "description": "Comma-separated block output references to include, as `blockId` or `blockId.path`. Block *names* are not resolved here — unlike the execute request, this resource reads a recorded run and matches ids only, so a name selects nothing and yields an empty `blockOutputs`.", |
1437 | 1437 | "schema": { |
1438 | | - "description": "Comma-separated block output references to include.", |
| 1438 | + "description": "Comma-separated block output references to include, as `blockId` or `blockId.path`. Block *names* are not resolved here — unlike the execute request, this resource reads a recorded run and matches ids only, so a name selects nothing and yields an empty `blockOutputs`.", |
1439 | 1439 | "type": "string" |
1440 | 1440 | } |
1441 | 1441 | } |
|
3882 | 3882 | "INVALID_INPUT", |
3883 | 3883 | "BLOCK_EXECUTION_FAILED", |
3884 | 3884 | "CHILD_WORKFLOW_FAILED", |
3885 | | - "OUTPUT_TOO_LARGE", |
3886 | 3885 | "EXECUTION_FAILED" |
3887 | 3886 | ], |
3888 | | - "description": "Stable machine-readable execution failure code." |
| 3887 | + "description": "Stable machine-readable execution failure code. `BLOCK_EXECUTION_FAILED` and `CHILD_WORKFLOW_FAILED` are reported only where block attribution is available; elsewhere a block-level failure is reported as `EXECUTION_FAILED`." |
3889 | 3888 | }, |
3890 | 3889 | "blockId": { |
3891 | | - "description": "Identifier of the failing block, when attributable.", |
| 3890 | + "description": "Identifier of the failing block. Present on the synchronous execute response only; the polled run resource and the resume response cannot attribute a block.", |
3892 | 3891 | "type": "string" |
3893 | 3892 | }, |
3894 | 3893 | "blockName": { |
3895 | | - "description": "Display name of the failing block.", |
| 3894 | + "description": "Display name of the failing block. Present on the synchronous execute response only.", |
3896 | 3895 | "type": "string" |
3897 | 3896 | }, |
3898 | 3897 | "blockType": { |
3899 | | - "description": "Integration or block type that failed.", |
| 3898 | + "description": "Integration or block type that failed. Present on the synchronous execute response only.", |
3900 | 3899 | "type": "string" |
3901 | 3900 | } |
3902 | 3901 | }, |
|
4292 | 4291 | "type": "null" |
4293 | 4292 | } |
4294 | 4293 | ], |
4295 | | - "description": "Trigger type, or null before the run is recorded." |
| 4294 | + "description": "Trigger type that started the run. Backfilled as `api` for a run that is still queued, so it is populated from the first poll." |
4296 | 4295 | }, |
4297 | 4296 | "startedAt": { |
4298 | 4297 | "anyOf": [ |
|
4303 | 4302 | "type": "null" |
4304 | 4303 | } |
4305 | 4304 | ], |
4306 | | - "description": "ISO 8601 start timestamp, or null while queued.", |
| 4305 | + "description": "ISO 8601 start timestamp. A queued run reports the time it was enqueued, so it is populated from the first poll.", |
4307 | 4306 | "format": "date-time" |
4308 | 4307 | }, |
4309 | 4308 | "endedAt": { |
|
4453 | 4452 | "type": "null" |
4454 | 4453 | } |
4455 | 4454 | ], |
4456 | | - "description": "Structured execution failure, or null when none occurred." |
| 4455 | + "description": "Structured execution failure, or null when none occurred. Reclassified from the persisted error message, so `blockId`/`blockName`/`blockType` are absent and a block-level failure reports `EXECUTION_FAILED` here even when the same run reported `BLOCK_EXECUTION_FAILED` on its synchronous execute response." |
4457 | 4456 | }, |
4458 | 4457 | "output": { |
4459 | 4458 | "anyOf": [ |
|
4481 | 4480 | "type": "null" |
4482 | 4481 | } |
4483 | 4482 | ], |
4484 | | - "description": "Selected block outputs when requested, otherwise null." |
| 4483 | + "description": "Outputs of the blocks named by `selectedOutputs`, or null when none were requested. Gated by `selectedOutputs` alone — `includeOutput` governs `output` only." |
4485 | 4484 | } |
4486 | 4485 | }, |
4487 | 4486 | "required": [ |
|
0 commit comments