{"openapi":"3.1.1","info":{"title":"Pipeline Observability API","version":"0.1.0-draft","description":"API reference for pipeline summaries and runs, monitoring policies, execution-failure settings, data reliability automations, tag associations, asset lineage, and alerts.\n\nAuthentication requires both accessKey and secretKey headers. Replace the example server URL with your Acceldata instance base URL. All example names and identifiers are illustrative.\n\nThis reference includes documented success responses and 401 authentication errors. Examples use fictional resource names, identifiers, URLs, and email addresses and illustrate independent requests and responses. Example values are not exhaustive lists of supported values. Path parameters and the AD-Integration header for Resolve pipeline alerts are marked required. Response property types reflect the supplied examples; field requiredness and complete validation rules are not specified."},"servers":[{"url":"https://api.example.com","description":"Replace with your Acceldata instance base URL, without an API path."}],"tags":[{"name":"Pipelines","description":"Retrieve pipeline summaries, runs, spans, and run graphs."},{"name":"Bulk Monitoring","description":"Create, update, and activate bulk monitoring configurations."},{"name":"Pipeline Policies","description":"Manage monitoring policies and execution-failure settings."},{"name":"Automations","description":"Create pipeline automations and retrieve their execution information."},{"name":"Tags","description":"Manage pipeline tag associations."},{"name":"Lineage","description":"Retrieve pipeline lineage associated with assets."},{"name":"Alerts","description":"Retrieve and resolve pipeline alerts."}],"security":[{"AccessKey":[],"SecretKey":[]}],"paths":{"/torch-pipeline/api/pipelines/summary":{"get":{"operationId":"listPipelineSummaries","tags":["Pipelines"],"summary":"List pipeline summaries","description":"Retrieves pipeline summaries with filters for pipeline name, pipeline source, data source, run result, and tags.","parameters":[{"name":"name","in":"query","description":"Filter by pipeline name.","schema":{"type":"string"},"example":"daily_sales_pipeline"},{"name":"pipelineSource","in":"query","description":"Filter by pipeline source.","schema":{"type":"string"},"example":"DBT"},{"name":"dataSource","in":"query","description":"Filter by data source name.","schema":{"type":"string"},"example":"sales_source"},{"name":"runResult","in":"query","description":"Filter by pipeline run results, separated by commas.","schema":{"type":"string"},"example":"FAILURE,SUCCESS"},{"name":"tagKeyValueIds","in":"query","description":"Filter by tag key-value IDs.","schema":{"type":"string"},"example":"3002"}],"responses":{"200":{"description":"OK. Returns pipeline summaries and pagination metadata.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineSummariesResponse"},"examples":{"success":{"summary":"Successful response","value":{"pipelines":[{"assetNodesCount":3,"functionalNodesCount":7,"latestRunStartedAt":1767254400000,"latestRunFinishedAt":1767254424923,"latestRunResult":"SUCCESS","totalRunsCount":102,"pipelineSummary":{"id":1003,"name":"daily_sales_pipeline","uid":"sales_dbt_source.sales_dbt_project.daily_sales_pipeline","meta":{"owner":null,"team":null,"codeLocation":null}},"latestRunId":8001,"latestRunVersionId":null,"sourceType":"DBT","policyCounts":{"SUCCESSFUL":0,"ERRORED":0,"ABORTED":0,"WARNING":0,"RUNNING":0,"WAITING":1,"SKIPPED":0,"TOTAL":1},"namespace":null,"tagsCount":0},{"assetNodesCount":3,"functionalNodesCount":7,"latestRunStartedAt":1767254400000,"latestRunFinishedAt":1767254424923,"latestRunResult":"SUCCESS","totalRunsCount":940,"pipelineSummary":{"id":1004,"name":"daily_sales_pipeline","uid":"analytics_dbt_source.sales_dbt_project.daily_sales_pipeline","meta":{"owner":null,"team":null,"codeLocation":null}},"latestRunId":8002,"latestRunVersionId":null,"sourceType":"DBT","policyCounts":{"SUCCESSFUL":0,"ERRORED":0,"ABORTED":0,"WARNING":0,"RUNNING":0,"WAITING":0,"SKIPPED":0,"TOTAL":0},"namespace":null,"tagsCount":0}],"meta":{"count":2,"page":0,"size":20}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/{pipelineId}/runs":{"get":{"operationId":"listPipelineRuns","tags":["Pipelines"],"summary":"List pipeline runs","description":"Retrieves runs for the specified pipeline.","parameters":[{"$ref":"#/components/parameters/PipelineId"}],"responses":{"200":{"description":"OK. Returns pipeline runs and pagination metadata.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineRunsResponse"},"examples":{"success":{"summary":"Successful response","value":{"runs":[{"id":8002,"pipelineId":1004,"versionId":8201,"status":"COMPLETED","result":"SUCCESS","successEvents":29,"errorEvents":0,"warningEvents":0,"startedAt":1767254400000,"finishedAt":1767254424923,"avgExecutionTime":null,"args":null,"continuationId":null,"externalRunId":"90000000000001","tenantId":"example-tenant"},{"id":8003,"pipelineId":1004,"versionId":8201,"status":"COMPLETED","result":"SUCCESS","successEvents":29,"errorEvents":0,"warningEvents":0,"startedAt":1767253500641,"finishedAt":1767253527935,"avgExecutionTime":null,"args":null,"continuationId":null,"externalRunId":"90000000000002","tenantId":"example-tenant"}],"meta":{"count":940,"page":0,"size":2}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/runs/{runId}/spans":{"get":{"operationId":"getPipelineRunSpans","tags":["Pipelines"],"summary":"Get pipeline run spans","description":"Retrieves spans for the specified pipeline run.","parameters":[{"$ref":"#/components/parameters/RunId"}],"responses":{"200":{"description":"OK. Returns the spans for the pipeline run.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineRunSpansResponse"},"examples":{"success":{"summary":"Successful response","value":{"spans":[{"id":8302,"uid":"sales_dbt_project.sales_orders_model","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":0.46,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254410789,"finishedAt":1767254411130,"totalTime":341,"terminalEventProcessedAt":1767254498089},{"id":8303,"uid":"sales_dbt_project.sales_totals_model","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":1.26,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254411138,"finishedAt":1767254412281,"totalTime":1143,"terminalEventProcessedAt":1767254498892},{"id":8304,"uid":"sales_dbt_project.sales_dbt_project-on-run-start-0-4","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":0.01,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254410771,"finishedAt":1767254410782,"totalTime":11,"terminalEventProcessedAt":1767254497783},{"id":8305,"uid":"sales_dbt_project.sales_dbt_project-on-run-start-0-5","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":0.01,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254420557,"finishedAt":1767254420568,"totalTime":11,"terminalEventProcessedAt":1767254500140},{"id":8306,"uid":"sales_dbt_project.sales_summary_model","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":1.16,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254412288,"finishedAt":1767254413161,"totalTime":873,"terminalEventProcessedAt":1767254499122},{"id":8307,"uid":"sales_dbt_project.sales_dbt_project-on-run-end-0-4","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":0,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254413166,"finishedAt":1767254413168,"totalTime":2,"terminalEventProcessedAt":1767254499272},{"id":8308,"uid":"sales_dbt_project.check_sales_order_id_unique","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":0.24,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254420579,"finishedAt":1767254420756,"totalTime":177,"terminalEventProcessedAt":1767254500220},{"id":8309,"uid":"sales_dbt_project.sales_dbt_project-on-run-end-0-5","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":0,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254420759,"finishedAt":1767254420761,"totalTime":2,"terminalEventProcessedAt":1767254500269},{"id":8301,"uid":"daily_sales_pipeline","pipelineRunId":8002,"parentSpanId":null,"status":"FINISHED","avgExecutionTime":29.48,"successEvents":29,"errorEvents":0,"warningEvents":0,"startedAt":1767254400000,"finishedAt":1767254424923,"totalTime":24923,"terminalEventProcessedAt":1767254500303},{"id":8310,"uid":"sales_dbt_project.check_sales_order_id_not_null","pipelineRunId":8002,"parentSpanId":8301,"status":"FINISHED","avgExecutionTime":0.24,"successEvents":3,"errorEvents":0,"warningEvents":0,"startedAt":1767254420577,"finishedAt":1767254420698,"totalTime":121,"terminalEventProcessedAt":1767254500180}]}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/{pipelineId}/graph":{"get":{"operationId":"getPipelineRunGraph","tags":["Pipelines"],"summary":"Get a pipeline run graph","description":"Retrieves the lineage graph, including functional and asset nodes, for a pipeline run.","parameters":[{"$ref":"#/components/parameters/PipelineId"},{"name":"versionId","in":"query","description":"Version identifier used to retrieve the graph.","schema":{"type":"integer"},"example":9001},{"name":"runId","in":"query","description":"ID of the pipeline run.","schema":{"type":"integer"},"example":8001}],"responses":{"200":{"description":"OK. Returns pipeline details, graph nodes and edges, run information, and run metrics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineRunGraphResponse"},"example":{"details":{"pipeline":{"id":1001,"name":"sample_ingestion_pipeline","description":"Snaplogic Pipeline","notificationChannels":null,"enabled":true,"interrupt":false,"scheduled":false,"schedule":null,"schedulerType":"EXTERNAL","context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"uid":"sample_pipeline_snaplogic.sample_pipeline_snaplogic_SelectInsert","tags":[],"tagAssociations":[],"createdAt":1773307976459,"updatedAt":1788876138183,"pipelineBaselineMetric":{"metrics":10,"unit":"RUNS","includeSuccessfulRunsOnly":false},"sourceType":"SNAPLOGIC","latestRunId":1002,"assemblyId":null},"nodes":[{"id":1003,"type":"FUNCTIONAL","assetId":null,"pipelineId":1001,"name":"Snowflake - Select","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1004,"uid":"sample_pipeline_snaplogic.sample_pipeline_snaplogic_SelectInsert.Snowflake - Select.1db41dd0-09d0-4590-ba21-4c59955956c2","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":[{"policyType":"DATA_QUALITY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"DATA_DRIFT","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"SCHEMA_DRIFT","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"DATA_CADENCE","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"PROFILE_ANOMALY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"AUTO_ANOMALY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"RECONCILIATION","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0}],"jobNodeMetric":[],"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":[]},{"id":1005,"type":"FUNCTIONAL","assetId":null,"pipelineId":1001,"name":"Snowflake - Insert","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1004,"uid":"sample_pipeline_snaplogic.sample_pipeline_snaplogic_SelectInsert.Snowflake - Insert.da84825c-41e5-4554-bbe1-d9c1175480e0","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":[{"policyType":"DATA_QUALITY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"DATA_DRIFT","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"SCHEMA_DRIFT","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"DATA_CADENCE","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"PROFILE_ANOMALY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"AUTO_ANOMALY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"RECONCILIATION","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0}],"jobNodeMetric":[],"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":[]},{"id":1006,"type":"ASSET","assetId":1007,"pipelineId":1001,"name":"SAMPLE_CUSTOMER_TABLE","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1004,"uid":"sample_snowflake_source.SAMPLE_ANALYTICS_DB.PUBLIC.SAMPLE_CUSTOMER_TABLE","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":[{"policyType":"DATA_QUALITY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"DATA_DRIFT","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"SCHEMA_DRIFT","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"DATA_CADENCE","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"PROFILE_ANOMALY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"AUTO_ANOMALY","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0},{"policyType":"RECONCILIATION","success":0,"error":0,"aborted":0,"warning":0,"waiting":0,"skipped":0,"total":0}],"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":"TABLE","sourceType":"SNOWFLAKE","relatedPipelineCount":5,"linkedPipelineRunInfo":null}],"edges":[{"id":1008,"fromId":1006,"toId":1003,"fromNodeType":null,"toNodeType":null,"versionId":1004},{"id":1009,"fromId":1005,"toId":1006,"fromNodeType":null,"toNodeType":null,"versionId":1004},{"id":1010,"fromId":1003,"toId":1005,"fromNodeType":null,"toNodeType":null,"versionId":1004}],"pipelineRun":{"id":1002,"pipelineId":1001,"versionId":1004,"status":"COMPLETED","result":"SUCCESS","successEvents":7,"errorEvents":0,"warningEvents":0,"startedAt":1790322300031,"finishedAt":1790322314663,"avgExecutionTime":null,"args":null,"continuationId":null,"externalRunId":"example-external-run-id","tenantId":"sample-tenant"}},"metrics":[{"type":"DURATION","name":"DURATION","value":14632,"unit":"ms","change":8.64916,"denominator":null},{"type":"RELIABILITY","name":"DATA RELIABILITY POLICIES","value":0,"unit":"","change":0,"denominator":0}]}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/v2/bulk-monitoring-policy":{"post":{"operationId":"createBulkMonitoringConfiguration","tags":["Bulk Monitoring"],"summary":"Create a bulk monitoring configuration","description":"Creates monitoring policies or execution-failure settings for pipelines. Use type POLICY with policies for duration monitoring, or type EXECUTION_FAILURE with failureConfigs for execution-failure settings.","requestBody":{"description":"Bulk monitoring or execution-failure configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMonitoringCreateRequest"},"examples":{"monitoringPolicies":{"summary":"Create duration monitoring policies","value":{"type":"POLICY","name":"pipeline_duration_monitoring","description":"","policies":[{"name":"daily_sales_duration","pipelineId":1001,"enabled":true,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"operator":"LESS_THAN","units":"TIME","threshold":"01:00:00"}},"severity":"CRITICAL","notificationChannels":[],"processingType":"POST_PROCESSING","backingEntity":[{"entityType":"PIPELINE","entityUid":"sales_source.daily_sales_pipeline"}]},{"name":"inventory_duration","pipelineId":1002,"enabled":true,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"operator":"LESS_THAN","units":"TIME","threshold":"01:00:00"}},"severity":"CRITICAL","notificationChannels":[],"processingType":"POST_PROCESSING","backingEntity":[{"entityType":"PIPELINE","entityUid":"inventory_source.inventory_pipeline"}]}],"healthNotifications":[{"enabled":false,"cron":"","severity":"CRITICAL","notificationChannels":[],"onlyFailed":false,"notifyWhenHealthy":true}],"appliedToAll":false,"action":"SAVE_AS_DRAFT"}},"executionFailureSettings":{"summary":"Create execution-failure settings","value":{"type":"EXECUTION_FAILURE","name":"pipeline_failure_settings","description":"","appliedToAll":false,"failureConfigs":[{"pipelineId":1001,"raiseIncident":true,"incidentName":"Daily sales pipeline execution failed","severity":"CRITICAL","notificationChannels":[6001]}],"healthNotifications":[{"enabled":true,"cron":"","severity":"CRITICAL","notificationChannels":[],"onlyFailed":false,"notifyWhenHealthy":true}],"action":"SAVE_AND_ACTIVATE"}}}}}},"responses":{"201":{"description":"Created. Returns the bulk monitoring configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMonitoringConfigurationResponse"},"examples":{"success":{"summary":"Bulk monitoring configuration (POLICY)","value":{"id":4001,"name":"sales_duration_monitoring","description":"","appliedToAll":false,"status":"APPLYING","type":"POLICY","policies":[],"failureConfigs":null,"healthNotifications":[{"id":4101,"tenantId":"example-tenant","name":null,"enabled":false,"cron":"","severity":"CRITICAL","notificationChannels":[],"onlyFailed":false,"notifyWhenHealthy":true}],"createdAt":1767253825295,"updatedAt":1767253825295}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/v2/bulk-monitoring-policy/{bulkMonitorPolicyId}":{"put":{"operationId":"updateBulkMonitoringPolicy","tags":["Bulk Monitoring"],"summary":"Update a bulk monitoring policy","description":"Updates the specified bulk monitoring policy using the submitted configuration.","parameters":[{"$ref":"#/components/parameters/BulkMonitorPolicyId"}],"requestBody":{"description":"Updated bulk monitoring policy settings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMonitoringUpdateRequest"},"examples":{"updateMonitoringPolicy":{"summary":"Update and activate a monitoring policy","value":{"type":"POLICY","name":"pipeline_duration_monitoring","description":"","policies":[{"name":"inventory_duration","pipelineId":1002,"enabled":true,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"operator":"LESS_THAN","units":"TIME","threshold":"01:00:00"}},"severity":"CRITICAL","notificationChannels":[],"processingType":"REAL_TIME_PROCESSING","backingEntity":[{"id":5001,"entityType":"PIPELINE","entityUid":"inventory_source.inventory_pipeline","policyId":2001}],"timeZone":"UTC","id":2001,"bulkMonitoringPolicyId":4001}],"healthNotifications":[{"enabled":false,"cron":"","severity":"CRITICAL","notificationChannels":[],"onlyFailed":false,"notifyWhenHealthy":true}],"appliedToAll":false,"action":"SAVE_AND_ACTIVATE"}}}}}},"responses":{"200":{"description":"OK. Returns the updated bulk monitoring configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMonitoringConfigurationResponse"},"examples":{"success":{"summary":"Bulk monitoring configuration (POLICY)","value":{"id":4001,"name":"sales_duration_monitoring_updated","description":"","appliedToAll":false,"status":"APPLYING","type":"POLICY","policies":[],"failureConfigs":null,"healthNotifications":[{"id":4102,"tenantId":"example-tenant","name":null,"enabled":false,"cron":"","severity":"CRITICAL","notificationChannels":[],"onlyFailed":false,"notifyWhenHealthy":true}],"createdAt":1767253825295,"updatedAt":1767253963368}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/v2/bulk-monitoring-policy/{bulkMonitorPolicyId}/activate":{"post":{"operationId":"activateBulkMonitoringConfiguration","tags":["Bulk Monitoring"],"summary":"Activate a bulk monitoring configuration","description":"Activates a bulk monitoring policy or execution-failure configuration.","parameters":[{"$ref":"#/components/parameters/BulkMonitorPolicyId"}],"responses":{"200":{"description":"OK. Returns the bulk monitoring configuration after the activation request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMonitoringConfigurationResponse"},"examples":{"success":{"summary":"Bulk monitoring configuration (POLICY)","value":{"id":4001,"name":"sales_duration_monitoring_updated","description":"","appliedToAll":false,"status":"APPLYING","type":"POLICY","policies":[{"id":2001,"backingEntity":[{"id":5001,"entityType":"PIPELINE","entityUid":"sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline","policyId":2001}],"name":"sales_ingestion_duration","enabled":false,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"threshold":"01:00:00","operator":"LESS_THAN","units":"TIME"}},"pipelineId":1001,"severity":"CRITICAL","notificationChannels":[],"processingType":"REAL_TIME_PROCESSING","spanUids":null,"metadataMeasurement":null,"tenantId":"example-tenant","timeZone":"UTC","bulkMonitoringPolicyId":4001,"status":"DRAFT"},{"id":2002,"backingEntity":[{"id":5002,"entityType":"PIPELINE","entityUid":"sales_dbt_source.sales_dbt_project.sales_transform_pipeline","policyId":2002}],"name":"sales_transform_duration","enabled":false,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"threshold":"01:00:00","operator":"LESS_THAN","units":"TIME"}},"pipelineId":1002,"severity":"CRITICAL","notificationChannels":[],"processingType":"REAL_TIME_PROCESSING","spanUids":null,"metadataMeasurement":null,"tenantId":"example-tenant","timeZone":"UTC","bulkMonitoringPolicyId":4001,"status":"DRAFT"}],"failureConfigs":null,"healthNotifications":[{"id":4102,"tenantId":"example-tenant","name":null,"enabled":false,"cron":"","severity":"CRITICAL","notificationChannels":[],"onlyFailed":false,"notifyWhenHealthy":true}],"createdAt":1767253825295,"updatedAt":1767254016610}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/policy/monitoring":{"post":{"operationId":"createPipelineMonitoringPolicies","tags":["Pipeline Policies"],"summary":"Create pipeline monitoring policies","description":"Creates one or more monitoring policies. Include one entry in policies for each policy to create.","requestBody":{"description":"Monitoring policies to create.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitoringPoliciesCreateRequest"},"examples":{"monitoringPolicies":{"summary":"Create two pipeline monitoring policies","value":{"policies":[{"name":"daily_sales_duration","pipelineId":1001,"enabled":true,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"operator":"LESS_THAN","units":"TIME","threshold":"00:00:09"}},"severity":"CRITICAL","notificationChannels":[],"backingEntity":[{"entityType":"PIPELINE","entityUid":"sales_source.daily_sales_pipeline"}]},{"name":"inventory_duration","pipelineId":1002,"enabled":true,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"operator":"GREATER_THAN","units":"TIME","threshold":"00:00:01"}},"severity":"CRITICAL","notificationChannels":[],"backingEntity":[{"entityType":"PIPELINE","entityUid":"inventory_source.inventory_pipeline"}]}]}}}}}},"responses":{"200":{"description":"OK. Returns an array of monitoring policies.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MonitoringPolicyResponse"}},"examples":{"success":{"summary":"Successful response","value":[{"id":2003,"backingEntity":[{"id":5003,"entityType":"PIPELINE","entityUid":"sales_dbt_source.sales_dbt_project.daily_sales_pipeline","policyId":2003}],"name":"daily_sales_duration","enabled":true,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"threshold":"00:00:02","operator":"GREATER_THAN","units":"TIME"}},"pipelineId":1003,"severity":"CRITICAL","notificationChannels":[],"processingType":"REAL_TIME_PROCESSING","spanUids":null,"metadataMeasurement":null,"tenantId":"example-tenant","timeZone":"UTC","bulkMonitoringPolicyId":null,"status":"APPLIED"}]}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/policy/execution-failure":{"put":{"operationId":"updatePipelineFailureSettings","tags":["Pipeline Policies"],"summary":"Edit Pipeline Settings","description":"Updates execution-failure incident and notification settings for the pipeline identified by pipelineId in the request body.","requestBody":{"description":"Updated execution-failure settings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionFailureSettings"},"examples":{"failureSettings":{"summary":"Edit Pipeline Settings","value":{"incidentName":"Daily sales pipeline execution failed","notificationChannels":[],"pipelineId":1001,"raiseIncident":true,"severity":"HIGH"}}}}}},"responses":{"200":{"description":"OK. Returns the pipeline execution-failure settings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineSettingsResponse"},"examples":{"success":{"summary":"Successful response","value":{"id":4201,"raiseIncident":true,"pipelineId":1003,"incidentName":"daily_sales_pipeline Execution Failed","severity":"CRITICAL","notificationChannels":[],"createdAt":1767249367873,"updatedAt":1767254281808}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/policy/monitoring/{monitoringPolicyId}/detach-bulk-monitoring-policy":{"put":{"operationId":"detachMonitoringPolicyFromBulkConfiguration","tags":["Pipeline Policies"],"summary":"Detach a monitoring policy from bulk monitoring","description":"Detaches the specified monitoring policy from its bulk monitoring configuration.","parameters":[{"$ref":"#/components/parameters/MonitoringPolicyId"}],"requestBody":{"description":"Empty JSON request object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetachBulkMonitoringRequest"},"examples":{"detach":{"summary":"Detach a monitoring policy","value":{}}}}}},"responses":{"200":{"description":"OK. Returns the monitoring policy after detachment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitoringPolicyResponse"},"examples":{"success":{"summary":"Successful response","value":{"id":2001,"backingEntity":[{"id":5001,"entityType":"PIPELINE","entityUid":"sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline","policyId":2001}],"name":"sales_ingestion_duration","enabled":true,"baseMetric":"TIME","baseMeasurementType":"DURATION","comparisonEntity":{"type":"USER_THRESHOLD","compare":{"threshold":"01:00:00","operator":"LESS_THAN","units":"TIME"}},"pipelineId":1001,"severity":"CRITICAL","notificationChannels":[],"processingType":"REAL_TIME_PROCESSING","spanUids":null,"metadataMeasurement":null,"tenantId":"example-tenant","timeZone":"UTC","bulkMonitoringPolicyId":null,"status":"APPLIED"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/{pipelineId}/automations":{"post":{"operationId":"createPipelineAutomation","tags":["Automations"],"summary":"Create a pipeline automation","description":"Creates a data reliability automation for the specified pipeline. The documented request configures a full data quality policy execution triggered by a successful pipeline run.","parameters":[{"$ref":"#/components/parameters/PipelineId"}],"requestBody":{"description":"Pipeline automation settings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAutomationRequest"},"examples":{"dataQualityAutomation":{"summary":"Create a data quality automation","value":{"automation":{"associatedItemId":7001,"associatedItemType":"POLICY","automationType":"DATA_QUALITY","executionType":"FULL","triggerEvent":"SUCCESS","triggerType":"PIPELINE_RUN","triggerValue":"","delayMinutes":0}}}}}}},"responses":{"200":{"description":"OK. Returns the created automation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePipelineAutomationResponse"},"examples":{"success":{"summary":"Successful response","value":{"automation":{"id":7101,"pipelineId":1003,"automationType":"DATA_QUALITY","associatedItemId":7001,"associatedItemName":"sales_quality_policy","executionType":"FULL","triggerType":"PIPELINE_RUN","associatedItemType":"POLICY","triggerValue":"","triggerEvent":"SUCCESS","delayMinutes":0,"createdAt":null,"updatedAt":null}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/runs/{runId}/automations/policy-info":{"get":{"operationId":"getPolicyAutomationExecutionStatus","tags":["Automations"],"summary":"Get policy automation execution status","description":"Retrieves policy automation execution information for the specified pipeline run.","parameters":[{"$ref":"#/components/parameters/RunId"}],"responses":{"200":{"description":"OK. Returns policy automation execution information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAutomationExecutionsResponse"},"examples":{"success":{"summary":"Successful response","value":{"executions":[{"id":7201,"assetId":null,"policyExecutionId":7301,"result":"WAITING","executionStartedAt":1767254500087,"executionFinishedAt":1767254501229,"ruleType":"DATA_QUALITY","successThreshold":100,"warningThreshold":70,"qualityScore":null,"ruleId":7001,"ruleName":"sales_quality_policy","triggeredBy":"PIPELINE_RUN","errorMessage":null,"delayMinutes":0,"scheduledStartAt":null},{"id":7202,"assetId":null,"policyExecutionId":7302,"result":"WAITING","executionStartedAt":1767254800039,"executionFinishedAt":1767254801072,"ruleType":"DATA_QUALITY","successThreshold":100,"warningThreshold":70,"qualityScore":null,"ruleId":7002,"ruleName":"delayed_sales_quality_policy","triggeredBy":"PIPELINE_RUN","errorMessage":null,"delayMinutes":5,"scheduledStartAt":1767254799944}],"meta":{"count":2,"page":0,"size":25}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/runs/{runId}/automations/profiling-info":{"get":{"operationId":"getProfilingAutomationExecutionStatus","tags":["Automations"],"summary":"Get profiling automation execution status","description":"Retrieves profiling automation execution information for the specified pipeline run.","parameters":[{"$ref":"#/components/parameters/RunId"}],"responses":{"200":{"description":"OK. Returns profiling automation execution information and related assets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilingAutomationExecutionsResponse"},"examples":{"success":{"summary":"Successful response","value":{"executions":[{"assetId":9001,"assetName":"SALES_ORDERS_VIEW","profileRequestId":9301,"profilingType":"FULL","isProfileAnomalous":false,"triggerEvent":"SUCCESS","triggeredBy":"PIPELINE_RUN","status":"RUNNING","totalRows":null,"executionStartedAt":1767254501854,"executionFinishedAt":1767254502009,"errorMessage":null,"delayMinutes":0,"scheduledStartAt":null}],"assets":{"assets":[{"id":9001,"name":"SALES_ORDERS_VIEW","assemblyId":9101,"assemblyName":null,"assetType":{"id":23,"name":"VIEW","canProfile":true,"canSample":true,"canMonitor":false},"uid":"sales_warehouse.SALES_DATABASE.PUBLIC.SALES_ORDERS_VIEW","parentId":9002,"isCustom":false,"isDeleted":false,"isSegmented":false}],"assemblies":[{"id":9101,"name":"sales_warehouse","description":"sales_warehouse","isSecured":false,"securityConfig":null,"connectionId":9201,"sourceType":{"id":5,"name":"SNOWFLAKE","sourceModel":null,"connectionTypeId":6,"miniProfiling":true},"schedule":null,"cronExpressions":null,"timeZone":"UTC","assemblyProperties":null,"createdAt":1766819768016,"updatedAt":1767092696668,"currentSnapshot":"11111111-1111-4111-8111-111111111111","isVirtual":false,"autoProfile":false,"tenantId":"example-tenant","integrationId":"22222222-2222-4222-8222-222222222222","isProtectedResource":false,"createdBy":null,"analyticsPipelineId":null,"status":"ACTIVE","configuration":{},"conn":null,"crawlerSparkConfigInventory":null,"crawlerPodConfig":null,"crawler":{"name":"snowflake"}}],"parents":[{"id":9001,"name":"SALES_ORDERS_VIEW","assemblyId":9101,"assemblyName":null,"assetType":{"id":23,"name":"VIEW","canProfile":true,"canSample":true,"canMonitor":false},"uid":"sales_warehouse.SALES_DATABASE.PUBLIC.SALES_ORDERS_VIEW","parentId":9002,"isCustom":false,"isDeleted":false,"isSegmented":false},{"id":9002,"name":"PUBLIC","assemblyId":9101,"assemblyName":null,"assetType":{"id":4,"name":"SCHEMA","canProfile":false,"canSample":false,"canMonitor":false},"uid":"sales_warehouse.SALES_DATABASE.PUBLIC","parentId":9003,"isCustom":false,"isDeleted":false,"isSegmented":false},{"id":9003,"name":"SALES_DATABASE","assemblyId":9101,"assemblyName":null,"assetType":{"id":1,"name":"DATABASE","canProfile":false,"canSample":false,"canMonitor":false},"uid":"sales_warehouse.SALES_DATABASE","parentId":0,"isCustom":false,"isDeleted":false,"isSegmented":false}]},"meta":{"count":1,"page":0,"size":25}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/{pipelineId}":{"put":{"operationId":"updatePipelineTags","tags":["Tags"],"summary":"Update pipeline tags","description":"Updates tag associations for the specified pipeline.","parameters":[{"$ref":"#/components/parameters/PipelineId"}],"requestBody":{"description":"Pipeline details and tag associations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePipelineTagsRequest"},"examples":{"pipelineTags":{"summary":"Update pipeline tag associations","value":{"tagWriteMode":"ASSOCIATIONS","pipeline":{"id":1001,"name":"daily_sales_pipeline","uid":"sales_source.daily_sales_pipeline","tagAssociations":[{"keyId":"3001","keyValueId":3002}]}}}}}}},"responses":{"200":{"description":"OK. Returns the pipeline with its tag associations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePipelineTagsResponse"},"examples":{"success":{"summary":"Successful response","value":{"pipeline":{"id":1005,"name":"daily_orders_pipeline","description":null,"notificationChannels":null,"enabled":true,"interrupt":false,"scheduled":false,"schedule":null,"schedulerType":"INTERNAL","context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"uid":"analytics_dbt_source.sales_dbt_project.daily_orders_pipeline","tags":[{"id":3002,"displayName":"production","createdAt":null,"updatedAt":null,"name":"environment"}],"tagAssociations":[{"keyValueId":3002,"keyId":3001,"keyName":"environment","valueName":"production","keyType":"USER","valueStatus":"ACTIVE"}],"createdAt":1766393567115,"updatedAt":1767254486156,"pipelineBaselineMetric":{"metrics":10,"unit":"RUNS","includeSuccessfulRunsOnly":false},"sourceType":"DBT","latestRunId":8004,"assemblyId":null}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/tag-associations/bulk":{"post":{"operationId":"attachTagsToPipelines","tags":["Tags"],"summary":"Attach tags to multiple pipelines","description":"Attaches the specified tag key-value entries to the pipelines identified by entityIds.","requestBody":{"description":"Pipeline IDs and tag key-value IDs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTagAssociationRequest"},"examples":{"bulkTags":{"summary":"Attach a tag to two pipelines","value":{"entityIds":[1001,1002],"entityType":"PIPELINE","keyValueIds":[3002]}}}}}},"responses":{"200":{"description":"OK. Returns created tag associations and an errors array.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTagAssociationsResponse"},"examples":{"success":{"summary":"Successful response","value":{"created":[{"keyValueId":3002,"keyId":3001,"keyName":"environment","valueName":"production","keyType":"USER","valueStatus":"ACTIVE"}],"errors":[]}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/assets/{assetId}/lineage":{"get":{"operationId":"getAssetPipelineLineage","tags":["Lineage"],"summary":"Get asset pipeline lineage","description":"Retrieves pipeline lineage associated with the specified asset.","parameters":[{"$ref":"#/components/parameters/AssetId"},{"name":"sublevellineage","in":"query","description":"Whether to include sublevel lineage.","schema":{"type":"boolean"},"example":false}],"responses":{"200":{"description":"OK. Returns the upstream and downstream lineage graph associated with the asset.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetPipelineLineageResponse"},"example":{"graph":{"nodes":[{"node":{"id":1011,"type":"ASSET","assetId":1012,"pipelineId":1013,"name":"sample_orders_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1014,"uid":"sample_snowflake_source.SAMPLE_ANALYTICS_DB.PUBLIC.E2E_PIPELINE_DBT_FIRST_MODEL","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":"VIEW","sourceType":"SNOWFLAKE","relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":6,"lineage":"UPSTREAM"},{"node":{"id":1015,"type":"FUNCTIONAL","assetId":null,"pipelineId":1013,"name":"sample_orders_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1014,"uid":"sample_dbt_project.sample_pipeline_dbt_first_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"UPSTREAM"},{"node":{"id":1016,"type":"FUNCTIONAL","assetId":null,"pipelineId":1017,"name":"sample_orders_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1018,"uid":"sample_dbt_project.sample_pipeline_dbt_first_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"UPSTREAM"},{"node":{"id":1019,"type":"FUNCTIONAL","assetId":null,"pipelineId":1020,"name":"sample_orders_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1021,"uid":"sample_dbt_project.sample_pipeline_dbt_first_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"UPSTREAM"},{"node":{"id":1022,"type":"FUNCTIONAL","assetId":null,"pipelineId":1023,"name":"sample_orders_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1024,"uid":"sample_dbt_project.sample_pipeline_dbt_first_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"UPSTREAM"},{"node":{"id":1025,"type":"ASSET","assetId":1026,"pipelineId":1027,"name":"sample_customers_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1028,"uid":"sample_snowflake_source.SAMPLE_ANALYTICS_DB.PUBLIC.E2E_PIPELINE_DBT_SECOND_MODEL","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":"TABLE","sourceType":"SNOWFLAKE","relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":6,"lineage":"DOWNSTREAM"},{"node":{"id":1029,"type":"ASSET","assetId":1030,"pipelineId":1031,"name":"sample_payments_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1032,"uid":"sample_snowflake_source.SAMPLE_ANALYTICS_DB.PUBLIC.E2E_PIPELINE_DBT_THIRD_MODEL","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":"TABLE","sourceType":"SNOWFLAKE","relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":6,"lineage":"DOWNSTREAM"},{"node":{"id":1033,"type":"FUNCTIONAL","assetId":null,"pipelineId":1027,"name":"sample_customers_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1028,"uid":"sample_dbt_project.sample_pipeline_dbt_second_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1034,"type":"FUNCTIONAL","assetId":null,"pipelineId":1013,"name":"test_order_id_not_null","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1014,"uid":"sample_dbt_project.test_order_id_not_null","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1035,"type":"FUNCTIONAL","assetId":null,"pipelineId":1013,"name":"test_order_id_unique","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1014,"uid":"sample_dbt_project.test_order_id_unique","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1036,"type":"FUNCTIONAL","assetId":null,"pipelineId":1017,"name":"test_order_id_not_null","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1018,"uid":"sample_dbt_project.test_order_id_not_null","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1037,"type":"FUNCTIONAL","assetId":null,"pipelineId":1017,"name":"test_order_id_unique","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1018,"uid":"sample_dbt_project.test_order_id_unique","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1038,"type":"FUNCTIONAL","assetId":null,"pipelineId":1039,"name":"sample_payments_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1040,"uid":"sample_dbt_project.sample_pipeline_dbt_third_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1041,"type":"FUNCTIONAL","assetId":null,"pipelineId":1020,"name":"sample_customers_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1021,"uid":"sample_dbt_project.sample_pipeline_dbt_second_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1042,"type":"FUNCTIONAL","assetId":null,"pipelineId":1020,"name":"sample_payments_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1021,"uid":"sample_dbt_project.sample_pipeline_dbt_third_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1043,"type":"FUNCTIONAL","assetId":null,"pipelineId":1020,"name":"test_order_id_not_null","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1021,"uid":"sample_dbt_project.test_order_id_not_null","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1044,"type":"FUNCTIONAL","assetId":null,"pipelineId":1020,"name":"test_order_id_unique","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1021,"uid":"sample_dbt_project.test_order_id_unique","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1045,"type":"FUNCTIONAL","assetId":null,"pipelineId":1046,"name":"sample_customers_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1047,"uid":"sample_dbt_project.sample_pipeline_dbt_second_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1048,"type":"FUNCTIONAL","assetId":null,"pipelineId":1023,"name":"sample_customers_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1024,"uid":"sample_dbt_project.sample_pipeline_dbt_second_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1049,"type":"FUNCTIONAL","assetId":null,"pipelineId":1023,"name":"sample_payments_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1024,"uid":"sample_dbt_project.sample_pipeline_dbt_third_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1050,"type":"FUNCTIONAL","assetId":null,"pipelineId":1023,"name":"test_order_id_unique","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1024,"uid":"sample_dbt_project.test_order_id_unique","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1051,"type":"FUNCTIONAL","assetId":null,"pipelineId":1023,"name":"test_order_id_not_null","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1024,"uid":"sample_dbt_project.test_order_id_not_null","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"},{"node":{"id":1052,"type":"FUNCTIONAL","assetId":null,"pipelineId":1031,"name":"sample_payments_model","description":null,"context":null,"meta":{"owner":null,"team":null,"codeLocation":null},"versionId":1032,"uid":"sample_dbt_project.sample_pipeline_dbt_third_model","createdVia":["PIPELINE_CREATION"],"status":"ACTIVE","parentId":null,"reliabilityPolicySummary":null,"jobNodeMetric":null,"alertsCount":null,"jobStatus":null,"linkedPipelineRunId":null,"parentNodeId":null,"nodeProperties":null,"dataType":null,"reliabilityScore":null,"assetType":null,"sourceType":null,"relatedPipelineCount":null,"linkedPipelineRunInfo":null},"canDelete":false,"canAddUpstreamLineage":false,"canAddDownstreamLineage":false,"functionalNodeGroup":null,"totalChildAssetsCount":null,"lineage":"DOWNSTREAM"}],"edges":[{"id":1053,"fromId":1015,"toId":1011,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1014},{"id":1054,"fromId":1016,"toId":1011,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1018},{"id":1055,"fromId":1019,"toId":1011,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1021},{"id":1056,"fromId":1022,"toId":1011,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1024},{"id":1057,"fromId":1011,"toId":1033,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1028},{"id":1058,"fromId":1011,"toId":1034,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1014},{"id":1059,"fromId":1011,"toId":1035,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1014},{"id":1060,"fromId":1011,"toId":1052,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1032},{"id":1061,"fromId":1011,"toId":1038,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1040},{"id":1062,"fromId":1011,"toId":1036,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1018},{"id":1063,"fromId":1011,"toId":1037,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1018},{"id":1064,"fromId":1011,"toId":1045,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1047},{"id":1065,"fromId":1011,"toId":1041,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1021},{"id":1066,"fromId":1011,"toId":1042,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1021},{"id":1067,"fromId":1011,"toId":1043,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1021},{"id":1068,"fromId":1011,"toId":1044,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1021},{"id":1069,"fromId":1011,"toId":1048,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1024},{"id":1070,"fromId":1011,"toId":1049,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1024},{"id":1071,"fromId":1011,"toId":1051,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1024},{"id":1072,"fromId":1011,"toId":1050,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1024},{"id":1073,"fromId":1033,"toId":1025,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1028},{"id":1074,"fromId":1052,"toId":1029,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1032},{"id":1075,"fromId":1038,"toId":1029,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1040},{"id":1076,"fromId":1045,"toId":1025,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1047},{"id":1077,"fromId":1041,"toId":1025,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1021},{"id":1078,"fromId":1042,"toId":1029,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1021},{"id":1079,"fromId":1048,"toId":1025,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1024},{"id":1080,"fromId":1049,"toId":1029,"fromNodeType":"FUNCTIONAL","toNodeType":"ASSET","versionId":1024},{"id":1081,"fromId":1025,"toId":1052,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1032},{"id":1082,"fromId":1025,"toId":1038,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1040},{"id":1083,"fromId":1025,"toId":1042,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1021},{"id":1084,"fromId":1025,"toId":1049,"fromNodeType":"ASSET","toNodeType":"FUNCTIONAL","versionId":1024}],"visitedNodes":[]}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/torch-pipeline/api/pipelines/incidents/{incidentId}/list":{"get":{"operationId":"listPipelineAlerts","tags":["Alerts"],"summary":"List pipeline alerts","description":"Retrieves pipeline alerts with pagination, pipeline-run filtering, and state filtering.","parameters":[{"$ref":"#/components/parameters/IncidentListPathId"},{"name":"page","in":"query","description":"Page number to retrieve.","schema":{"type":"integer"},"example":0},{"name":"size","in":"query","description":"Number of results per page.","schema":{"type":"integer"},"example":20},{"name":"run_id","in":"query","description":"ID of the pipeline run to filter by.","schema":{"type":"integer"},"example":8001},{"name":"state","in":"query","description":"Incident state filter.","schema":{"type":"string"},"example":"ALL"}],"responses":{"200":{"description":"OK. Returns pipeline incidents, the open-incident count, and pagination metadata.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineAlertsResponse"},"examples":{"success":{"summary":"Successful response","value":{"incidents":[{"id":11002,"severity":"CRITICAL","helpDescription":"Duration evaluation for pipeline (UID: sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline) was completed using the user threshold method. The observed duration was 56642.0 ms, compared to the set threshold of 01:00:00 HH:MM:SS. The observed value was less  than the user-defined threshold by 3543358.0 ms.","createdAt":1767255430033,"categoryType":"PIPELINE_MONITORING_POLICY","status":"OPEN","data":{"link":"https://api.example.com/ui/torch/namespace/Default/pipelines/1001/details?run=8005&policyId=2004","groupBy":{},"severityColor":"#D01E29","incidentMetadata":{"policyId":2004,"policyName":"sales_ingestion_duration_secondary","pipelineId":1001,"pipelineRunId":8005,"processorExecutionId":8005,"backingEntityType":"PIPELINE","backingEntityUid":"sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline","executionSummary":{"monitoringPolicyId":2004,"thresholdMetrics":{"type":"USER_THRESHOLD","compare":{"threshold":"01:00:00","operator":"LESS_THAN","units":"TIME"}},"result":{"magnitude":3543358,"units":"ms"},"errorMessage":null,"raiseIncident":true,"evaluationMetrics":{"magnitude":56642,"units":"ms"}},"error":null,"baseMetric":"TIME","measurementType":"DURATION","incidentTitle":"sales_ingestion_duration_secondary","pipelineName":"sales_ingestion_pipeline","versionId":null,"startedAt":1767255307814,"result":"SUCCESS","tenantId":"example-tenant"},"resultSummary":"Duration evaluation for pipeline (UID: sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline) was completed using the user threshold method. The observed duration was 56642.0 ms, compared to the set threshold of 01:00:00 HH:MM:SS. The observed value was less  than the user-defined threshold by 3543358.0 ms."}},{"id":11003,"severity":"CRITICAL","helpDescription":"Duration evaluation for pipeline (UID: sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline) was completed using the user threshold method. The observed duration was 56642.0 ms, compared to the set threshold of 01:00:00 HH:MM:SS. The observed value was less  than the user-defined threshold by 3543358.0 ms.","createdAt":1767255430035,"categoryType":"PIPELINE_MONITORING_POLICY","status":"OPEN","data":{"link":"https://api.example.com/ui/torch/namespace/Default/pipelines/1001/details?run=8005&policyId=2001","groupBy":{},"severityColor":"#D01E29","incidentMetadata":{"policyId":2001,"policyName":"sales_ingestion_duration","pipelineId":1001,"pipelineRunId":8005,"processorExecutionId":8005,"backingEntityType":"PIPELINE","backingEntityUid":"sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline","executionSummary":{"monitoringPolicyId":2001,"thresholdMetrics":{"type":"USER_THRESHOLD","compare":{"threshold":"01:00:00","operator":"LESS_THAN","units":"TIME"}},"result":{"magnitude":3543358,"units":"ms"},"errorMessage":null,"raiseIncident":true,"evaluationMetrics":{"magnitude":56642,"units":"ms"}},"error":null,"baseMetric":"TIME","measurementType":"DURATION","incidentTitle":"sales_ingestion_duration","pipelineName":"sales_ingestion_pipeline","versionId":null,"startedAt":1767255307814,"result":"SUCCESS","tenantId":"example-tenant"},"resultSummary":"Duration evaluation for pipeline (UID: sales_dbt_source.sales_dbt_project.sales_ingestion_pipeline) was completed using the user threshold method. The observed duration was 56642.0 ms, compared to the set threshold of 01:00:00 HH:MM:SS. The observed value was less  than the user-defined threshold by 3543358.0 ms."}}],"openIncidents":2,"meta":{"limit":20,"offset":0,"total":2}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/api/incidents/api/v1/{namespaceId}/incidents/bulk/actions":{"put":{"operationId":"resolvePipelineAlerts","tags":["Alerts"],"summary":"Resolve pipeline alerts","description":"Resolves the incidents listed in the request body by setting status to RESOLVED.","parameters":[{"$ref":"#/components/parameters/NamespaceId"},{"name":"AD-Integration","in":"header","description":"Set to 0 when resolving pipeline alerts.","required":true,"schema":{"type":"string"},"example":"0"}],"requestBody":{"description":"Incident IDs and resolution details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveIncidentsRequest"},"examples":{"resolveIncidents":{"summary":"Resolve an incident","value":{"id":[11002],"status":"RESOLVED","severity":null,"clearReason":{"type":null,"reason":"The pipeline issue has been resolved."},"updatedBy":"user@example.com"}}}}}},"responses":{"200":{"description":"OK. Returns an array of incident-update results.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolvePipelineAlertsResponse"},"examples":{"success":{"summary":"Successful response","value":[{"id":11002,"status":"Success","message":"Incident Updated Successfully."}]}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}}},"components":{"securitySchemes":{"AccessKey":{"type":"apiKey","in":"header","name":"accessKey","description":"API access key. Send together with secretKey."},"SecretKey":{"type":"apiKey","in":"header","name":"secretKey","description":"API secret key. Send together with accessKey."}},"parameters":{"PipelineId":{"name":"pipelineId","in":"path","description":"ID of the pipeline.","required":true,"schema":{"type":"integer"},"example":1001},"RunId":{"name":"runId","in":"path","description":"ID of the pipeline run.","required":true,"schema":{"type":"integer"},"example":8001},"BulkMonitorPolicyId":{"name":"bulkMonitorPolicyId","in":"path","description":"ID of the bulk monitoring or execution-failure configuration.","required":true,"schema":{"type":"integer"},"example":4001},"MonitoringPolicyId":{"name":"monitoringPolicyId","in":"path","description":"ID of the individual monitoring policy.","required":true,"schema":{"type":"integer"},"example":2001},"AssetId":{"name":"assetId","in":"path","description":"ID of the asset.","required":true,"schema":{"type":"integer"},"example":10001},"IncidentListPathId":{"name":"incidentId","in":"path","description":"Identifier used in the incident-list path.","required":true,"schema":{"type":"integer"},"example":11001},"NamespaceId":{"name":"namespaceId","in":"path","description":"ID of the namespace.","required":true,"schema":{"type":"integer"},"example":11001}},"schemas":{"NotificationChannelIds":{"type":"array","description":"IDs of the notification channels associated with the configuration.","items":{"type":"integer"},"examples":[[],[6001]]},"Severity":{"type":"string","description":"Severity associated with the policy, notification, or incident.","examples":["CRITICAL","HIGH"]},"ThresholdComparison":{"type":"object","description":"Comparison settings for a duration-based policy.","properties":{"operator":{"type":"string","description":"Comparison operator.","examples":["LESS_THAN","GREATER_THAN"]},"units":{"type":"string","description":"Measurement units used by the comparison.","examples":["TIME"]},"threshold":{"type":"string","description":"Duration threshold expressed as a string, for example 01:00:00.","examples":["01:00:00","00:00:09","00:00:01"]}}},"ComparisonEntity":{"type":"object","description":"The comparison configuration for a monitoring policy.","properties":{"type":{"type":"string","description":"Comparison configuration type.","examples":["USER_THRESHOLD"]},"compare":{"$ref":"#/components/schemas/ThresholdComparison"}}},"PipelineEntityReference":{"type":"object","description":"Reference to the pipeline monitored by a policy.","properties":{"entityType":{"type":"string","description":"Type of entity associated with the policy.","examples":["PIPELINE"]},"entityUid":{"type":"string","description":"Unique identifier of the pipeline entity.","examples":["sales_source.daily_sales_pipeline"]}}},"PipelineEntityUpdateReference":{"type":"object","description":"Existing pipeline association included when updating a monitoring policy.","properties":{"id":{"type":"integer","description":"ID of the existing policy-to-entity association.","examples":[5001]},"entityType":{"type":"string","description":"Type of entity associated with the policy.","examples":["PIPELINE"]},"entityUid":{"type":"string","description":"Unique identifier of the pipeline entity.","examples":["sales_source.daily_sales_pipeline"]},"policyId":{"type":"integer","description":"ID of the monitoring policy associated with the entity.","examples":[2001]}}},"MonitoringPolicyInput":{"type":"object","description":"Settings for an individual pipeline monitoring policy.","properties":{"name":{"type":"string","description":"Name of the monitoring policy.","examples":["daily_sales_duration"]},"pipelineId":{"type":"integer","description":"ID of the pipeline to monitor.","examples":[1001]},"enabled":{"type":"boolean","description":"Whether the monitoring policy is enabled.","examples":[true]},"baseMetric":{"type":"string","description":"Metric used by the policy.","examples":["TIME"]},"baseMeasurementType":{"type":"string","description":"Measurement type used by the policy.","examples":["DURATION"]},"comparisonEntity":{"$ref":"#/components/schemas/ComparisonEntity"},"severity":{"$ref":"#/components/schemas/Severity"},"notificationChannels":{"$ref":"#/components/schemas/NotificationChannelIds"},"backingEntity":{"type":"array","description":"Pipeline entities associated with the monitoring policy.","items":{"$ref":"#/components/schemas/PipelineEntityReference"}}}},"BulkMonitoringPolicyInput":{"type":"object","description":"Monitoring policy settings within a bulk configuration.","properties":{"name":{"type":"string","description":"Name of the monitoring policy.","examples":["daily_sales_duration"]},"pipelineId":{"type":"integer","description":"ID of the pipeline to monitor.","examples":[1001]},"enabled":{"type":"boolean","description":"Whether the monitoring policy is enabled.","examples":[true]},"baseMetric":{"type":"string","description":"Metric used by the policy.","examples":["TIME"]},"baseMeasurementType":{"type":"string","description":"Measurement type used by the policy.","examples":["DURATION"]},"comparisonEntity":{"$ref":"#/components/schemas/ComparisonEntity"},"severity":{"$ref":"#/components/schemas/Severity"},"notificationChannels":{"$ref":"#/components/schemas/NotificationChannelIds"},"backingEntity":{"type":"array","description":"Pipeline entities associated with the monitoring policy.","items":{"$ref":"#/components/schemas/PipelineEntityReference"}},"processingType":{"type":"string","description":"Processing mode for the monitoring policy.","examples":["POST_PROCESSING","REAL_TIME_PROCESSING"]}}},"BulkMonitoringPolicyUpdateInput":{"type":"object","description":"Updated settings for an existing policy within a bulk monitoring configuration.","properties":{"name":{"type":"string","description":"Name of the monitoring policy.","examples":["daily_sales_duration"]},"pipelineId":{"type":"integer","description":"ID of the pipeline to monitor.","examples":[1001]},"enabled":{"type":"boolean","description":"Whether the monitoring policy is enabled.","examples":[true]},"baseMetric":{"type":"string","description":"Metric used by the policy.","examples":["TIME"]},"baseMeasurementType":{"type":"string","description":"Measurement type used by the policy.","examples":["DURATION"]},"comparisonEntity":{"$ref":"#/components/schemas/ComparisonEntity"},"severity":{"$ref":"#/components/schemas/Severity"},"notificationChannels":{"$ref":"#/components/schemas/NotificationChannelIds"},"backingEntity":{"type":"array","description":"Existing pipeline associations for the monitoring policy.","items":{"$ref":"#/components/schemas/PipelineEntityUpdateReference"}},"processingType":{"type":"string","description":"Processing mode for the monitoring policy.","examples":["POST_PROCESSING","REAL_TIME_PROCESSING"]},"timeZone":{"type":"string","description":"Time zone associated with the monitoring policy.","examples":["UTC"]},"id":{"type":"integer","description":"ID of the existing monitoring policy.","examples":[2001]},"bulkMonitoringPolicyId":{"type":"integer","description":"ID of the bulk monitoring configuration containing the policy.","examples":[4001]}}},"HealthNotificationSettings":{"type":"object","description":"Settings for pipeline health notifications.","properties":{"enabled":{"type":"boolean","description":"Whether health notifications are enabled.","examples":[false]},"cron":{"type":"string","description":"Scheduling expression for health notifications.","examples":[""]},"severity":{"$ref":"#/components/schemas/Severity"},"notificationChannels":{"$ref":"#/components/schemas/NotificationChannelIds"},"onlyFailed":{"type":"boolean","description":"Whether health notifications are restricted to failures.","examples":[false]},"notifyWhenHealthy":{"type":"boolean","description":"Whether notifications are sent when healthy.","examples":[true]}}},"ExecutionFailureSettings":{"type":"object","description":"Incident and notification settings for pipeline execution failures.","properties":{"pipelineId":{"type":"integer","description":"ID of the pipeline.","examples":[1001]},"raiseIncident":{"type":"boolean","description":"Whether to raise an incident for an execution failure.","examples":[true]},"incidentName":{"type":"string","description":"Name used for the execution-failure incident.","examples":["Daily sales pipeline execution failed"]},"severity":{"$ref":"#/components/schemas/Severity"},"notificationChannels":{"$ref":"#/components/schemas/NotificationChannelIds"}}},"BulkMonitoringCreateRequest":{"type":"object","description":"Create a bulk monitoring policy or bulk execution-failure settings. The request examples show the two configuration types.","properties":{"type":{"type":"string","description":"Configuration type. Use POLICY with policies, or EXECUTION_FAILURE with failureConfigs.","examples":["POLICY","EXECUTION_FAILURE"]},"name":{"type":"string","description":"Name of the bulk configuration.","examples":["pipeline_duration_monitoring"]},"description":{"type":"string","description":"Description of the bulk configuration.","examples":[""]},"policies":{"type":"array","description":"Monitoring policy settings for a POLICY configuration.","items":{"$ref":"#/components/schemas/BulkMonitoringPolicyInput"}},"failureConfigs":{"type":"array","description":"Execution-failure settings for an EXECUTION_FAILURE configuration.","items":{"$ref":"#/components/schemas/ExecutionFailureSettings"}},"healthNotifications":{"type":"array","description":"Pipeline health notification settings.","items":{"$ref":"#/components/schemas/HealthNotificationSettings"}},"appliedToAll":{"type":"boolean","description":"Whether the configuration applies to all pipelines.","examples":[false]},"action":{"type":"string","description":"Action to take when saving the configuration.","examples":["SAVE_AS_DRAFT","SAVE_AND_ACTIVATE"]}}},"BulkMonitoringUpdateRequest":{"type":"object","description":"Update an existing bulk monitoring policy.","properties":{"type":{"type":"string","description":"Configuration type for this monitoring-policy update.","examples":["POLICY"]},"name":{"type":"string","description":"Name of the bulk configuration.","examples":["pipeline_duration_monitoring"]},"description":{"type":"string","description":"Description of the bulk configuration.","examples":[""]},"policies":{"type":"array","description":"Updated monitoring policy settings.","items":{"$ref":"#/components/schemas/BulkMonitoringPolicyUpdateInput"}},"healthNotifications":{"type":"array","description":"Pipeline health notification settings.","items":{"$ref":"#/components/schemas/HealthNotificationSettings"}},"appliedToAll":{"type":"boolean","description":"Whether the configuration applies to all pipelines.","examples":[false]},"action":{"type":"string","description":"Action to take when saving the configuration.","examples":["SAVE_AS_DRAFT","SAVE_AND_ACTIVATE"]}}},"MonitoringPoliciesCreateRequest":{"type":"object","description":"Create one or more monitoring policies.","properties":{"policies":{"type":"array","description":"Monitoring policies to create.","items":{"$ref":"#/components/schemas/MonitoringPolicyInput"}}}},"DataReliabilityAutomation":{"type":"object","description":"Automation settings. The documented example configures a data quality policy execution.","properties":{"associatedItemId":{"type":"integer","description":"ID of the item associated with the automation. For the data quality example, this is a policy ID.","examples":[7001]},"associatedItemType":{"type":"string","description":"Type of item associated with the automation.","examples":["POLICY"]},"automationType":{"type":"string","description":"Type of data reliability automation.","examples":["DATA_QUALITY"]},"executionType":{"type":"string","description":"Execution mode for the automation.","examples":["FULL"]},"triggerEvent":{"type":"string","description":"Event that triggers the automation.","examples":["SUCCESS"]},"triggerType":{"type":"string","description":"Type of trigger used by the automation.","examples":["PIPELINE_RUN"]},"triggerValue":{"type":"string","description":"Value associated with the trigger.","examples":[""]},"delayMinutes":{"type":"integer","description":"Delay before automation execution, in minutes.","examples":[0]}}},"CreateAutomationRequest":{"type":"object","description":"Request to create a pipeline automation.","properties":{"automation":{"$ref":"#/components/schemas/DataReliabilityAutomation"}}},"TagAssociation":{"type":"object","description":"Association between a tag key and a tag key-value entry.","properties":{"keyId":{"type":"string","description":"ID of the tag key, represented as a string.","examples":["3001"]},"keyValueId":{"type":"integer","description":"ID of the tag key-value entry.","examples":[3002]}}},"PipelineTagUpdate":{"type":"object","description":"Pipeline details and tag associations to update.","properties":{"id":{"type":"integer","description":"ID of the pipeline.","examples":[1001]},"name":{"type":"string","description":"Name of the pipeline.","examples":["daily_sales_pipeline"]},"uid":{"type":"string","description":"Unique identifier of the pipeline.","examples":["sales_source.daily_sales_pipeline"]},"tagAssociations":{"type":"array","description":"Tag associations for the pipeline.","items":{"$ref":"#/components/schemas/TagAssociation"}}}},"UpdatePipelineTagsRequest":{"type":"object","description":"Request to update a pipeline through tag associations.","properties":{"tagWriteMode":{"type":"string","description":"Mode used to write tags.","examples":["ASSOCIATIONS"]},"pipeline":{"$ref":"#/components/schemas/PipelineTagUpdate"}}},"BulkTagAssociationRequest":{"type":"object","description":"Request to attach tag key-value entries to multiple pipelines.","properties":{"entityIds":{"type":"array","description":"IDs of the pipelines to tag.","items":{"type":"integer"}},"entityType":{"type":"string","description":"Type of entities to tag.","examples":["PIPELINE"]},"keyValueIds":{"type":"array","description":"IDs of the tag key-value entries to attach.","items":{"type":"integer"}}}},"IncidentClearReason":{"type":"object","description":"Resolution reason included with an incident action.","properties":{"type":{"description":"Resolution-reason type.","examples":[null]},"reason":{"type":"string","description":"Explanation for resolving the incident.","examples":["The pipeline issue has been resolved."]}}},"ResolveIncidentsRequest":{"type":"object","description":"Request to resolve the incidents identified in id.","properties":{"id":{"type":"array","description":"IDs of the incidents to resolve.","items":{"type":"integer"}},"status":{"type":"string","description":"Status to assign to the incidents.","examples":["RESOLVED"]},"severity":{"description":"Severity value included with the action.","examples":[null]},"clearReason":{"$ref":"#/components/schemas/IncidentClearReason"},"updatedBy":{"type":"string","description":"User identifier included with the update.","examples":["user@example.com"]}}},"DetachBulkMonitoringRequest":{"type":"object","description":"Empty JSON object used for the detach request.","examples":[{}]},"MonitoringPolicyResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"backingEntity":{"type":"array","items":{"$ref":"#/components/schemas/MonitoringPolicyEntityResponse"},"description":"Entities associated with the monitoring policy."},"name":{"type":"string","description":"Name of the resource."},"enabled":{"type":"boolean","description":"Whether this configuration is enabled."},"baseMetric":{"type":"string","description":"Metric evaluated by the monitoring policy."},"baseMeasurementType":{"type":"string","description":"Measurement type evaluated by the policy."},"comparisonEntity":{"$ref":"#/components/schemas/ComparisonEntity","description":"Policy comparison configuration."},"pipelineId":{"type":"integer","description":"Identifier of the pipeline."},"severity":{"type":"string","description":"Severity associated with the configuration or incident."},"notificationChannels":{"type":"array","items":{},"description":"Notification channels associated with the configuration."},"processingType":{"type":"string","description":"Processing mode returned for the policy."},"spanUids":{"description":"Span identifiers associated with the policy."},"metadataMeasurement":{"description":"Metadata measurement associated with the policy."},"tenantId":{"type":"string","description":"Tenant identifier associated with the resource."},"timeZone":{"type":"string","description":"Time zone associated with the configuration."},"bulkMonitoringPolicyId":{"type":["integer","null"],"description":"Identifier of the associated bulk monitoring configuration, or null in the supplied detached and standalone policy examples."},"status":{"type":"string","description":"Status returned by the API."}},"description":"A pipeline monitoring policy returned by the API."},"MonitoringPolicyEntityResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"entityType":{"type":"string","description":"Type of the associated entity."},"entityUid":{"type":"string","description":"Unique identifier of the associated entity."},"policyId":{"type":"integer","description":"Identifier of the monitoring policy."}},"description":"An entity associated with a returned monitoring policy."},"BulkMonitoringConfigurationResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"name":{"type":"string","description":"Name of the resource."},"description":{"type":"string","description":"Description associated with the resource."},"appliedToAll":{"type":"boolean","description":"Whether the configuration applies to all pipelines."},"status":{"type":"string","description":"Status returned by the API."},"type":{"type":"string","description":"Configuration or resource type."},"policies":{"type":"array","items":{"$ref":"#/components/schemas/MonitoringPolicyResponse"},"description":"Monitoring policies returned with the configuration."},"failureConfigs":{"description":"Execution-failure configurations associated with the bulk configuration."},"healthNotifications":{"type":"array","items":{"$ref":"#/components/schemas/HealthNotificationResponse"},"description":"Health notification settings."},"createdAt":{"type":"integer","description":"Creation timestamp."},"updatedAt":{"type":"integer","description":"Last-update timestamp."}},"description":"A bulk monitoring configuration returned by the API. The documented examples use type POLICY."},"HealthNotificationResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"tenantId":{"type":"string","description":"Tenant identifier associated with the resource."},"name":{"description":"Name of the resource."},"enabled":{"type":"boolean","description":"Whether this configuration is enabled."},"cron":{"type":"string","description":"Scheduling expression returned for health notifications."},"severity":{"type":"string","description":"Severity associated with the configuration or incident."},"notificationChannels":{"type":"array","items":{},"description":"Notification channels associated with the configuration."},"onlyFailed":{"type":"boolean","description":"Whether health notifications are restricted to failures."},"notifyWhenHealthy":{"type":"boolean","description":"Whether notifications are sent when healthy."}},"description":"Health notification settings returned with a bulk configuration."},"PipelineSettingsResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"raiseIncident":{"type":"boolean","description":"Whether to raise an incident."},"pipelineId":{"type":"integer","description":"Identifier of the pipeline."},"incidentName":{"type":"string","description":"Name used for an execution-failure incident."},"severity":{"type":"string","description":"Severity associated with the configuration or incident."},"notificationChannels":{"type":"array","items":{},"description":"Notification channels associated with the configuration."},"createdAt":{"type":"integer","description":"Creation timestamp."},"updatedAt":{"type":"integer","description":"Last-update timestamp."}},"description":"Execution-failure incident and notification settings returned for a pipeline."},"PaginationMetaResponse":{"type":"object","properties":{"count":{"type":"integer","description":"Count returned in the pagination metadata."},"page":{"type":"integer","description":"Page value returned in the pagination metadata."},"size":{"type":"integer","description":"Page-size value returned in the pagination metadata."}},"description":"Pagination metadata returned with a list response."},"PipelineSummariesResponse":{"type":"object","properties":{"pipelines":{"type":"array","items":{"$ref":"#/components/schemas/PipelineSummaryResponse"},"description":"Returned pipeline summaries."},"meta":{"$ref":"#/components/schemas/PaginationMetaResponse","description":"Metadata returned by the API."}},"description":"Pipeline summaries and pagination metadata."},"PipelineSummaryResponse":{"type":"object","properties":{"assetNodesCount":{"type":"integer","description":"Number of asset nodes."},"functionalNodesCount":{"type":"integer","description":"Number of functional nodes."},"latestRunStartedAt":{"type":"integer","description":"Start timestamp of the latest run."},"latestRunFinishedAt":{"type":"integer","description":"Finish timestamp of the latest run."},"latestRunResult":{"type":"string","description":"Result of the latest run."},"totalRunsCount":{"type":"integer","description":"Total run count returned for the pipeline."},"pipelineSummary":{"$ref":"#/components/schemas/PipelineIdentityResponse","description":"Identifying information for the pipeline."},"latestRunId":{"type":"integer","description":"Identifier of the latest run."},"latestRunVersionId":{"description":"Version identifier associated with the latest run."},"sourceType":{"type":"string","description":"Source type information."},"policyCounts":{"$ref":"#/components/schemas/PipelinePolicyCountsResponse","description":"Policy counts grouped by state."},"namespace":{"description":"Namespace associated with the pipeline."},"tagsCount":{"type":"integer","description":"Number of tags."}},"description":"Summary metrics and identifying information for a pipeline."},"PipelineIdentityResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"name":{"type":"string","description":"Name of the resource."},"uid":{"type":"string","description":"Unique identifier of the resource."},"meta":{"$ref":"#/components/schemas/PipelineMetadataResponse","description":"Metadata returned by the API."}},"description":"Identifying information for a pipeline."},"PipelineMetadataResponse":{"type":"object","properties":{"owner":{"description":"Owner metadata associated with the pipeline."},"team":{"description":"Team metadata associated with the pipeline."},"codeLocation":{"description":"Code-location metadata associated with the pipeline."}},"description":"Metadata associated with a pipeline."},"PipelinePolicyCountsResponse":{"type":"object","properties":{"SUCCESSFUL":{"type":"integer","description":"Count for the SUCCESSFUL state."},"ERRORED":{"type":"integer","description":"Count for the ERRORED state."},"ABORTED":{"type":"integer","description":"Count for the ABORTED state."},"WARNING":{"type":"integer","description":"Count for the WARNING state."},"RUNNING":{"type":"integer","description":"Count for the RUNNING state."},"WAITING":{"type":"integer","description":"Count for the WAITING state."},"SKIPPED":{"type":"integer","description":"Count for the SKIPPED state."},"TOTAL":{"type":"integer","description":"Total policy count."}},"description":"Policy counts grouped by the state names returned by the API."},"PipelineRunsResponse":{"type":"object","properties":{"runs":{"type":"array","items":{"$ref":"#/components/schemas/PipelineRunResponse"},"description":"Returned pipeline runs."},"meta":{"$ref":"#/components/schemas/PaginationMetaResponse","description":"Metadata returned by the API."}},"description":"Pipeline runs and pagination metadata."},"PipelineRunResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"pipelineId":{"type":"integer","description":"Identifier of the pipeline."},"versionId":{"type":"integer","description":"Version identifier associated with the run or incident."},"status":{"type":"string","description":"Status returned by the API."},"result":{"type":"string","description":"Execution or evaluation result."},"successEvents":{"type":"integer","description":"Number of success events."},"errorEvents":{"type":"integer","description":"Number of error events."},"warningEvents":{"type":"integer","description":"Number of warning events."},"startedAt":{"type":"integer","description":"Execution start timestamp."},"finishedAt":{"type":"integer","description":"Execution finish timestamp."},"avgExecutionTime":{"description":"Average execution-time value returned by the API."},"args":{"description":"Arguments associated with the run."},"continuationId":{"description":"Continuation identifier associated with the run."},"externalRunId":{"type":"string","description":"External run identifier."},"tenantId":{"type":"string","description":"Tenant identifier associated with the resource."}},"description":"Execution information for a pipeline run."},"PipelineRunSpansResponse":{"type":"object","properties":{"spans":{"type":"array","items":{"$ref":"#/components/schemas/PipelineRunSpanResponse"},"description":"Returned spans."}},"description":"Spans returned for a pipeline run."},"PipelineRunSpanResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"uid":{"type":"string","description":"Unique identifier of the resource."},"pipelineRunId":{"type":"integer","description":"Identifier of the pipeline run."},"parentSpanId":{"type":["integer","null"],"description":"Identifier of the parent span; null in the supplied root-span example."},"status":{"type":"string","description":"Status returned by the API."},"avgExecutionTime":{"type":"number","description":"Average execution-time value returned by the API."},"successEvents":{"type":"integer","description":"Number of success events."},"errorEvents":{"type":"integer","description":"Number of error events."},"warningEvents":{"type":"integer","description":"Number of warning events."},"startedAt":{"type":"integer","description":"Execution start timestamp."},"finishedAt":{"type":"integer","description":"Execution finish timestamp."},"totalTime":{"type":"integer","description":"Total-time value returned for the span."},"terminalEventProcessedAt":{"type":"integer","description":"Timestamp associated with processing the terminal event."}},"description":"Execution information for a span within a pipeline run."},"CreatePipelineAutomationResponse":{"type":"object","properties":{"automation":{"$ref":"#/components/schemas/PipelineAutomationResponse","description":"Created automation."}},"description":"The created pipeline automation."},"PipelineAutomationResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"pipelineId":{"type":"integer","description":"Identifier of the pipeline."},"automationType":{"type":"string","description":"Type of automation."},"associatedItemId":{"type":"integer","description":"Identifier of the item associated with the automation."},"associatedItemName":{"type":"string","description":"Name of the item associated with the automation."},"executionType":{"type":"string","description":"Execution mode of the automation."},"triggerType":{"type":"string","description":"Type of trigger configured for the automation."},"associatedItemType":{"type":"string","description":"Type of the associated item."},"triggerValue":{"type":"string","description":"Value associated with the configured trigger."},"triggerEvent":{"type":"string","description":"Event associated with the automation trigger."},"delayMinutes":{"type":"integer","description":"Configured delay before automation execution, in minutes."},"createdAt":{"description":"Creation timestamp."},"updatedAt":{"description":"Last-update timestamp."}},"description":"Automation settings returned by the API. The documented example is a full data quality automation."},"PolicyAutomationExecutionsResponse":{"type":"object","properties":{"executions":{"type":"array","items":{"$ref":"#/components/schemas/PolicyAutomationExecutionResponse"},"description":"Returned automation execution records."},"meta":{"$ref":"#/components/schemas/PaginationMetaResponse","description":"Metadata returned by the API."}},"description":"Policy automation execution records and pagination metadata."},"PolicyAutomationExecutionResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"assetId":{"description":"Identifier of the associated asset."},"policyExecutionId":{"type":"integer","description":"Identifier of the policy execution."},"result":{"type":"string","description":"Execution or evaluation result."},"executionStartedAt":{"type":"integer","description":"Automation execution start timestamp."},"executionFinishedAt":{"type":"integer","description":"Automation execution finish timestamp."},"ruleType":{"type":"string","description":"Type of the executed rule."},"successThreshold":{"type":"number","description":"Success-threshold value returned for the rule."},"warningThreshold":{"type":"number","description":"Warning-threshold value returned for the rule."},"qualityScore":{"description":"Quality score associated with the execution."},"ruleId":{"type":"integer","description":"Identifier of the executed rule."},"ruleName":{"type":"string","description":"Name of the executed rule."},"triggeredBy":{"type":"string","description":"Trigger that initiated the execution."},"errorMessage":{"description":"Error message associated with the execution or evaluation."},"delayMinutes":{"type":"integer","description":"Configured delay before automation execution, in minutes."},"scheduledStartAt":{"type":["integer","null"],"description":"Scheduled execution-start timestamp, or null in the supplied immediate-execution example."}},"description":"Execution information for a policy automation."},"ProfilingAutomationExecutionsResponse":{"type":"object","properties":{"executions":{"type":"array","items":{"$ref":"#/components/schemas/ProfilingAutomationExecutionResponse"},"description":"Returned automation execution records."},"assets":{"$ref":"#/components/schemas/ProfilingAssetsResponse","description":"Related asset information."},"meta":{"$ref":"#/components/schemas/PaginationMetaResponse","description":"Metadata returned by the API."}},"description":"Profiling execution records, related asset information, and pagination metadata."},"ProfilingAutomationExecutionResponse":{"type":"object","properties":{"assetId":{"type":"integer","description":"Identifier of the associated asset."},"assetName":{"type":"string","description":"Name of the associated asset."},"profileRequestId":{"type":"integer","description":"Identifier of the profiling request."},"profilingType":{"type":"string","description":"Profiling mode."},"isProfileAnomalous":{"type":"boolean","description":"Whether the profile is marked anomalous."},"triggerEvent":{"type":"string","description":"Event associated with the automation trigger."},"triggeredBy":{"type":"string","description":"Trigger that initiated the execution."},"status":{"type":"string","description":"Status returned by the API."},"totalRows":{"description":"Row count associated with the profiling execution."},"executionStartedAt":{"type":"integer","description":"Automation execution start timestamp."},"executionFinishedAt":{"type":"integer","description":"Automation execution finish timestamp."},"errorMessage":{"description":"Error message associated with the execution or evaluation."},"delayMinutes":{"type":"integer","description":"Configured delay before automation execution, in minutes."},"scheduledStartAt":{"description":"Scheduled execution-start timestamp, or null in the supplied immediate-execution example."}},"description":"Execution information for a profiling automation."},"ProfilingAssetsResponse":{"type":"object","properties":{"assets":{"type":"array","items":{"$ref":"#/components/schemas/ProfilingAssetResponse"},"description":"Related asset information."},"assemblies":{"type":"array","items":{"$ref":"#/components/schemas/ProfilingAssemblyResponse"},"description":"Related assembly records."},"parents":{"type":"array","items":{"$ref":"#/components/schemas/ProfilingAssetResponse"},"description":"Related parent-resource records."}},"description":"Assets, assemblies, and parent resources associated with profiling executions."},"ProfilingAssetResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"name":{"type":"string","description":"Name of the resource."},"assemblyId":{"type":"integer","description":"Identifier of the associated assembly."},"assemblyName":{"description":"Name of the associated assembly."},"assetType":{"$ref":"#/components/schemas/AssetTypeResponse","description":"Asset type and capability flags."},"uid":{"type":"string","description":"Unique identifier of the resource."},"parentId":{"type":"integer","description":"Parent resource identifier returned by the API."},"isCustom":{"type":"boolean","description":"Whether the asset is marked custom."},"isDeleted":{"type":"boolean","description":"Whether the asset is marked deleted."},"isSegmented":{"type":"boolean","description":"Whether the asset is marked segmented."}},"description":"An asset or parent resource returned with profiling execution information."},"AssetTypeResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"name":{"type":"string","description":"Name of the resource."},"canProfile":{"type":"boolean","description":"Whether the returned asset type supports profiling."},"canSample":{"type":"boolean","description":"Whether the returned asset type supports sampling."},"canMonitor":{"type":"boolean","description":"Whether the returned asset type supports monitoring."}},"description":"Asset type information and capability flags returned by the API."},"ProfilingAssemblyResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"name":{"type":"string","description":"Name of the resource."},"description":{"type":"string","description":"Description associated with the resource."},"isSecured":{"type":"boolean","description":"Whether the assembly is marked secured."},"securityConfig":{"description":"Security configuration returned for the assembly."},"connectionId":{"type":"integer","description":"Identifier of the associated connection."},"sourceType":{"$ref":"#/components/schemas/SourceTypeResponse","description":"Source type information."},"schedule":{"description":"Schedule configuration returned by the API."},"cronExpressions":{"description":"Cron-expression configuration associated with the assembly."},"timeZone":{"type":"string","description":"Time zone associated with the configuration."},"assemblyProperties":{"description":"Properties associated with the assembly."},"createdAt":{"type":"integer","description":"Creation timestamp."},"updatedAt":{"type":"integer","description":"Last-update timestamp."},"currentSnapshot":{"type":"string","description":"Identifier of the current snapshot."},"isVirtual":{"type":"boolean","description":"Whether the assembly is marked virtual."},"autoProfile":{"type":"boolean","description":"Automatic-profiling flag."},"tenantId":{"type":"string","description":"Tenant identifier associated with the resource."},"integrationId":{"type":"string","description":"Identifier of the associated integration."},"isProtectedResource":{"type":"boolean","description":"Whether the resource is marked protected."},"createdBy":{"description":"Identifier of the user who created the resource."},"analyticsPipelineId":{"description":"Identifier of the associated analytics pipeline."},"status":{"type":"string","description":"Status returned by the API."},"configuration":{"type":"object","description":"Configuration returned for the assembly."},"conn":{"description":"Connection information returned for the assembly."},"crawlerSparkConfigInventory":{"description":"Crawler Spark configuration returned for the assembly."},"crawlerPodConfig":{"description":"Crawler pod configuration returned for the assembly."},"crawler":{"$ref":"#/components/schemas/CrawlerResponse","description":"Crawler information."}},"description":"Assembly information returned with profiling execution information."},"SourceTypeResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"name":{"type":"string","description":"Name of the resource."},"sourceModel":{"description":"Source model associated with the source type."},"connectionTypeId":{"type":"integer","description":"Connection type identifier."},"miniProfiling":{"type":"boolean","description":"Mini-profiling flag returned for the source type."}},"description":"Source type information returned for an assembly."},"CrawlerResponse":{"type":"object","properties":{"name":{"type":"string","description":"Name of the resource."}},"description":"Crawler information returned for an assembly."},"UpdatePipelineTagsResponse":{"type":"object","properties":{"pipeline":{"$ref":"#/components/schemas/PipelineWithTagsResponse","description":"Returned pipeline details."}},"description":"The pipeline returned after a tag update."},"PipelineWithTagsResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"name":{"type":"string","description":"Name of the resource."},"description":{"description":"Description associated with the resource."},"notificationChannels":{"description":"Notification channels associated with the configuration."},"enabled":{"type":"boolean","description":"Whether this configuration is enabled."},"interrupt":{"type":"boolean","description":"Interrupt flag returned for the pipeline."},"scheduled":{"type":"boolean","description":"Whether the pipeline is marked scheduled."},"schedule":{"description":"Schedule configuration returned by the API."},"schedulerType":{"type":"string","description":"Scheduler type returned for the pipeline."},"context":{"description":"Context associated with the pipeline."},"meta":{"$ref":"#/components/schemas/PipelineMetadataResponse","description":"Metadata returned by the API."},"uid":{"type":"string","description":"Unique identifier of the resource."},"tags":{"type":"array","items":{"$ref":"#/components/schemas/PipelineTagResponse"},"description":"Tags associated with the pipeline."},"tagAssociations":{"type":"array","items":{"$ref":"#/components/schemas/TagAssociationResponse"},"description":"Tag associations returned for the pipeline."},"createdAt":{"type":"integer","description":"Creation timestamp."},"updatedAt":{"type":"integer","description":"Last-update timestamp."},"pipelineBaselineMetric":{"$ref":"#/components/schemas/PipelineBaselineMetricResponse","description":"Baseline metric settings."},"sourceType":{"type":"string","description":"Source type information."},"latestRunId":{"type":"integer","description":"Identifier of the latest run."},"assemblyId":{"description":"Identifier of the associated assembly."}},"description":"Pipeline details and tag associations returned by the API."},"PipelineTagResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"displayName":{"type":"string","description":"Display name of the tag."},"createdAt":{"description":"Creation timestamp."},"updatedAt":{"description":"Last-update timestamp."},"name":{"type":"string","description":"Name of the resource."}},"description":"Tag information returned for a pipeline."},"TagAssociationResponse":{"type":"object","properties":{"keyValueId":{"type":"integer","description":"Identifier of the tag key-value entry."},"keyId":{"type":"integer","description":"Identifier of the tag key."},"keyName":{"type":"string","description":"Name of the tag key."},"valueName":{"type":"string","description":"Name of the tag value."},"keyType":{"type":"string","description":"Type of the tag key."},"valueStatus":{"type":"string","description":"Status of the tag value."}},"description":"A returned tag association. The keyId and keyValueId fields are numeric in the supplied responses."},"PipelineBaselineMetricResponse":{"type":"object","properties":{"metrics":{"type":"integer","description":"Baseline metric value."},"unit":{"type":"string","description":"Unit associated with the baseline metric."},"includeSuccessfulRunsOnly":{"type":"boolean","description":"Whether the baseline includes only successful runs."}},"description":"Baseline metric settings returned for a pipeline."},"BulkTagAssociationsResponse":{"type":"object","properties":{"created":{"type":"array","items":{"$ref":"#/components/schemas/TagAssociationResponse"},"description":"Created tag associations."},"errors":{"type":"array","items":{},"description":"Error entries returned by the API."}},"description":"Created tag associations and any returned errors."},"PipelineAlertsResponse":{"type":"object","properties":{"incidents":{"type":"array","items":{"$ref":"#/components/schemas/PipelineIncidentResponse"},"description":"Returned pipeline incidents."},"openIncidents":{"type":"integer","description":"Open-incident count returned by the API."},"meta":{"$ref":"#/components/schemas/IncidentPaginationMetaResponse","description":"Metadata returned by the API."}},"description":"Pipeline incidents, the open-incident count, and pagination metadata."},"PipelineIncidentResponse":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"severity":{"type":"string","description":"Severity associated with the configuration or incident."},"helpDescription":{"type":"string","description":"Description of the incident and policy evaluation."},"createdAt":{"type":"integer","description":"Creation timestamp."},"categoryType":{"type":"string","description":"Incident category."},"status":{"type":"string","description":"Status returned by the API."},"data":{"$ref":"#/components/schemas/PipelineIncidentDataResponse","description":"Additional incident data."}},"description":"A pipeline incident returned by the API."},"PipelineIncidentDataResponse":{"type":"object","properties":{"link":{"type":"string","description":"Link to the pipeline details in the Acceldata user interface."},"groupBy":{"type":"object","description":"Grouping information associated with the incident."},"severityColor":{"type":"string","description":"Color associated with the severity."},"incidentMetadata":{"$ref":"#/components/schemas/PipelineIncidentMetadataResponse","description":"Incident-related pipeline and policy metadata."},"resultSummary":{"type":"string","description":"Text summary of the policy evaluation."}},"description":"Incident details, a UI link, and evaluation context."},"PipelineIncidentMetadataResponse":{"type":"object","properties":{"policyId":{"type":"integer","description":"Identifier of the monitoring policy."},"policyName":{"type":"string","description":"Name of the monitoring policy."},"pipelineId":{"type":"integer","description":"Identifier of the pipeline."},"pipelineRunId":{"type":"integer","description":"Identifier of the pipeline run."},"processorExecutionId":{"type":"integer","description":"Processor execution identifier returned with the incident."},"backingEntityType":{"type":"string","description":"Type of the monitored entity."},"backingEntityUid":{"type":"string","description":"Unique identifier of the monitored entity."},"executionSummary":{"$ref":"#/components/schemas/MonitoringPolicyExecutionSummaryResponse","description":"Policy evaluation details."},"error":{"description":"Error information associated with the incident."},"baseMetric":{"type":"string","description":"Metric evaluated by the monitoring policy."},"measurementType":{"type":"string","description":"Measurement type associated with the incident."},"incidentTitle":{"type":"string","description":"Title of the incident."},"pipelineName":{"type":"string","description":"Name of the pipeline."},"versionId":{"description":"Version identifier associated with the run or incident."},"startedAt":{"type":"integer","description":"Execution start timestamp."},"result":{"type":"string","description":"Execution or evaluation result."},"tenantId":{"type":"string","description":"Tenant identifier associated with the resource."}},"description":"Policy and pipeline execution metadata associated with an incident."},"MonitoringPolicyExecutionSummaryResponse":{"type":"object","properties":{"monitoringPolicyId":{"type":"integer","description":"Identifier of the monitoring policy."},"thresholdMetrics":{"$ref":"#/components/schemas/ComparisonEntity","description":"Threshold configuration used for the evaluation."},"result":{"$ref":"#/components/schemas/MetricValueResponse","description":"Execution or evaluation result."},"errorMessage":{"description":"Error message associated with the execution or evaluation."},"raiseIncident":{"type":"boolean","description":"Whether to raise an incident."},"evaluationMetrics":{"$ref":"#/components/schemas/MetricValueResponse","description":"Observed evaluation metric."}},"description":"Monitoring policy evaluation details associated with an incident."},"MetricValueResponse":{"type":"object","properties":{"magnitude":{"type":"number","description":"Numeric value of the metric."},"units":{"type":"string","description":"Units associated with the metric."}},"description":"A measured value and its units."},"IncidentPaginationMetaResponse":{"type":"object","properties":{"limit":{"type":"integer","description":"Limit value returned in the incident pagination metadata."},"offset":{"type":"integer","description":"Offset value returned in the incident pagination metadata."},"total":{"type":"integer","description":"Total count returned in the incident pagination metadata."}},"description":"Pagination metadata returned by the incident-list operation."},"ResolvePipelineAlertsResponse":{"type":"array","items":{"$ref":"#/components/schemas/ResolvePipelineAlertResult"},"description":"One result entry for each incident included in the response."},"ResolvePipelineAlertResult":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the returned resource."},"status":{"type":"string","description":"Status returned by the API."},"message":{"type":"string","description":"Message returned by the API."}},"description":"The result of an incident update. The sample status is Success, distinct from the requested incident status RESOLVED."},"UnauthorizedErrorResponse":{"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/AuthenticationErrorDetail"},"description":"Error entries returned by the API."}},"description":"Error details returned when the access key or secret key is invalid."},"AuthenticationErrorDetail":{"type":"object","properties":{"message":{"type":"string","description":"Message returned by the API."},"statusCode":{"type":"integer","description":"HTTP status code reported in the error entry."}},"description":"An authentication error returned by the API."},"PipelineRunGraphResponse":{"type":"object","properties":{"details":{"type":"object","properties":{"pipeline":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"description":{"type":"string"},"notificationChannels":{},"enabled":{"type":"boolean"},"interrupt":{"type":"boolean"},"scheduled":{"type":"boolean"},"schedule":{},"schedulerType":{"type":"string"},"context":{},"meta":{"type":"object","properties":{"owner":{},"team":{},"codeLocation":{}}},"uid":{"type":"string"},"tags":{"type":"array","items":{}},"tagAssociations":{"type":"array","items":{}},"createdAt":{"type":"integer","format":"int64"},"updatedAt":{"type":"integer","format":"int64"},"pipelineBaselineMetric":{"type":"object","properties":{"metrics":{"type":"integer","format":"int64"},"unit":{"type":"string"},"includeSuccessfulRunsOnly":{"type":"boolean"}}},"sourceType":{"type":"string"},"latestRunId":{"type":"integer","format":"int64"},"assemblyId":{}}},"nodes":{"type":"array","items":{"type":"object","properties":{"jobStatus":{},"pipelineId":{"type":"integer","format":"int64"},"nodeProperties":{},"relatedPipelineCount":{"type":"integer","format":"int64"},"status":{"type":"string"},"meta":{"type":"object","properties":{"owner":{},"team":{},"codeLocation":{}}},"dataType":{},"id":{"type":"integer","format":"int64"},"assetType":{"type":"string"},"alertsCount":{},"reliabilityScore":{},"createdVia":{"type":"array","items":{"type":"string"}},"parentNodeId":{},"uid":{"type":"string"},"versionId":{"type":"integer","format":"int64"},"linkedPipelineRunId":{},"jobNodeMetric":{"type":"array","items":{}},"description":{},"name":{"type":"string"},"assetId":{"type":"integer","format":"int64"},"parentId":{},"sourceType":{"type":"string"},"linkedPipelineRunInfo":{"type":"array","items":{}},"type":{"type":"string"},"reliabilityPolicySummary":{"type":"array","items":{"type":"object","properties":{"policyType":{"type":"string"},"success":{"type":"integer","format":"int64"},"error":{"type":"integer","format":"int64"},"aborted":{"type":"integer","format":"int64"},"warning":{"type":"integer","format":"int64"},"waiting":{"type":"integer","format":"int64"},"skipped":{"type":"integer","format":"int64"},"total":{"type":"integer","format":"int64"}}}},"context":{}}}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"fromId":{"type":"integer","format":"int64"},"toId":{"type":"integer","format":"int64"},"fromNodeType":{},"toNodeType":{},"versionId":{"type":"integer","format":"int64"}}}},"pipelineRun":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"pipelineId":{"type":"integer","format":"int64"},"versionId":{"type":"integer","format":"int64"},"status":{"type":"string"},"result":{"type":"string"},"successEvents":{"type":"integer","format":"int64"},"errorEvents":{"type":"integer","format":"int64"},"warningEvents":{"type":"integer","format":"int64"},"startedAt":{"type":"integer","format":"int64"},"finishedAt":{"type":"integer","format":"int64"},"avgExecutionTime":{},"args":{},"continuationId":{},"externalRunId":{"type":"string"},"tenantId":{"type":"string"}}}}},"metrics":{"type":"array","items":{"type":"object","properties":{"denominator":{"type":"integer","format":"int64"},"type":{"type":"string"},"change":{"type":"number","format":"double"},"unit":{"type":"string"},"name":{"type":"string"},"value":{"type":"number","format":"double"}}}}}},"AssetPipelineLineageResponse":{"type":"object","properties":{"graph":{"type":"object","properties":{"nodes":{"type":"array","items":{"type":"object","properties":{"node":{"type":"object","properties":{"jobStatus":{},"pipelineId":{"type":"integer","format":"int64"},"nodeProperties":{},"relatedPipelineCount":{},"status":{"type":"string"},"meta":{"type":"object","properties":{"owner":{},"team":{},"codeLocation":{}}},"dataType":{},"id":{"type":"integer","format":"int64"},"assetType":{"type":"string"},"alertsCount":{},"reliabilityScore":{},"createdVia":{"type":"array","items":{"type":"string"}},"parentNodeId":{},"uid":{"type":"string"},"versionId":{"type":"integer","format":"int64"},"linkedPipelineRunId":{},"jobNodeMetric":{},"description":{},"name":{"type":"string"},"assetId":{"type":"integer","format":"int64"},"parentId":{},"sourceType":{"type":"string"},"linkedPipelineRunInfo":{},"type":{"type":"string"},"reliabilityPolicySummary":{},"context":{}}},"lineage":{"type":"string"},"totalChildAssetsCount":{"type":"integer","format":"int64"},"canAddDownstreamLineage":{"type":"boolean"},"functionalNodeGroup":{},"canAddUpstreamLineage":{"type":"boolean"},"canDelete":{"type":"boolean"}}}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"fromId":{"type":"integer","format":"int64"},"toId":{"type":"integer","format":"int64"},"fromNodeType":{"type":"string"},"toNodeType":{"type":"string"},"versionId":{"type":"integer","format":"int64"}}}},"visitedNodes":{"type":"array","items":{}}}}}}},"responses":{"Unauthorized":{"description":"Unauthorized. The access key or secret key is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"},"examples":{"invalidCredentials":{"summary":"Invalid API credentials","value":{"errors":[{"message":"Either the api key doesn't exist or the provided input is wrong for access key : EXAMPLE_ACCESS_KEY","statusCode":401}]}}}}}}}}}