diff --git a/reference/public-http-api.yaml b/reference/public-http-api.yaml index eaba036..31064d5 100644 --- a/reference/public-http-api.yaml +++ b/reference/public-http-api.yaml @@ -586,12 +586,21 @@ paths: value: - id: '1' name: Ecommerce + driftedDatasets: [] - id: '2' name: Internal + driftedDatasets: + - datasetId: 'ds-42' + driftedAt: '2026-04-10T12:00:00Z' + offset: + type: num + value: 150 - id: '3' name: Staging environment + driftedDatasets: [] - id: '4' name: Test environment + driftedDatasets: [] '401': description: Unauthorized operationId: get-pipelines @@ -686,6 +695,7 @@ paths: name: Ecommerce columnNameStrategy: tableNamePostfix: true + driftedDatasets: [] '401': description: Unauthorized '404': @@ -1821,6 +1831,12 @@ components: name: type: string minLength: 1 + driftedDatasets: + type: array + readOnly: true + description: Enriched drift information for each dataset within this pipeline that has drifted from its initial schema. + items: + $ref: '#/components/schemas/drifted-dataset' required: - id - name @@ -1846,10 +1862,48 @@ components: properties: tableNamePostfix: type: boolean + driftedDatasets: + type: array + readOnly: true + description: Enriched drift information for each dataset within this pipeline that has drifted from its initial schema. + items: + $ref: '#/components/schemas/drifted-dataset' required: - id - name - destinationId + drifted-dataset: + title: '' + type: object + description: Drift information for a single dataset. + properties: + datasetId: + type: string + description: The ID of the drifted dataset. + driftedAt: + type: string + format: date-time + description: When the schema drift was detected. + offset: + type: object + nullable: true + description: The offset at which schema drift was detected. + properties: + type: + type: string + enum: + - num + - str + value: + oneOf: + - type: number + - type: string + required: + - type + - value + required: + - datasetId + - driftedAt simple-pipeline-metric: type: object properties: