|
2637 | 2637 | }, |
2638 | 2638 | "get": { |
2639 | 2639 | "operationId": "getRowEnrichment", |
2640 | | - "summary": "Get Enrichment Run Detail", |
2641 | | - "description": "Retrieve the provider cascade behind one enrichment cell: every configured provider in cascade order, each one's status, hosted-key cost, and duration, plus which provider produced the match. `null` means the cell has never run, or ran before cascade detail was recorded — distinct from a `404`, which means the table, row, or group does not exist.", |
| 2640 | + "summary": "Get Row Group Run", |
| 2641 | + "description": "Retrieve one workflow or enrichment group's outcome on one row: the run state `includeRunState` reports on the row endpoints (`status`, `error`, `workflowId`, `executionId`, …), the group's output cells keyed by column name, and — for an enrichment group — the provider cascade behind them: every configured provider in cascade order, each one's status, hosted-key cost, and duration, plus which provider produced the match. A row that exists always answers; `runState: null` means the group has never run for it, and `cascade: null` that no provider breakdown was recorded. A `404` means the table, row, or group does not exist.", |
2642 | 2642 | "tags": ["Tables"], |
2643 | 2643 | "parameters": [ |
2644 | 2644 | { |
|
2688 | 2688 | ], |
2689 | 2689 | "responses": { |
2690 | 2690 | "200": { |
2691 | | - "description": "The enrichment run detail, or null when none was recorded.", |
| 2691 | + "description": "The run state, output cells, and provider cascade for the group on the row.", |
2692 | 2692 | "headers": { |
2693 | 2693 | "X-RateLimit-Limit": { |
2694 | 2694 | "$ref": "#/components/headers/X-RateLimit-Limit" |
|
9983 | 9983 | "title": "Enrichment provider outcome", |
9984 | 9984 | "description": "One provider's result within an enrichment cascade." |
9985 | 9985 | }, |
9986 | | - "V2RowEnrichmentResponse": { |
| 9986 | + "V2RowGroupEnrichment": { |
9987 | 9987 | "type": "object", |
9988 | 9988 | "properties": { |
9989 | | - "data": { |
| 9989 | + "groupId": { |
| 9990 | + "type": "string", |
| 9991 | + "description": "Workflow or enrichment group this answers for." |
| 9992 | + }, |
| 9993 | + "runState": { |
| 9994 | + "anyOf": [ |
| 9995 | + { |
| 9996 | + "$ref": "#/components/schemas/V2TableRowRunState" |
| 9997 | + }, |
| 9998 | + { |
| 9999 | + "type": "null" |
| 10000 | + } |
| 10001 | + ], |
| 10002 | + "description": "Most recent run of this group on this row — the same shape `includeRunState` reports — or null when the group has never run for the row." |
| 10003 | + }, |
| 10004 | + "outputs": { |
| 10005 | + "description": "The group's output cells keyed by column name. A column the run has not populated is null.", |
| 10006 | + "$ref": "#/components/schemas/V2TableRowData" |
| 10007 | + }, |
| 10008 | + "cascade": { |
9990 | 10009 | "anyOf": [ |
9991 | 10010 | { |
9992 | 10011 | "$ref": "#/components/schemas/V2EnrichmentRunDetail" |
|
9995 | 10014 | "type": "null" |
9996 | 10015 | } |
9997 | 10016 | ], |
9998 | | - "description": "Response data." |
| 10017 | + "description": "Provider cascade behind the cell, or null when none was recorded — a manual workflow group, a group that has not run, or a run predating the breakdown." |
| 10018 | + } |
| 10019 | + }, |
| 10020 | + "required": ["groupId", "runState", "outputs", "cascade"], |
| 10021 | + "additionalProperties": false, |
| 10022 | + "title": "Row group enrichment", |
| 10023 | + "description": "Run state, output cells, and provider cascade for one group on one row." |
| 10024 | + }, |
| 10025 | + "V2RowEnrichmentResponse": { |
| 10026 | + "type": "object", |
| 10027 | + "properties": { |
| 10028 | + "data": { |
| 10029 | + "description": "Response data.", |
| 10030 | + "$ref": "#/components/schemas/V2RowGroupEnrichment" |
9999 | 10031 | } |
10000 | 10032 | }, |
10001 | 10033 | "required": ["data"], |
10002 | 10034 | "additionalProperties": false, |
10003 | 10035 | "title": "Row enrichment response", |
10004 | | - "description": "Provider cascade, cost, and timing for one enrichment cell." |
| 10036 | + "description": "Run state, output cells, and provider cascade for one group on one row." |
10005 | 10037 | }, |
10006 | 10038 | "V2TableRunDispatch": { |
10007 | 10039 | "type": "object", |
|
0 commit comments