{
  "components": {
    "schemas": {
      "ApiError": {
        "properties": {
          "error": {
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "type": "object"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "Input_app_agent_src_models_rs_ApproveActionRequest": {
        "additionalProperties": false,
        "properties": {
          "approved": {
            "type": "boolean"
          }
        },
        "required": [
          "approved"
        ],
        "type": "object"
      },
      "Input_app_agent_src_models_rs_CreateConversationRequest": {
        "additionalProperties": false,
        "properties": {
          "submission_id": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "submission_id",
          "title"
        ],
        "type": "object"
      },
      "Input_app_agent_src_models_rs_PageContext": {
        "additionalProperties": false,
        "properties": {
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "draft_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "page": {
            "type": "string"
          },
          "resource_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "page"
        ],
        "type": "object"
      },
      "Input_app_agent_src_models_rs_SubmitTurnRequest": {
        "additionalProperties": false,
        "properties": {
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_app_agent_src_models_rs_PageContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/Input_app_agent_src_models_rs_TurnScope"
          },
          "submission_id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "submission_id",
          "message",
          "scope"
        ],
        "type": "object"
      },
      "Input_app_agent_src_models_rs_TurnScope": {
        "oneOf": [
          {
            "const": "read",
            "type": "string"
          },
          {
            "const": "draft",
            "type": "string"
          },
          {
            "const": "execute",
            "type": "string"
          }
        ]
      },
      "Input_app_api_src_models_rs_AnalysisMode": {
        "oneOf": [
          {
            "const": "schema",
            "type": "string"
          },
          {
            "const": "explain",
            "type": "string"
          },
          {
            "const": "explain_extended",
            "type": "string"
          },
          {
            "const": "explain_formatted",
            "type": "string"
          }
        ]
      },
      "Input_app_api_src_models_rs_AnalyzeRequest": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/Input_app_api_src_models_rs_AnalysisMode"
          },
          "sql": {
            "type": "string"
          }
        },
        "required": [
          "sql",
          "mode"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_CatalogCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "configuration": {
            "$ref": "#/components/schemas/Input_data_catalog_core_src_models_mod_rs_CatalogConfiguration"
          },
          "if_not_exists": {
            "type": "boolean"
          },
          "mutation_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_CatalogMutationId"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "mutation_id",
          "name",
          "configuration"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_CatalogDeleteRequest": {
        "additionalProperties": false,
        "properties": {
          "mutation_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_CatalogMutationId"
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "type": "string"
          }
        },
        "required": [
          "mutation_id",
          "name",
          "revision"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_CatalogUpdateRequest": {
        "additionalProperties": false,
        "properties": {
          "configuration": {
            "$ref": "#/components/schemas/Input_data_catalog_core_src_models_mod_rs_CatalogConfiguration"
          },
          "mutation_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_CatalogMutationId"
          },
          "revision": {
            "type": "string"
          }
        },
        "required": [
          "mutation_id",
          "revision",
          "configuration"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_ConfigureRequest": {
        "additionalProperties": false,
        "properties": {
          "values": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "values"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_PythonTaskMode": {
        "oneOf": [
          {
            "const": "Batch",
            "type": "string"
          },
          {
            "const": "Streaming",
            "type": "string"
          }
        ]
      },
      "Input_app_api_src_models_rs_QuerySource": {
        "oneOf": [
          {
            "const": "workbench",
            "type": "string"
          },
          {
            "const": "notebook",
            "type": "string"
          },
          {
            "const": "dashboard",
            "type": "string"
          },
          {
            "const": "access_management",
            "type": "string"
          },
          {
            "const": "external",
            "type": "string"
          }
        ]
      },
      "Input_app_api_src_models_rs_RunCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "data_window": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_DataWindow"
              },
              {
                "type": "null"
              }
            ]
          },
          "expected_revision": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "parameters": {
            "$ref": "#/components/schemas/Input_shared_common_src_parameters_rs_ParameterValues"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          },
          "xray": {
            "type": "boolean"
          }
        },
        "required": [
          "submission_id"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_SqlOperationRequest": {
        "additionalProperties": false,
        "properties": {
          "operation_id": {
            "format": "uuid",
            "type": "string"
          },
          "options": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "source": {
            "$ref": "#/components/schemas/Input_app_api_src_models_rs_QuerySource"
          },
          "sql": {
            "type": "string"
          }
        },
        "required": [
          "operation_id",
          "sql"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_SqlTask": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Input_shared_common_src_execution_mod_rs_ExecutionOptions"
          },
          {
            "properties": {
              "control": {
                "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_TaskControl"
              },
              "incremental_source": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_IncrementalSource"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "type": "string"
              },
              "python": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "python_mode": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Input_app_api_src_models_rs_PythonTaskMode"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "settings": {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_QuerySettings"
              },
              "spark_plan": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sql": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "settings"
            ],
            "type": "object"
          }
        ]
      },
      "Input_app_api_src_models_rs_WorkloadCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "dependencies": {
            "items": {
              "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_TaskDependency"
            },
            "type": "array"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "options": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "parameters": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_shared_common_src_parameters_rs_ParameterDefinition"
            },
            "type": "object"
          },
          "policy": {
            "$ref": "#/components/schemas/Input_kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/Input_app_api_src_models_rs_SqlTask"
            },
            "type": "array"
          },
          "workflow": {
            "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_WorkflowOptions"
          }
        },
        "required": [
          "submission_id",
          "tasks",
          "policy"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_WorkloadDeleteBody": {
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "expected_revision"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_WorkloadScheduleStateBody": {
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "expected_revision"
        ],
        "type": "object"
      },
      "Input_app_api_src_models_rs_WorkloadUpdateBody": {
        "additionalProperties": false,
        "properties": {
          "dependencies": {
            "items": {
              "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_TaskDependency"
            },
            "type": "array"
          },
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "options": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "parameters": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_shared_common_src_parameters_rs_ParameterDefinition"
            },
            "type": "object"
          },
          "policy": {
            "$ref": "#/components/schemas/Input_kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/Input_app_api_src_models_rs_SqlTask"
            },
            "type": "array"
          },
          "workflow": {
            "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_WorkflowOptions"
          }
        },
        "required": [
          "expected_revision",
          "submission_id",
          "tasks",
          "policy"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_ChartConfig": {
        "allOf": [
          {
            "additionalProperties": {
              "description": "JSON value; fields depend on the enclosing document or provider."
            },
            "type": "object"
          },
          {
            "properties": {
              "colors": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "decimals": {
                "anyOf": [
                  {
                    "minimum": 0,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "legend": {
                "type": "boolean"
              },
              "number_format": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "series_column": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sort_column": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sort_direction": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stacked": {
                "type": "boolean"
              },
              "table_columns": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "thresholds": {
                "items": {
                  "description": "JSON value; fields depend on the enclosing document or provider."
                },
                "type": "array"
              },
              "x_column": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "x_label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "y_columns": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "y_label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [],
            "type": "object"
          }
        ]
      },
      "Input_app_dashboards_src_models_rs_DashboardCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "definition": {
            "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardDefinition"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "definition"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_DashboardDataset": {
        "additionalProperties": false,
        "properties": {
          "dataset_id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_QuerySettings"
          },
          "source_query_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sql": {
            "type": "string"
          }
        },
        "required": [
          "dataset_id",
          "name",
          "sql",
          "settings"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_DashboardDefinition": {
        "additionalProperties": false,
        "properties": {
          "datasets": {
            "items": {
              "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardDataset"
            },
            "type": "array"
          },
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "options": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "parameters": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Input_shared_common_src_parameters_rs_ParameterDefinition"
            },
            "type": "object"
          },
          "retention": {
            "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardRetention"
          },
          "schedule": {
            "$ref": "#/components/schemas/Input_kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy"
          },
          "widgets": {
            "items": {
              "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardWidget"
            },
            "type": "array"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_DashboardMutationRequest": {
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "expected_revision"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_DashboardRefreshRequest": {
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "parameters": {
            "$ref": "#/components/schemas/Input_shared_common_src_parameters_rs_ParameterValues"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_DashboardRetention": {
        "additionalProperties": false,
        "properties": {
          "max_age_days": {
            "minimum": 0,
            "type": "integer"
          },
          "max_snapshots": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_DashboardSaveRequest": {
        "additionalProperties": false,
        "properties": {
          "definition": {
            "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardDefinition"
          },
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "expected_revision",
          "definition"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_DashboardWidget": {
        "additionalProperties": false,
        "properties": {
          "chart": {
            "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_ChartConfig"
          },
          "dataset_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_WidgetKind"
          },
          "layout": {
            "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_WidgetLayout"
          },
          "markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "type": "string"
          },
          "widget_id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "widget_id",
          "kind"
        ],
        "type": "object"
      },
      "Input_app_dashboards_src_models_rs_WidgetKind": {
        "oneOf": [
          {
            "const": "Table",
            "type": "string"
          },
          {
            "const": "Stat",
            "type": "string"
          },
          {
            "const": "Line",
            "type": "string"
          },
          {
            "const": "Area",
            "type": "string"
          },
          {
            "const": "Bar",
            "type": "string"
          },
          {
            "const": "StackedBar",
            "type": "string"
          },
          {
            "const": "Pie",
            "type": "string"
          },
          {
            "const": "Donut",
            "type": "string"
          },
          {
            "const": "Scatter",
            "type": "string"
          },
          {
            "const": "Markdown",
            "type": "string"
          }
        ]
      },
      "Input_app_dashboards_src_models_rs_WidgetLayout": {
        "additionalProperties": false,
        "properties": {
          "h": {
            "minimum": 0,
            "type": "integer"
          },
          "w": {
            "minimum": 0,
            "type": "integer"
          },
          "x": {
            "minimum": 0,
            "type": "integer"
          },
          "y": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [],
        "type": "object"
      },
      "Input_app_notebooks_core_src_models_rs_NotebookCreateRequest": {
        "properties": {
          "document": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "name": {
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/Input_app_notebooks_core_src_models_rs_NotebookSettings"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "name",
          "document"
        ],
        "type": "object"
      },
      "Input_app_notebooks_core_src_models_rs_NotebookSettings": {
        "additionalProperties": false,
        "properties": {
          "options": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "query": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_QuerySettings"
              },
              {
                "type": "null"
              }
            ],
            "description": "Omitted query settings use the engine's configured session defaults."
          }
        },
        "required": [],
        "type": "object"
      },
      "Input_app_workspace_src_models_rs_ChartConfig": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_ChartKind"
          },
          "x_column": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "y_columns": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "Input_app_workspace_src_models_rs_ChartKind": {
        "oneOf": [
          {
            "const": "Table",
            "type": "string"
          },
          {
            "const": "Bar",
            "type": "string"
          },
          {
            "const": "Line",
            "type": "string"
          },
          {
            "const": "Area",
            "type": "string"
          },
          {
            "const": "Pie",
            "type": "string"
          },
          {
            "const": "Stat",
            "type": "string"
          }
        ]
      },
      "Input_app_workspace_src_models_rs_DashboardWidget": {
        "additionalProperties": false,
        "properties": {
          "chart": {
            "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_ChartConfig"
          },
          "query_id": {
            "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_DocumentId"
          },
          "title": {
            "type": "string"
          },
          "widget_id": {
            "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_WidgetId"
          }
        },
        "required": [
          "widget_id",
          "title",
          "query_id",
          "chart"
        ],
        "type": "object"
      },
      "Input_app_workspace_src_models_rs_DocumentBody": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "Query"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "settings": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_QuerySettings"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sql": {
                    "type": "string"
                  }
                },
                "required": [
                  "sql"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "Dashboard"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "widgets": {
                    "items": {
                      "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_DashboardWidget"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "widgets"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "Input_app_workspace_src_models_rs_DocumentCreateRequest": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_DocumentBody"
          },
          "name": {
            "type": "string"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "name",
          "body"
        ],
        "type": "object"
      },
      "Input_app_workspace_src_models_rs_DocumentDeleteRequest": {
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "expected_revision"
        ],
        "type": "object"
      },
      "Input_app_workspace_src_models_rs_DocumentId": {
        "format": "uuid",
        "type": "string"
      },
      "Input_app_workspace_src_models_rs_DocumentSaveRequest": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_DocumentBody"
          },
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "submission_id",
          "expected_revision",
          "name",
          "body"
        ],
        "type": "object"
      },
      "Input_app_workspace_src_models_rs_WidgetId": {
        "format": "uuid",
        "type": "string"
      },
      "Input_data_catalog_core_src_models_mod_rs_CatalogConfiguration": {
        "properties": {
          "credential_references": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "options": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "provider": {
            "type": "string"
          }
        },
        "required": [
          "provider",
          "options",
          "credential_references"
        ],
        "type": "object"
      },
      "Input_kernel_controller_src_pools_settings_rs_DeploymentProfileChange": {
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "resources": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_ComputeRequirements"
          },
          "sizing": {
            "$ref": "#/components/schemas/Input_shared_common_src_execution_pools_rs_DeploymentPoolSizing"
          }
        },
        "required": [
          "expected_revision",
          "sizing",
          "resources"
        ],
        "type": "object"
      },
      "Input_kernel_controller_src_pools_settings_rs_DeploymentProfileCreate": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "provisioner": {
            "type": "string"
          },
          "resources": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_ComputeRequirements"
          },
          "sizing": {
            "$ref": "#/components/schemas/Input_shared_common_src_execution_pools_rs_DeploymentPoolSizing"
          }
        },
        "required": [
          "name",
          "provisioner",
          "sizing",
          "resources"
        ],
        "type": "object"
      },
      "Input_kernel_scheduler_src_backfills_model_rs_BackfillRequest": {
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "from_unix_millis": {
            "type": "integer"
          },
          "max_active_runs": {
            "minimum": 0,
            "type": "integer"
          },
          "parameters": {
            "$ref": "#/components/schemas/Input_shared_common_src_parameters_rs_ParameterValues"
          },
          "reprocess": {
            "$ref": "#/components/schemas/Input_kernel_scheduler_src_backfills_model_rs_Reprocess"
          },
          "run_backwards": {
            "type": "boolean"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          },
          "to_unix_millis": {
            "type": "integer"
          }
        },
        "required": [
          "submission_id",
          "from_unix_millis",
          "to_unix_millis",
          "expected_revision"
        ],
        "type": "object"
      },
      "Input_kernel_scheduler_src_backfills_model_rs_Reprocess": {
        "oneOf": [
          {
            "const": "missing",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "all",
            "type": "string"
          }
        ]
      },
      "Input_kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy": {
        "oneOf": [
          {
            "const": "Manual",
            "type": "string"
          },
          {
            "const": "Immediately",
            "type": "string"
          },
          {
            "properties": {
              "At": {
                "properties": {
                  "at": {
                    "$ref": "#/components/schemas/Input_shared_common_src_time_rs_WallClockTimestamp"
                  }
                },
                "required": [
                  "at"
                ],
                "type": "object"
              }
            },
            "required": [
              "At"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Interval": {
                "properties": {
                  "every": {
                    "properties": {
                      "nanos": {
                        "maximum": 999999999,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "secs": {
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "secs",
                      "nanos"
                    ],
                    "type": "object"
                  },
                  "start_at": {
                    "$ref": "#/components/schemas/Input_shared_common_src_time_rs_WallClockTimestamp"
                  }
                },
                "required": [
                  "start_at",
                  "every"
                ],
                "type": "object"
              }
            },
            "required": [
              "Interval"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Cron": {
                "properties": {
                  "expression": {
                    "type": "string"
                  },
                  "timezone": {
                    "type": "string"
                  }
                },
                "required": [
                  "expression",
                  "timezone"
                ],
                "type": "object"
              }
            },
            "required": [
              "Cron"
            ],
            "type": "object"
          }
        ]
      },
      "Input_shared_common_src_compute_rs_ComputeTuning": {
        "additionalProperties": false,
        "properties": {
          "batch_rows": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_read_concurrency": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_prefetch_batches": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "native_parquet_scan": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "False always uses connector-produced Arrow batches. Omitted keeps the native Parquet capability enabled when the source can supply it safely."
          },
          "output_buffer_batches": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "query_memory_bytes": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "spill_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Zero disables disk spill. The directory is controlled by the deployment."
          },
          "threads": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "write_batch_rows": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "write_parallelism": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [],
        "type": "object"
      },
      "Input_shared_common_src_execution_mod_rs_ExecutionOptions": {
        "properties": {
          "compute_requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_ComputeRequirements"
              },
              {
                "type": "null"
              }
            ]
          },
          "deployment_profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provisioner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "worker_scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkerScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "xray": {
            "type": "boolean"
          }
        },
        "required": [],
        "type": "object"
      },
      "Input_shared_common_src_execution_pools_rs_DeploymentPoolSizing": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "mode": {
                    "const": "fixed"
                  }
                },
                "required": [
                  "mode"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "workers": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "workers"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "mode": {
                    "const": "autoscaling"
                  }
                },
                "required": [
                  "mode"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "idle_timeout_seconds": {
                    "minimum": 1,
                    "type": "integer"
                  },
                  "max_workers": {
                    "minimum": 1,
                    "type": "integer"
                  },
                  "min_workers": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [],
                "type": "object"
              }
            ]
          }
        ]
      },
      "Input_shared_common_src_lib_rs_CatalogId": {
        "format": "uuid",
        "type": "string"
      },
      "Input_shared_common_src_lib_rs_CatalogMutationId": {
        "format": "uuid",
        "type": "string"
      },
      "Input_shared_common_src_lib_rs_ComputeRequirements": {
        "properties": {
          "cpu_millicores": {
            "minimum": 1,
            "type": "integer"
          },
          "memory_bytes": {
            "minimum": 1,
            "type": "integer"
          },
          "tuning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_compute_rs_ComputeTuning"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "cpu_millicores",
          "memory_bytes"
        ],
        "type": "object"
      },
      "Input_shared_common_src_lib_rs_ExecutionTarget": {
        "oneOf": [
          {
            "const": "DataFusion",
            "type": "string"
          },
          {
            "const": "DuckDb",
            "type": "string"
          }
        ]
      },
      "Input_shared_common_src_lib_rs_IncrementalSource": {
        "properties": {
          "branch": {
            "type": "string"
          },
          "table": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_TableReference"
          }
        },
        "required": [
          "table",
          "branch"
        ],
        "type": "object"
      },
      "Input_shared_common_src_lib_rs_MissedRunPolicy": {
        "oneOf": [
          {
            "const": "RunOnce",
            "type": "string"
          },
          {
            "const": "RunAll",
            "type": "string"
          },
          {
            "const": "Skip",
            "type": "string"
          }
        ]
      },
      "Input_shared_common_src_lib_rs_OverlapPolicy": {
        "oneOf": [
          {
            "const": "Wait",
            "type": "string"
          },
          {
            "const": "Skip",
            "type": "string"
          },
          {
            "const": "Allow",
            "type": "string"
          }
        ]
      },
      "Input_shared_common_src_lib_rs_QuerySettings": {
        "properties": {
          "ansi_enabled": {
            "type": "boolean"
          },
          "case_sensitive": {
            "type": "boolean"
          },
          "current_catalog": {
            "type": "string"
          },
          "namespace": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "time_zone": {
            "type": "string"
          }
        },
        "required": [
          "current_catalog",
          "namespace",
          "time_zone",
          "case_sensitive",
          "ansi_enabled"
        ],
        "type": "object"
      },
      "Input_shared_common_src_lib_rs_SubmissionId": {
        "format": "uuid",
        "type": "string"
      },
      "Input_shared_common_src_lib_rs_TableReference": {
        "properties": {
          "catalog_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_CatalogId"
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "catalog_id",
          "namespace",
          "name"
        ],
        "type": "object"
      },
      "Input_shared_common_src_lib_rs_TaskDependency": {
        "properties": {
          "downstream": {
            "type": "string"
          },
          "input_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "upstream": {
            "type": "string"
          }
        },
        "required": [
          "upstream",
          "downstream"
        ],
        "type": "object"
      },
      "Input_shared_common_src_lib_rs_WorkerScope": {
        "oneOf": [
          {
            "const": "Task",
            "type": "string"
          },
          {
            "const": "Workload",
            "type": "string"
          },
          {
            "const": "Deployment",
            "type": "string"
          }
        ]
      },
      "Input_shared_common_src_lib_rs_WorkloadId": {
        "format": "uuid",
        "type": "string"
      },
      "Input_shared_common_src_lib_rs_WorkloadRunId": {
        "format": "uuid",
        "type": "string"
      },
      "Input_shared_common_src_lib_rs_WorkloadSubmissionOptions": {
        "properties": {
          "compute_requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_ComputeRequirements"
              },
              {
                "type": "null"
              }
            ]
          },
          "deployment_profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_target": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_ExecutionTarget"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_timeout": {
            "anyOf": [
              {
                "properties": {
                  "nanos": {
                    "maximum": 999999999,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "secs": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "secs",
                  "nanos"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_attempts": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "missed_run_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_MissedRunPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "overlap_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_OverlapPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "parallelism": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum assigned tasks in one run. Unset has no run limit."
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provisioner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "queue_timeout": {
            "anyOf": [
              {
                "properties": {
                  "nanos": {
                    "maximum": 999999999,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "secs": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "secs",
                  "nanos"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "start_paused": {
            "type": "boolean"
          },
          "worker_scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkerScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "xray": {
            "type": "boolean"
          }
        },
        "required": [],
        "type": "object"
      },
      "Input_shared_common_src_parameters_rs_ParameterDefinition": {
        "additionalProperties": false,
        "properties": {
          "default": {
            "anyOf": [
              {
                "description": "JSON value; fields depend on the enclosing document or provider."
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "enum": {
            "anyOf": [
              {
                "items": {
                  "description": "JSON value; fields depend on the enclosing document or provider."
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "nullable": {
            "type": "boolean"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/Input_shared_common_src_parameters_rs_ParameterType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "Input_shared_common_src_parameters_rs_ParameterType": {
        "oneOf": [
          {
            "const": "string",
            "type": "string"
          },
          {
            "const": "string_array",
            "type": "string"
          },
          {
            "const": "integer",
            "type": "string"
          },
          {
            "const": "decimal",
            "type": "string"
          },
          {
            "const": "boolean",
            "type": "string"
          },
          {
            "const": "date",
            "type": "string"
          },
          {
            "const": "timestamp",
            "type": "string"
          }
        ]
      },
      "Input_shared_common_src_parameters_rs_ParameterValues": {
        "additionalProperties": {
          "description": "JSON value; fields depend on the enclosing document or provider."
        },
        "type": "object"
      },
      "Input_shared_common_src_time_rs_WallClockTimestamp": {
        "properties": {
          "unix_millis": {
            "type": "integer"
          }
        },
        "required": [
          "unix_millis"
        ],
        "type": "object"
      },
      "Input_shared_common_src_workflow_rs_Backoff": {
        "oneOf": [
          {
            "const": "fixed",
            "type": "string"
          },
          {
            "const": "exponential",
            "type": "string"
          }
        ]
      },
      "Input_shared_common_src_workflow_rs_DataWindow": {
        "additionalProperties": false,
        "properties": {
          "end_unix_millis": {
            "type": "integer"
          },
          "start_unix_millis": {
            "type": "integer"
          },
          "timezone": {
            "type": "string"
          }
        },
        "required": [
          "start_unix_millis",
          "end_unix_millis",
          "timezone"
        ],
        "type": "object"
      },
      "Input_shared_common_src_workflow_rs_NotificationChannel": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "webhook"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "secret": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "slack"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "secret": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "Input_shared_common_src_workflow_rs_NotificationSubscription": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_NotificationChannel"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_WorkflowEventKind"
            },
            "type": "array"
          },
          "max_attempts": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "channel",
          "events"
        ],
        "type": "object"
      },
      "Input_shared_common_src_workflow_rs_RerunRequest": {
        "additionalProperties": false,
        "properties": {
          "failed_only": {
            "type": "boolean"
          },
          "include_downstream": {
            "type": "boolean"
          },
          "submission_id": {
            "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_SubmissionId"
          },
          "tasks": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "submission_id",
          "tasks"
        ],
        "type": "object"
      },
      "Input_shared_common_src_workflow_rs_RetryPolicy": {
        "additionalProperties": false,
        "properties": {
          "backoff": {
            "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_Backoff"
          },
          "initial_delay_seconds": {
            "minimum": 0,
            "type": "integer"
          },
          "jitter_percent": {
            "description": "Deterministic spread, derived from the saved task identity and attempt.",
            "minimum": 0,
            "type": "integer"
          },
          "max_attempts": {
            "minimum": 0,
            "type": "integer"
          },
          "max_delay_seconds": {
            "minimum": 0,
            "type": "integer"
          },
          "python_replay_safe": {
            "type": "boolean"
          }
        },
        "required": [
          "max_attempts"
        ],
        "type": "object"
      },
      "Input_shared_common_src_workflow_rs_SensorCondition": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "object_exists"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "http"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "expected_status": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "expected_value": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "json_pointer": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "secret": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "expected_status"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "workload_run"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "run_id": {
                    "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkloadRunId"
                  },
                  "workload_id": {
                    "$ref": "#/components/schemas/Input_shared_common_src_lib_rs_WorkloadId"
                  }
                },
                "required": [
                  "workload_id",
                  "run_id"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "Input_shared_common_src_workflow_rs_SensorSpec": {
        "additionalProperties": false,
        "properties": {
          "condition": {
            "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_SensorCondition"
          },
          "poll_interval_seconds": {
            "minimum": 0,
            "type": "integer"
          },
          "timeout_seconds": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "condition",
          "timeout_seconds"
        ],
        "type": "object"
      },
      "Input_shared_common_src_workflow_rs_TaskControl": {
        "additionalProperties": false,
        "properties": {
          "retry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_RetryPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "sensor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_SensorSpec"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [],
        "type": "object"
      },
      "Input_shared_common_src_workflow_rs_WorkflowEventKind": {
        "oneOf": [
          {
            "const": "run_started",
            "type": "string"
          },
          {
            "const": "run_succeeded",
            "type": "string"
          },
          {
            "const": "run_failed",
            "type": "string"
          },
          {
            "const": "run_cancelled",
            "type": "string"
          },
          {
            "const": "outcome_unknown",
            "type": "string"
          },
          {
            "const": "task_retry",
            "type": "string"
          },
          {
            "const": "task_failed",
            "type": "string"
          },
          {
            "const": "sensor_timeout",
            "type": "string"
          },
          {
            "const": "backfill_completed",
            "type": "string"
          },
          {
            "const": "backfill_failed",
            "type": "string"
          }
        ]
      },
      "Input_shared_common_src_workflow_rs_WorkflowOptions": {
        "additionalProperties": false,
        "properties": {
          "data_windows": {
            "type": "boolean"
          },
          "notifications": {
            "items": {
              "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_NotificationSubscription"
            },
            "type": "array"
          }
        },
        "required": [],
        "type": "object"
      },
      "app_agent_src_models_rs_ActionRecord": {
        "properties": {
          "action_id": {
            "format": "uuid",
            "type": "string"
          },
          "arguments": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "effect": {
            "$ref": "#/components/schemas/app_agent_src_models_rs_ToolEffect"
          },
          "result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_agent_src_models_rs_ToolResult"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/app_agent_src_models_rs_ActionStatus"
          },
          "tool_call_id": {
            "type": "string"
          },
          "tool_name": {
            "type": "string"
          }
        },
        "required": [
          "action_id",
          "tool_call_id",
          "tool_name",
          "arguments",
          "effect",
          "status",
          "result"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_ActionStatus": {
        "oneOf": [
          {
            "const": "pending_approval",
            "type": "string"
          },
          {
            "const": "approved",
            "type": "string"
          },
          {
            "const": "dispatching",
            "type": "string"
          },
          {
            "const": "succeeded",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "outcome_unknown",
            "type": "string"
          },
          {
            "const": "rejected",
            "type": "string"
          }
        ]
      },
      "app_agent_src_models_rs_AgentCapabilities": {
        "properties": {
          "configured": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "execution_enabled": {
            "type": "boolean"
          },
          "model": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "configured",
          "execution_enabled",
          "provider",
          "model"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_AgentEvent": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "turn_updated"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "status": {
                    "$ref": "#/components/schemas/app_agent_src_models_rs_TurnStatus"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "text_delta"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "action_updated"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "action": {
                    "$ref": "#/components/schemas/app_agent_src_models_rs_ActionRecord"
                  }
                },
                "required": [
                  "action"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "artifact_proposed"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "artifact": {
                    "$ref": "#/components/schemas/app_agent_src_models_rs_Artifact"
                  }
                },
                "required": [
                  "artifact"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "view_proposed"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "view": {
                    "$ref": "#/components/schemas/app_agent_src_models_rs_UiView"
                  }
                },
                "required": [
                  "view"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "app_agent_src_models_rs_Artifact": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "sql"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "draft_token": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "title",
                  "content",
                  "draft_token"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "workload"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "content": {
                    "description": "JSON value; fields depend on the enclosing document or provider."
                  },
                  "draft_token": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "title",
                  "content",
                  "draft_token"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "notebook"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "content": {
                    "description": "JSON value; fields depend on the enclosing document or provider."
                  },
                  "draft_token": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "title",
                  "content",
                  "draft_token"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "dashboard"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "content": {
                    "description": "JSON value; fields depend on the enclosing document or provider."
                  },
                  "draft_token": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "title",
                  "content",
                  "draft_token"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "app_agent_src_models_rs_ConversationPage": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "conversations": {
            "items": {
              "$ref": "#/components/schemas/app_agent_src_models_rs_ConversationRecord"
            },
            "type": "array"
          }
        },
        "required": [
          "conversations",
          "continuation"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_ConversationRecord": {
        "properties": {
          "active_turn_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "conversation_id": {
            "format": "uuid",
            "type": "string"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "owner": {
            "type": "string"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "conversation_id",
          "title",
          "owner",
          "active_turn_id",
          "created_at",
          "updated_at",
          "revision"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_EventPage": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/app_agent_src_models_rs_EventRecord"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/app_agent_src_models_rs_TurnStatus"
          }
        },
        "required": [
          "events",
          "continuation",
          "status"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_EventRecord": {
        "properties": {
          "event": {
            "$ref": "#/components/schemas/app_agent_src_models_rs_AgentEvent"
          },
          "sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "turn_id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "sequence",
          "turn_id",
          "event"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_PageContext": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "draft_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "page": {
            "type": "string"
          },
          "resource_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "page",
          "resource_id",
          "draft_token",
          "content"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_ToolEffect": {
        "oneOf": [
          {
            "const": "read",
            "type": "string"
          },
          {
            "const": "execute",
            "type": "string"
          },
          {
            "const": "admin",
            "type": "string"
          }
        ]
      },
      "app_agent_src_models_rs_ToolResult": {
        "properties": {
          "data": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "is_error": {
            "type": "boolean"
          }
        },
        "required": [
          "is_error",
          "data"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_TurnRecord": {
        "properties": {
          "actions": {
            "items": {
              "$ref": "#/components/schemas/app_agent_src_models_rs_ActionRecord"
            },
            "type": "array"
          },
          "active_millis": {
            "minimum": 0,
            "type": "integer"
          },
          "artifacts": {
            "items": {
              "$ref": "#/components/schemas/app_agent_src_models_rs_Artifact"
            },
            "type": "array"
          },
          "assistant_text": {
            "type": "string"
          },
          "cancel_requested": {
            "type": "boolean"
          },
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_agent_src_models_rs_PageContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "conversation_id": {
            "format": "uuid",
            "type": "string"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "type": "string"
          },
          "next_sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "scope": {
            "$ref": "#/components/schemas/app_agent_src_models_rs_TurnScope"
          },
          "status": {
            "$ref": "#/components/schemas/app_agent_src_models_rs_TurnStatus"
          },
          "steps": {
            "minimum": 0,
            "type": "integer"
          },
          "submission_id": {
            "format": "uuid",
            "type": "string"
          },
          "turn_id": {
            "format": "uuid",
            "type": "string"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "views": {
            "items": {
              "$ref": "#/components/schemas/app_agent_src_models_rs_UiView"
            },
            "type": "array"
          }
        },
        "required": [
          "turn_id",
          "conversation_id",
          "submission_id",
          "message",
          "scope",
          "context",
          "status",
          "assistant_text",
          "actions",
          "artifacts",
          "views",
          "error",
          "created_at",
          "updated_at",
          "revision",
          "next_sequence",
          "steps",
          "cancel_requested",
          "active_millis"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_TurnScope": {
        "oneOf": [
          {
            "const": "read",
            "type": "string"
          },
          {
            "const": "draft",
            "type": "string"
          },
          {
            "const": "execute",
            "type": "string"
          }
        ]
      },
      "app_agent_src_models_rs_TurnStatus": {
        "oneOf": [
          {
            "const": "queued",
            "type": "string"
          },
          {
            "const": "running",
            "type": "string"
          },
          {
            "const": "waiting_approval",
            "type": "string"
          },
          {
            "const": "completed",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "cancelled",
            "type": "string"
          },
          {
            "const": "interrupted",
            "type": "string"
          }
        ]
      },
      "app_agent_src_models_rs_UiDataRef": {
        "properties": {
          "action_id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "action_id"
        ],
        "type": "object"
      },
      "app_agent_src_models_rs_UiView": {
        "properties": {
          "data_refs": {
            "items": {
              "$ref": "#/components/schemas/app_agent_src_models_rs_UiDataRef"
            },
            "type": "array"
          },
          "library_version": {
            "minimum": 0,
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "view_id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "view_id",
          "title",
          "library_version",
          "source",
          "data_refs"
        ],
        "type": "object"
      },
      "app_api_src_models_rs_EngineCapabilities": {
        "properties": {
          "execution_targets": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "file_mount_roots": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "kafka_connections": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "notebooks": {
            "type": "boolean"
          },
          "python_notebooks": {
            "type": "boolean"
          },
          "roles": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "spark_connect": {
            "type": "boolean"
          },
          "version": {
            "type": "string"
          },
          "workspace": {
            "type": "boolean"
          }
        },
        "required": [
          "version",
          "roles",
          "execution_targets",
          "notebooks",
          "python_notebooks",
          "spark_connect",
          "kafka_connections",
          "file_mount_roots",
          "workspace"
        ],
        "type": "object"
      },
      "app_api_src_models_rs_ResultPage": {
        "properties": {
          "batches": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "encoding": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "schema": {
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "format",
          "encoding",
          "schema",
          "batches",
          "continuation_token",
          "truncated"
        ],
        "type": "object"
      },
      "app_api_src_models_rs_SessionResponse": {
        "properties": {
          "server_session_id": {
            "format": "uuid",
            "type": "string"
          },
          "session_id": {
            "format": "uuid",
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_QuerySettings"
          }
        },
        "required": [
          "session_id",
          "server_session_id",
          "settings"
        ],
        "type": "object"
      },
      "app_api_src_service_workers_rs_WorkerTaskView": {
        "allOf": [
          {
            "$ref": "#/components/schemas/kernel_controller_src_workers_inventory_rs_WorkerTaskRecord"
          },
          {
            "properties": {
              "workload_kind": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadKind"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "workload_kind"
            ],
            "type": "object"
          }
        ]
      },
      "app_api_src_service_workers_rs_WorkerView": {
        "allOf": [
          {
            "$ref": "#/components/schemas/kernel_controller_src_workers_inventory_rs_WorkerDetails"
          },
          {
            "properties": {
              "workload_kind": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadKind"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "workload_kind"
            ],
            "type": "object"
          }
        ]
      },
      "app_dashboards_src_error_rs_DashboardResult": {
        "description": "Serialized Result; provider-specific fields retain their original JSON representation.",
        "x-rust-type": "Result"
      },
      "app_dashboards_src_models_rs_ChartConfig": {
        "allOf": [
          {
            "additionalProperties": {
              "description": "JSON value; fields depend on the enclosing document or provider."
            },
            "type": "object"
          },
          {
            "properties": {
              "colors": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "decimals": {
                "anyOf": [
                  {
                    "minimum": 0,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "legend": {
                "type": "boolean"
              },
              "number_format": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "series_column": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sort_column": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sort_direction": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stacked": {
                "type": "boolean"
              },
              "table_columns": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "thresholds": {
                "items": {
                  "description": "JSON value; fields depend on the enclosing document or provider."
                },
                "type": "array"
              },
              "x_column": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "x_label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "y_columns": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "y_label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "x_column",
              "y_columns",
              "series_column",
              "legend",
              "stacked",
              "number_format",
              "decimals",
              "colors",
              "x_label",
              "y_label",
              "sort_column",
              "sort_direction",
              "table_columns",
              "thresholds"
            ],
            "type": "object"
          }
        ]
      },
      "app_dashboards_src_models_rs_DashboardDataset": {
        "properties": {
          "dataset_id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_QuerySettings"
          },
          "source_query_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sql": {
            "type": "string"
          }
        },
        "required": [
          "dataset_id",
          "name",
          "sql",
          "settings",
          "source_query_id"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_DashboardDefinition": {
        "properties": {
          "datasets": {
            "items": {
              "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDataset"
            },
            "type": "array"
          },
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "options": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "parameters": {
            "additionalProperties": {
              "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterDefinition"
            },
            "type": "object"
          },
          "retention": {
            "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardRetention"
          },
          "schedule": {
            "$ref": "#/components/schemas/kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy"
          },
          "widgets": {
            "items": {
              "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardWidget"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "description",
          "datasets",
          "widgets",
          "parameters",
          "schedule",
          "options",
          "retention"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_DashboardDoc": {
        "properties": {
          "active_definition": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDefinition"
              },
              {
                "type": "null"
              }
            ]
          },
          "active_revision": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "dashboard_id": {
            "format": "uuid",
            "type": "string"
          },
          "definition": {
            "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDefinition"
          },
          "latest_refresh_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "latest_refresh_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "latest_refresh_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_dashboards_src_models_rs_RefreshStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "latest_snapshot_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "latest_snapshot_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "paused": {
            "type": "boolean"
          },
          "pending_action": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A persisted activation/pause/delete is retried by the reconciler after a restart."
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "workload_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "dashboard_id",
          "revision",
          "definition",
          "active_revision",
          "active_definition",
          "workload_id",
          "paused",
          "latest_snapshot_id",
          "latest_snapshot_at",
          "latest_refresh_id",
          "latest_refresh_at",
          "latest_refresh_status",
          "created_at",
          "updated_at",
          "pending_action"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_DashboardRefresh": {
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "dashboard_id": {
            "format": "uuid",
            "type": "string"
          },
          "dashboard_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "datasets": {
            "items": {
              "$ref": "#/components/schemas/app_dashboards_src_models_rs_DatasetRefresh"
            },
            "type": "array"
          },
          "default_parameters": {
            "type": "boolean"
          },
          "definition": {
            "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDefinition"
          },
          "expired": {
            "type": "boolean"
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "parameters": {
            "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterValues"
          },
          "refresh_id": {
            "description": "Equals the workload run ID when there are query datasets.",
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/app_dashboards_src_models_rs_RefreshStatus"
          },
          "widget_errors": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "workload_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "refresh_id",
          "dashboard_id",
          "dashboard_revision",
          "definition",
          "workload_id",
          "workload_run_id",
          "status",
          "parameters",
          "default_parameters",
          "created_at",
          "finished_at",
          "datasets",
          "expired",
          "widget_errors"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_DashboardRetention": {
        "properties": {
          "max_age_days": {
            "minimum": 0,
            "type": "integer"
          },
          "max_snapshots": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "max_snapshots",
          "max_age_days"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_DashboardWidget": {
        "properties": {
          "chart": {
            "$ref": "#/components/schemas/app_dashboards_src_models_rs_ChartConfig"
          },
          "dataset_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "$ref": "#/components/schemas/app_dashboards_src_models_rs_WidgetKind"
          },
          "layout": {
            "$ref": "#/components/schemas/app_dashboards_src_models_rs_WidgetLayout"
          },
          "markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "type": "string"
          },
          "widget_id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "widget_id",
          "title",
          "dataset_id",
          "kind",
          "layout",
          "chart",
          "markdown"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_DatasetRefresh": {
        "properties": {
          "bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "columns": {
            "items": {
              "$ref": "#/components/schemas/app_dashboards_src_models_rs_ResultColumn"
            },
            "type": "array"
          },
          "dataset_id": {
            "format": "uuid",
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rows": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string"
          },
          "task_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "dataset_id",
          "task_run_id",
          "status",
          "error",
          "rows",
          "bytes",
          "truncated",
          "columns"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_RefreshStatus": {
        "oneOf": [
          {
            "const": "Pending",
            "type": "string"
          },
          {
            "const": "Running",
            "type": "string"
          },
          {
            "const": "Cancelling",
            "type": "string"
          },
          {
            "const": "Cancelled",
            "type": "string"
          },
          {
            "const": "Succeeded",
            "type": "string"
          },
          {
            "const": "Failed",
            "type": "string"
          },
          {
            "const": "Skipped",
            "type": "string"
          },
          {
            "const": "OutcomeUnknown",
            "type": "string"
          }
        ]
      },
      "app_dashboards_src_models_rs_ResultColumn": {
        "properties": {
          "data_type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nullable": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "data_type",
          "nullable"
        ],
        "type": "object"
      },
      "app_dashboards_src_models_rs_WidgetKind": {
        "oneOf": [
          {
            "const": "Table",
            "type": "string"
          },
          {
            "const": "Stat",
            "type": "string"
          },
          {
            "const": "Line",
            "type": "string"
          },
          {
            "const": "Area",
            "type": "string"
          },
          {
            "const": "Bar",
            "type": "string"
          },
          {
            "const": "StackedBar",
            "type": "string"
          },
          {
            "const": "Pie",
            "type": "string"
          },
          {
            "const": "Donut",
            "type": "string"
          },
          {
            "const": "Scatter",
            "type": "string"
          },
          {
            "const": "Markdown",
            "type": "string"
          }
        ]
      },
      "app_dashboards_src_models_rs_WidgetLayout": {
        "properties": {
          "h": {
            "minimum": 0,
            "type": "integer"
          },
          "w": {
            "minimum": 0,
            "type": "integer"
          },
          "x": {
            "minimum": 0,
            "type": "integer"
          },
          "y": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "x",
          "y",
          "w",
          "h"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_CellExecutionId": {
        "format": "uuid",
        "type": "string"
      },
      "app_notebooks_core_src_models_rs_CellExecutionSnapshot": {
        "properties": {
          "cell_id": {
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_count": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_CellExecutionId"
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "output_bytes": {
            "minimum": 0,
            "type": "integer"
          },
          "outputs_truncated": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "started_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_ExecutionStatus"
          }
        },
        "required": [
          "execution_id",
          "cell_id",
          "source",
          "status",
          "execution_count",
          "error",
          "next_sequence",
          "output_bytes",
          "outputs_truncated",
          "started_at",
          "finished_at"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_ExecutionStatus": {
        "oneOf": [
          {
            "const": "Queued",
            "type": "string"
          },
          {
            "const": "Dispatching",
            "type": "string"
          },
          {
            "const": "Running",
            "type": "string"
          },
          {
            "const": "Succeeded",
            "type": "string"
          },
          {
            "const": "Failed",
            "type": "string"
          },
          {
            "const": "OutcomeUnknown",
            "type": "string"
          },
          {
            "const": "Skipped",
            "type": "string"
          }
        ]
      },
      "app_notebooks_core_src_models_rs_KernelEvent": {
        "oneOf": [
          {
            "properties": {
              "Output": {
                "properties": {
                  "display_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "output": {
                    "description": "JSON value; fields depend on the enclosing document or provider."
                  }
                },
                "required": [
                  "output",
                  "display_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "Output"
            ],
            "type": "object"
          },
          {
            "properties": {
              "UpdateDisplay": {
                "properties": {
                  "data": {
                    "description": "JSON value; fields depend on the enclosing document or provider."
                  },
                  "display_id": {
                    "type": "string"
                  },
                  "metadata": {
                    "description": "JSON value; fields depend on the enclosing document or provider."
                  }
                },
                "required": [
                  "display_id",
                  "data",
                  "metadata"
                ],
                "type": "object"
              }
            },
            "required": [
              "UpdateDisplay"
            ],
            "type": "object"
          },
          {
            "properties": {
              "ClearOutput": {
                "properties": {
                  "wait": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "wait"
                ],
                "type": "object"
              }
            },
            "required": [
              "ClearOutput"
            ],
            "type": "object"
          },
          {
            "properties": {
              "ExecutionCount": {
                "properties": {
                  "count": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "count"
                ],
                "type": "object"
              }
            },
            "required": [
              "ExecutionCount"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Completed": {
                "properties": {
                  "error": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "error"
                ],
                "type": "object"
              }
            },
            "required": [
              "Completed"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Operation": {
                "properties": {
                  "operation_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "session_id": {
                    "format": "uuid",
                    "type": "string"
                  }
                },
                "required": [
                  "session_id",
                  "operation_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "Operation"
            ],
            "type": "object"
          }
        ]
      },
      "app_notebooks_core_src_models_rs_KernelHandle": {
        "properties": {
          "engine_session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "generation": {
            "format": "uuid",
            "type": "string"
          },
          "kernel_id": {
            "type": "string"
          }
        },
        "required": [
          "kernel_id",
          "generation",
          "engine_session_id"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookDeleteResponse": {
        "properties": {
          "notebook_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
          }
        },
        "required": [
          "notebook_id"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookId": {
        "format": "uuid",
        "type": "string"
      },
      "app_notebooks_core_src_models_rs_NotebookListResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
              },
              {
                "type": "null"
              }
            ]
          },
          "notebooks": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSnapshot"
            },
            "type": "array"
          }
        },
        "required": [
          "notebooks",
          "continuation"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookOutput": {
        "properties": {
          "at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "event": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_KernelEvent"
          },
          "sequence": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "sequence",
          "at",
          "event"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookOutputResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "outputs": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookOutput"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_ExecutionStatus"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "outputs",
          "continuation",
          "truncated",
          "status"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookResponse": {
        "properties": {
          "notebook": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSnapshot"
          }
        },
        "required": [
          "notebook"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookRevisionListResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "revisions": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRevisionSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "revisions",
          "continuation"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookRevisionSummary": {
        "properties": {
          "name": {
            "type": "string"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "revision",
          "name",
          "updated_at"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookRunId": {
        "format": "uuid",
        "type": "string"
      },
      "app_notebooks_core_src_models_rs_NotebookRunListResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "runs": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunSnapshot"
            },
            "type": "array"
          }
        },
        "required": [
          "runs",
          "continuation"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookRunResponse": {
        "properties": {
          "run": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunSnapshot"
          }
        },
        "required": [
          "run"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookRunSnapshot": {
        "properties": {
          "cells": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_CellExecutionSnapshot"
            },
            "type": "array"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "document_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "document_updated": {
            "type": "boolean"
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "generation": {
            "format": "uuid",
            "type": "string"
          },
          "notebook_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
          },
          "parameter_definitions": {
            "additionalProperties": {
              "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterDefinition"
            },
            "type": "object"
          },
          "parameters": {
            "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterValues"
          },
          "run_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunId"
          },
          "session_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionId"
          },
          "status": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_ExecutionStatus"
          }
        },
        "required": [
          "parameters",
          "parameter_definitions",
          "run_id",
          "notebook_id",
          "session_id",
          "generation",
          "document_revision",
          "status",
          "cells",
          "created_at",
          "finished_at",
          "document_updated"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookRunSummary": {
        "properties": {
          "cell_count": {
            "minimum": 0,
            "type": "integer"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "document_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "document_updated": {
            "type": "boolean"
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "finished_cell_count": {
            "minimum": 0,
            "type": "integer"
          },
          "generation": {
            "format": "uuid",
            "type": "string"
          },
          "notebook_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
          },
          "run_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunId"
          },
          "session_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionId"
          },
          "status": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_ExecutionStatus"
          }
        },
        "required": [
          "run_id",
          "notebook_id",
          "session_id",
          "generation",
          "document_revision",
          "status",
          "cell_count",
          "finished_cell_count",
          "created_at",
          "finished_at",
          "document_updated"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookRunSummaryListResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "runs": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "runs",
          "continuation"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookSessionId": {
        "format": "uuid",
        "type": "string"
      },
      "app_notebooks_core_src_models_rs_NotebookSessionListResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionId"
              },
              {
                "type": "null"
              }
            ]
          },
          "sessions": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "sessions",
          "continuation"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookSessionResponse": {
        "properties": {
          "session": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionSnapshot"
          }
        },
        "required": [
          "session"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookSessionSnapshot": {
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "generation": {
            "format": "uuid",
            "type": "string"
          },
          "kernel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_KernelHandle"
              },
              {
                "type": "null"
              }
            ]
          },
          "kernel_name": {
            "type": "string"
          },
          "notebook_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
          },
          "session_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionId"
          },
          "settings": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSettings",
            "description": "Settings are captured when the session opens and remain stable until reset."
          },
          "status": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionStatus"
          }
        },
        "required": [
          "session_id",
          "notebook_id",
          "generation",
          "kernel_name",
          "settings",
          "kernel",
          "status",
          "created_at"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookSessionStatus": {
        "oneOf": [
          {
            "const": "Starting",
            "type": "string"
          },
          {
            "const": "Ready",
            "type": "string"
          },
          {
            "const": "OutcomeUnknown",
            "type": "string"
          },
          {
            "const": "Closed",
            "type": "string"
          }
        ]
      },
      "app_notebooks_core_src_models_rs_NotebookSessionSummary": {
        "allOf": [
          {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionSnapshot"
          },
          {
            "properties": {
              "active_run_id": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunId"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "active_run_id"
            ],
            "type": "object"
          }
        ]
      },
      "app_notebooks_core_src_models_rs_NotebookSettings": {
        "properties": {
          "options": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "query": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_QuerySettings"
              },
              {
                "type": "null"
              }
            ],
            "description": "Omitted query settings use the engine's configured session defaults."
          }
        },
        "required": [
          "query",
          "options"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookSnapshot": {
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "document": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "name": {
            "type": "string"
          },
          "notebook_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "settings": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSettings"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "notebook_id",
          "name",
          "revision",
          "document",
          "settings",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookSummary": {
        "properties": {
          "cell_count": {
            "minimum": 0,
            "type": "integer"
          },
          "code_cell_count": {
            "minimum": 0,
            "type": "integer"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "name": {
            "type": "string"
          },
          "notebook_id": {
            "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "notebook_id",
          "name",
          "revision",
          "cell_count",
          "code_cell_count",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "app_notebooks_core_src_models_rs_NotebookSummaryListResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookId"
              },
              {
                "type": "null"
              }
            ]
          },
          "notebooks": {
            "items": {
              "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "notebooks",
          "continuation"
        ],
        "type": "object"
      },
      "app_notifications_src_lib_rs_Delivery": {
        "properties": {
          "attempts": {
            "minimum": 0,
            "type": "integer"
          },
          "event": {
            "$ref": "#/components/schemas/app_notifications_src_lib_rs_WorkflowEvent"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_attempt_unix_millis": {
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/app_notifications_src_lib_rs_DeliveryStatus"
          },
          "subscription": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_NotificationSubscription"
          }
        },
        "required": [
          "event",
          "subscription",
          "attempts",
          "status",
          "next_attempt_unix_millis",
          "last_error"
        ],
        "type": "object"
      },
      "app_notifications_src_lib_rs_DeliveryStatus": {
        "oneOf": [
          {
            "const": "pending",
            "type": "string"
          },
          {
            "const": "in_flight",
            "type": "string"
          },
          {
            "const": "delivered",
            "type": "string"
          },
          {
            "const": "exhausted",
            "type": "string"
          }
        ]
      },
      "app_notifications_src_lib_rs_WorkflowEvent": {
        "properties": {
          "backfill_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_WorkflowEventKind"
          },
          "occurred_at_unix_millis": {
            "type": "integer"
          },
          "run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          }
        },
        "required": [
          "id",
          "workload_id",
          "run_id",
          "backfill_id",
          "task",
          "kind",
          "occurred_at_unix_millis"
        ],
        "type": "object"
      },
      "app_telemetry_src_traces_rs_RecentTrace": {
        "properties": {
          "duration_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "operation": {
            "type": "string"
          },
          "parent_span_id": {
            "type": "string"
          },
          "span_id": {
            "type": "string"
          },
          "started_unix_millis": {
            "minimum": 0,
            "type": "integer"
          },
          "started_unix_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          }
        },
        "required": [
          "trace_id",
          "span_id",
          "parent_span_id",
          "operation",
          "started_unix_millis",
          "started_unix_nanos",
          "duration_nanos",
          "status"
        ],
        "type": "object"
      },
      "app_workspace_src_models_rs_ChartConfig": {
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_ChartKind"
          },
          "x_column": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "y_columns": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "kind",
          "x_column",
          "y_columns"
        ],
        "type": "object"
      },
      "app_workspace_src_models_rs_ChartKind": {
        "oneOf": [
          {
            "const": "Table",
            "type": "string"
          },
          {
            "const": "Bar",
            "type": "string"
          },
          {
            "const": "Line",
            "type": "string"
          },
          {
            "const": "Area",
            "type": "string"
          },
          {
            "const": "Pie",
            "type": "string"
          },
          {
            "const": "Stat",
            "type": "string"
          }
        ]
      },
      "app_workspace_src_models_rs_DashboardWidget": {
        "properties": {
          "chart": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_ChartConfig"
          },
          "query_id": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentId"
          },
          "title": {
            "type": "string"
          },
          "widget_id": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_WidgetId"
          }
        },
        "required": [
          "widget_id",
          "title",
          "query_id",
          "chart"
        ],
        "type": "object"
      },
      "app_workspace_src_models_rs_DocumentBody": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "Query"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "settings": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/shared_common_src_lib_rs_QuerySettings"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sql": {
                    "type": "string"
                  }
                },
                "required": [
                  "sql"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "type": {
                    "const": "Dashboard"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "widgets": {
                    "items": {
                      "$ref": "#/components/schemas/app_workspace_src_models_rs_DashboardWidget"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "widgets"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "app_workspace_src_models_rs_DocumentDeleteResponse": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "document_id": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentId"
          }
        },
        "required": [
          "document_id",
          "deleted"
        ],
        "type": "object"
      },
      "app_workspace_src_models_rs_DocumentId": {
        "format": "uuid",
        "type": "string"
      },
      "app_workspace_src_models_rs_DocumentKind": {
        "oneOf": [
          {
            "const": "Query",
            "type": "string"
          },
          {
            "const": "Dashboard",
            "type": "string"
          }
        ]
      },
      "app_workspace_src_models_rs_DocumentListResponse": {
        "properties": {
          "documents": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_DocumentSummary"
          }
        },
        "required": [
          "documents"
        ],
        "type": "object"
      },
      "app_workspace_src_models_rs_DocumentResponse": {
        "properties": {
          "document": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_WorkspaceDocument"
          }
        },
        "required": [
          "document"
        ],
        "type": "object"
      },
      "app_workspace_src_models_rs_DocumentSummary": {
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "document_id": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentId"
          },
          "kind": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentKind"
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "document_id",
          "name",
          "kind",
          "revision",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "app_workspace_src_models_rs_WidgetId": {
        "format": "uuid",
        "type": "string"
      },
      "app_workspace_src_models_rs_WorkspaceDocument": {
        "properties": {
          "body": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentBody"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "document_id": {
            "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentId"
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "document_id",
          "name",
          "body",
          "revision",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_CatalogCapabilities": {
        "properties": {
          "constraints": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "namespaces": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_NamespaceCapabilities"
          },
          "permissions_verified": {
            "type": "boolean"
          },
          "provider": {
            "type": "string"
          },
          "tables": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_TableCapabilities"
          },
          "views": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_ViewCapabilities"
          }
        },
        "required": [
          "provider",
          "permissions_verified",
          "namespaces",
          "tables",
          "views",
          "constraints"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_CatalogCapabilitiesResponse": {
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_CatalogCapabilities"
          },
          "catalog": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogReference"
          }
        },
        "required": [
          "catalog",
          "capabilities"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_CatalogConnectionProbe": {
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "returned": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "returned",
          "has_more"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_CatalogConnectionValidateResponse": {
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_CatalogCapabilities"
          },
          "checked_at_unix_millis": {
            "type": "integer"
          },
          "namespace_probe": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_CatalogConnectionProbe"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "valid",
          "checked_at_unix_millis",
          "namespace_probe",
          "capabilities"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_MutationGuardCapabilities": {
        "properties": {
          "catalog_revision": {
            "type": "boolean"
          },
          "full_metadata_revision_compare_and_swap": {
            "description": "A metadata-location preflight is not atomic full metadata revision CAS.",
            "type": "boolean"
          },
          "guarded_drop": {
            "type": "boolean"
          },
          "guarded_rename": {
            "type": "boolean"
          },
          "guarded_view_alter": {
            "type": "boolean"
          },
          "table_identity_schema_layout": {
            "description": "Identity, schema and layout checks are native commit requirements.",
            "type": "boolean"
          }
        },
        "required": [
          "catalog_revision",
          "table_identity_schema_layout",
          "full_metadata_revision_compare_and_swap",
          "guarded_rename",
          "guarded_drop",
          "guarded_view_alter"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_NamespaceCapabilities": {
        "properties": {
          "alter_properties": {
            "type": "boolean"
          },
          "cascade_delete": {
            "type": "boolean"
          },
          "create": {
            "type": "boolean"
          },
          "drop_empty": {
            "type": "boolean"
          },
          "guarded_mutations": {
            "type": "boolean"
          },
          "list": {
            "type": "boolean"
          },
          "maximum_depth": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "None means the engine does not impose a known provider-specific depth limit."
          },
          "nested": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          }
        },
        "required": [
          "list",
          "read",
          "create",
          "alter_properties",
          "drop_empty",
          "nested",
          "maximum_depth",
          "cascade_delete",
          "guarded_mutations"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_RelationCapabilities": {
        "properties": {
          "add_partition_fields": {
            "type": "boolean"
          },
          "alter_comment": {
            "type": "boolean"
          },
          "alter_location": {
            "type": "boolean"
          },
          "alter_properties": {
            "type": "boolean"
          },
          "alter_sort_order": {
            "type": "boolean"
          },
          "constraints": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "drop_metadata": {
            "type": "boolean"
          },
          "drop_partition_fields": {
            "type": "boolean"
          },
          "mutation_guards": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_MutationGuardCapabilities"
          },
          "permissions_verified": {
            "type": "boolean"
          },
          "purge_data": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "rename": {
            "type": "boolean"
          },
          "rename_partition_fields": {
            "type": "boolean"
          },
          "replace_view_definition": {
            "type": "boolean"
          },
          "schema_evolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_SchemaEvolutionCapabilities"
              },
              {
                "type": "null"
              }
            ]
          },
          "snapshot_history": {
            "type": "boolean"
          },
          "time_travel": {
            "type": "boolean"
          },
          "upgrade_format_versions": {
            "items": {
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "permissions_verified",
          "read",
          "rename",
          "drop_metadata",
          "purge_data",
          "alter_properties",
          "alter_comment",
          "replace_view_definition",
          "snapshot_history",
          "time_travel",
          "alter_location",
          "add_partition_fields",
          "drop_partition_fields",
          "rename_partition_fields",
          "alter_sort_order",
          "upgrade_format_versions",
          "schema_evolution",
          "mutation_guards",
          "constraints"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_RelationCapabilitiesResponse": {
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_RelationCapabilities"
          },
          "kind": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_RelationKind"
          },
          "relation": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_RelationReference"
          },
          "supported_commit_operations": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_lib_rs_TableCommitOperation"
            },
            "type": "array"
          },
          "table_format_version": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "relation",
          "kind",
          "capabilities",
          "supported_commit_operations",
          "table_format_version"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_SchemaEvolutionCapabilities": {
        "properties": {
          "add_nullable_columns": {
            "type": "boolean"
          },
          "add_required_columns": {
            "type": "boolean"
          },
          "column_comments": {
            "type": "boolean"
          },
          "column_defaults": {
            "type": "boolean"
          },
          "drop_columns": {
            "type": "boolean"
          },
          "generated_columns": {
            "type": "boolean"
          },
          "relax_nullability": {
            "type": "boolean"
          },
          "rename_columns": {
            "type": "boolean"
          },
          "reorder_columns": {
            "type": "boolean"
          },
          "supported_type_promotions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "tighten_nullability": {
            "type": "boolean"
          }
        },
        "required": [
          "add_nullable_columns",
          "add_required_columns",
          "drop_columns",
          "rename_columns",
          "reorder_columns",
          "column_comments",
          "relax_nullability",
          "tighten_nullability",
          "column_defaults",
          "generated_columns",
          "supported_type_promotions"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_TableCapabilities": {
        "properties": {
          "add_partition_fields": {
            "type": "boolean"
          },
          "alter_comment": {
            "type": "boolean"
          },
          "alter_location": {
            "type": "boolean"
          },
          "alter_properties": {
            "type": "boolean"
          },
          "alter_sort_order": {
            "type": "boolean"
          },
          "create": {
            "type": "boolean"
          },
          "drop_metadata": {
            "type": "boolean"
          },
          "drop_partition_fields": {
            "type": "boolean"
          },
          "list": {
            "type": "boolean"
          },
          "mutation_guards": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_MutationGuardCapabilities"
          },
          "purge_data": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "register_external": {
            "type": "boolean"
          },
          "rename": {
            "type": "boolean"
          },
          "rename_partition_fields": {
            "type": "boolean"
          },
          "schema_evolution": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_SchemaEvolutionCapabilities"
          },
          "snapshot_history": {
            "type": "boolean"
          },
          "supported_format_versions": {
            "items": {
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "time_travel": {
            "type": "boolean"
          }
        },
        "required": [
          "list",
          "read",
          "create",
          "register_external",
          "rename",
          "drop_metadata",
          "purge_data",
          "alter_properties",
          "alter_comment",
          "alter_location",
          "add_partition_fields",
          "drop_partition_fields",
          "rename_partition_fields",
          "alter_sort_order",
          "supported_format_versions",
          "snapshot_history",
          "time_travel",
          "schema_evolution",
          "mutation_guards"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_introspection_rs_ViewCapabilities": {
        "properties": {
          "alter_comment": {
            "type": "boolean"
          },
          "alter_properties": {
            "type": "boolean"
          },
          "create": {
            "type": "boolean"
          },
          "drop_metadata": {
            "type": "boolean"
          },
          "guarded_mutations": {
            "type": "boolean"
          },
          "list": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "rename": {
            "type": "boolean"
          },
          "replace_definition": {
            "type": "boolean"
          }
        },
        "required": [
          "list",
          "read",
          "create",
          "replace_definition",
          "alter_properties",
          "alter_comment",
          "rename",
          "drop_metadata",
          "guarded_mutations"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_CatalogConfiguration": {
        "properties": {
          "credential_references": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "options": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "provider": {
            "type": "string"
          }
        },
        "required": [
          "provider",
          "options",
          "credential_references"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_CatalogDropResponse": {
        "properties": {
          "dropped": {
            "type": "boolean"
          }
        },
        "required": [
          "dropped"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_CatalogReference": {
        "properties": {
          "catalog_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_CatalogId"
          },
          "revision": {
            "type": "string"
          }
        },
        "required": [
          "catalog_id",
          "revision"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_MetadataVersion": {
        "properties": {
          "identity": {
            "type": "string"
          },
          "revision": {
            "type": "string"
          }
        },
        "required": [
          "identity",
          "revision"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_NamespaceListResponse": {
        "properties": {
          "namespaces": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_NamespaceReference"
          }
        },
        "required": [
          "namespaces"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_NamespaceReference": {
        "properties": {
          "catalog": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogReference"
          },
          "namespace": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "catalog",
          "namespace"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_RelationKind": {
        "oneOf": [
          {
            "const": "Table",
            "type": "string"
          },
          {
            "const": "View",
            "type": "string"
          }
        ]
      },
      "data_catalog_core_src_models_mod_rs_RelationListResponse": {
        "properties": {
          "relations": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_RelationSummary"
          }
        },
        "required": [
          "relations"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_RelationReference": {
        "properties": {
          "catalog": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogReference"
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "catalog",
          "namespace",
          "name"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_mod_rs_RelationSummary": {
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_RelationKind"
          },
          "reference": {
            "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_RelationReference"
          },
          "version": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_MetadataVersion"
              },
              {
                "type": "null"
              }
            ],
            "description": "None means discovery returned an identifier without loading its metadata."
          }
        },
        "required": [
          "reference",
          "kind",
          "version"
        ],
        "type": "object"
      },
      "data_catalog_core_src_models_search_rs_RelationSearchResponse": {
        "properties": {
          "complete": {
            "description": "True only after every discoverable namespace and relation has been scanned. A page may contain no matches and still have a continuation token.",
            "type": "boolean"
          },
          "relations": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_RelationSummary"
          },
          "scanned_namespaces": {
            "minimum": 0,
            "type": "integer"
          },
          "scanned_relations": {
            "description": "Counts for this request, including entries that did not match the query.",
            "minimum": 0,
            "type": "integer"
          },
          "supported_kinds": {
            "items": {
              "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_RelationKind"
            },
            "type": "array"
          }
        },
        "required": [
          "relations",
          "complete",
          "supported_kinds",
          "scanned_relations",
          "scanned_namespaces"
        ],
        "type": "object"
      },
      "data_connectors_core_src_models_inspection_rs_TableFile": {
        "properties": {
          "added_snapshot_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "$ref": "#/components/schemas/data_connectors_core_src_models_inspection_rs_TableFileContent"
          },
          "content_offset": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Distinguishes multiple deletion vectors stored in one physical file."
          },
          "content_size_bytes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "data_sequence_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "equality_field_ids": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "file_sequence_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_size_bytes": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "partition": {
            "items": {
              "$ref": "#/components/schemas/data_connectors_core_src_models_inspection_rs_TableFilePartition"
            },
            "type": "array"
          },
          "partition_spec_id": {
            "type": "integer"
          },
          "path": {
            "type": "string"
          },
          "record_count": {
            "type": "string"
          },
          "referenced_data_file": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sort_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "path",
          "content",
          "format",
          "file_size_bytes",
          "record_count",
          "partition_spec_id",
          "partition",
          "added_snapshot_id",
          "data_sequence_number",
          "file_sequence_number",
          "equality_field_ids",
          "sort_order_id",
          "referenced_data_file",
          "content_offset",
          "content_size_bytes"
        ],
        "type": "object"
      },
      "data_connectors_core_src_models_inspection_rs_TableFileContent": {
        "oneOf": [
          {
            "const": "data",
            "type": "string"
          },
          {
            "const": "position_deletes",
            "type": "string"
          },
          {
            "const": "equality_deletes",
            "type": "string"
          }
        ]
      },
      "data_connectors_core_src_models_inspection_rs_TableFilePartition": {
        "properties": {
          "data_type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "data_type",
          "value"
        ],
        "type": "object"
      },
      "data_connectors_core_src_models_inspection_rs_TableFileStatistics": {
        "properties": {
          "data_file_count": {
            "type": "string"
          },
          "data_size_bytes": {
            "type": "string"
          },
          "delete_entry_count": {
            "type": "string"
          },
          "delete_file_count": {
            "type": "string"
          },
          "delete_records": {
            "description": "Delete records may overlap; subtracting this from data records is incorrect.",
            "type": "string"
          },
          "delete_size_bytes": {
            "type": "string"
          },
          "records_before_deletes": {
            "type": "string"
          },
          "total_size_bytes": {
            "type": "string"
          },
          "visible_record_count": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Present only when no row-delete files exist. Otherwise execute COUNT(*) for an exact count."
          }
        },
        "required": [
          "data_file_count",
          "delete_file_count",
          "delete_entry_count",
          "data_size_bytes",
          "delete_size_bytes",
          "total_size_bytes",
          "records_before_deletes",
          "delete_records",
          "visible_record_count"
        ],
        "type": "object"
      },
      "data_connectors_core_src_models_inspection_rs_TableInspectionResponse": {
        "properties": {
          "current_snapshot_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "files": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_TableFile"
              },
              {
                "type": "null"
              }
            ]
          },
          "history": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_TableSnapshotHistory"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata_revision": {
            "type": "string"
          },
          "selected_snapshot_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Decimal strings preserve 64-bit snapshot IDs in browser clients."
          },
          "snapshots": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_TableSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "statistics": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/data_connectors_core_src_models_inspection_rs_TableFileStatistics"
              },
              {
                "type": "null"
              }
            ]
          },
          "table_identity": {
            "type": "string"
          }
        },
        "required": [
          "table_identity",
          "metadata_revision",
          "selected_snapshot_id",
          "current_snapshot_id"
        ],
        "type": "object"
      },
      "data_connectors_core_src_models_inspection_rs_TableSnapshot": {
        "properties": {
          "is_current": {
            "type": "boolean"
          },
          "is_selected": {
            "type": "boolean"
          },
          "manifest_list": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "parent_snapshot_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "schema_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "sequence_number": {
            "type": "string"
          },
          "snapshot_id": {
            "type": "string"
          },
          "summary": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "timestamp_ms": {
            "type": "integer"
          }
        },
        "required": [
          "snapshot_id",
          "parent_snapshot_id",
          "sequence_number",
          "timestamp_ms",
          "operation",
          "schema_id",
          "manifest_list",
          "summary",
          "is_current",
          "is_selected"
        ],
        "type": "object"
      },
      "data_connectors_core_src_models_inspection_rs_TableSnapshotHistory": {
        "properties": {
          "is_current_ancestor": {
            "type": "boolean"
          },
          "made_current_at_ms": {
            "type": "integer"
          },
          "snapshot_available": {
            "type": "boolean"
          },
          "snapshot_id": {
            "type": "string"
          }
        },
        "required": [
          "snapshot_id",
          "made_current_at_ms",
          "snapshot_available",
          "is_current_ancestor"
        ],
        "type": "object"
      },
      "frontend_gateway_src_models_rs_OperationStatusResponse": {
        "properties": {
          "binding": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/frontend_session_src_models_rs_OperationBinding"
              },
              {
                "type": "null"
              }
            ]
          },
          "completed_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ],
            "description": "When Session saved completion, not the engine task's execution end time."
          },
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "failure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "operation_id": {
            "format": "uuid",
            "type": "string"
          },
          "session_id": {
            "format": "uuid",
            "type": "string"
          },
          "sql": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/frontend_session_src_models_rs_OperationStatus"
          },
          "task": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskStatusResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "updated_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
              },
              {
                "type": "null"
              }
            ]
          },
          "xray": {
            "type": "boolean"
          }
        },
        "required": [
          "xray",
          "session_id",
          "operation_id",
          "status",
          "workload_id",
          "binding",
          "task",
          "failure",
          "sql",
          "created_at",
          "updated_at",
          "completed_at"
        ],
        "type": "object"
      },
      "frontend_gateway_src_models_rs_ResultMetadataResponse": {
        "properties": {
          "batch_count": {
            "minimum": 0,
            "type": "integer"
          },
          "bytes": {
            "minimum": 0,
            "type": "integer"
          },
          "format": {
            "type": "string"
          },
          "query_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_query_profile_rs_QueryProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "rows": {
            "minimum": 0,
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "query_profile",
          "format",
          "rows",
          "bytes",
          "batch_count",
          "truncated"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_AuditEvent": {
        "properties": {
          "action": {
            "type": "string"
          },
          "actor": {
            "description": "Serialized UserId; provider-specific fields retain their original JSON representation.",
            "x-rust-type": "UserId"
          },
          "actor_kind": {
            "type": "string"
          },
          "changed_fields": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "event_id": {
            "format": "uuid",
            "type": "string"
          },
          "occurred_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "outcome": {
            "type": "string"
          },
          "related_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_RequestId"
          },
          "resource": {
            "type": "string"
          }
        },
        "required": [
          "changed_fields",
          "event_id",
          "request_id",
          "actor",
          "actor_kind",
          "action",
          "resource",
          "outcome",
          "occurred_at",
          "related_id"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_AuditListResponse": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/frontend_session_src_models_rs_AuditEvent"
            },
            "type": "array"
          }
        },
        "required": [
          "events",
          "continuation_token"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_GlobalOperationListResponse": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "operations": {
            "items": {
              "$ref": "#/components/schemas/frontend_session_src_models_rs_OperationSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "operations",
          "continuation_token"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_OperationBinding": {
        "properties": {
          "task_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "workload_id",
          "workload_run_id",
          "task_run_id"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_OperationListResponse": {
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "operations": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "operations",
          "continuation"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_OperationStatus": {
        "oneOf": [
          {
            "const": "Cancelling",
            "type": "string"
          },
          {
            "const": "Cancelled",
            "type": "string"
          },
          {
            "const": "Prepared",
            "type": "string"
          },
          {
            "const": "Accepted",
            "type": "string"
          },
          {
            "const": "Running",
            "type": "string"
          },
          {
            "const": "Succeeded",
            "type": "string"
          },
          {
            "const": "Failed",
            "type": "string"
          }
        ]
      },
      "frontend_session_src_models_rs_OperationSummary": {
        "properties": {
          "binding": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/frontend_session_src_models_rs_OperationBinding"
              },
              {
                "type": "null"
              }
            ]
          },
          "completed_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "operation_id": {
            "format": "uuid",
            "type": "string"
          },
          "server_session_id": {
            "format": "uuid",
            "type": "string"
          },
          "session_id": {
            "format": "uuid",
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "sql": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/frontend_session_src_models_rs_OperationStatus",
            "description": "The last state durably recorded by Session. Read operation status for live engine state."
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "workload_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "source",
          "session_id",
          "server_session_id",
          "operation_id",
          "status",
          "sql",
          "created_at",
          "updated_at",
          "completed_at",
          "workload_id",
          "binding"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_SessionListResponse": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sessions": {
            "items": {
              "$ref": "#/components/schemas/frontend_session_src_models_rs_SessionSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "sessions",
          "continuation_token"
        ],
        "type": "object"
      },
      "frontend_session_src_models_rs_SessionSummary": {
        "properties": {
          "active_operations": {
            "minimum": 0,
            "type": "integer"
          },
          "closed": {
            "type": "boolean"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "server_session_id": {
            "format": "uuid",
            "type": "string"
          },
          "session_id": {
            "format": "uuid",
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_QuerySettings"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "session_id",
          "server_session_id",
          "settings",
          "active_operations",
          "closed",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "kernel_controller_src_admission_mod_rs_AdmissionStatus": {
        "properties": {
          "draining": {
            "type": "boolean"
          },
          "limit": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "unfinished_tasks": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "draining",
          "unfinished_tasks",
          "limit"
        ],
        "type": "object"
      },
      "kernel_controller_src_attempts_model_rs_AttemptStatusResponse": {
        "properties": {
          "allocation_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_AllocationId"
              },
              {
                "type": "null"
              }
            ]
          },
          "attempt_number": {
            "minimum": 1,
            "type": "integer"
          },
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_execution_mod_rs_ResolvedExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "failure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "started_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunStatus"
          },
          "task_attempt_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
          },
          "task_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
          },
          "worker_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerId"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "allocation_id",
          "worker_id",
          "created_at",
          "started_at",
          "finished_at",
          "workload_id",
          "task_attempt_id",
          "task_run_id",
          "workload_run_id",
          "attempt_number",
          "status",
          "failure"
        ],
        "type": "object"
      },
      "kernel_controller_src_attempts_model_rs_IncrementalTaskProgress": {
        "properties": {
          "commit_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_CommitId"
          },
          "end": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TableDataVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "start": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TableDataVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "table_identity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "table_identity",
          "start",
          "end",
          "commit_id"
        ],
        "type": "object"
      },
      "kernel_controller_src_attempts_model_rs_TaskAttemptListResponse": {
        "properties": {
          "attempts": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_AttemptStatusResponse"
          },
          "task_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "workload_id",
          "workload_run_id",
          "task_run_id",
          "attempts"
        ],
        "type": "object"
      },
      "kernel_controller_src_attempts_model_rs_TaskRunListResponse": {
        "properties": {
          "tasks": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_TaskStatusResponse"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "workload_id",
          "workload_run_id",
          "tasks"
        ],
        "type": "object"
      },
      "kernel_controller_src_attempts_model_rs_TaskRunStatus": {
        "oneOf": [
          {
            "const": "Cancelling",
            "type": "string"
          },
          {
            "const": "Cancelled",
            "type": "string"
          },
          {
            "const": "Pending",
            "type": "string"
          },
          {
            "const": "Planning",
            "type": "string"
          },
          {
            "const": "Queued",
            "type": "string"
          },
          {
            "const": "Provisioning",
            "type": "string"
          },
          {
            "const": "WaitingWorker",
            "type": "string"
          },
          {
            "const": "Running",
            "type": "string"
          },
          {
            "const": "Committing",
            "type": "string"
          },
          {
            "const": "WaitingRetry",
            "type": "string"
          },
          {
            "const": "Succeeded",
            "type": "string"
          },
          {
            "const": "Failed",
            "type": "string"
          },
          {
            "const": "Skipped",
            "type": "string"
          },
          {
            "const": "OutcomeUnknown",
            "type": "string"
          }
        ]
      },
      "kernel_controller_src_attempts_model_rs_TaskStatusPhase": {
        "properties": {
          "attempt_number": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "started_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunStatus"
          },
          "task_attempt_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "status",
          "started_at",
          "finished_at",
          "task_attempt_id",
          "attempt_number"
        ],
        "type": "object"
      },
      "kernel_controller_src_attempts_model_rs_TaskStatusResponse": {
        "properties": {
          "active_attempt_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
              },
              {
                "type": "null"
              }
            ]
          },
          "cleanup_complete": {
            "type": "boolean"
          },
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_execution_mod_rs_ResolvedExecution"
              },
              {
                "type": "null"
              }
            ]
          },
          "failure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "incremental": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_IncrementalTaskProgress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Saved source boundaries, without connector access or catalog payloads."
          },
          "name": {
            "type": "string"
          },
          "phase_history": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskStatusPhase"
            },
            "type": "array"
          },
          "phase_history_complete": {
            "type": "boolean"
          },
          "profiling_available": {
            "type": "boolean"
          },
          "queue": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/kernel_controller_src_queue_model_rs_QueuedAttempt"
              },
              {
                "type": "null"
              }
            ]
          },
          "started_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunStatus"
          },
          "task_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
          },
          "workflow": {
            "$ref": "#/components/schemas/kernel_controller_src_workflow_mod_rs_TaskWorkflowState"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          },
          "write_summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskWriteSummary"
              },
              {
                "type": "null"
              }
            ],
            "description": "Present only when Controller has durably confirmed commit."
          }
        },
        "required": [
          "profiling_available",
          "workflow",
          "queue",
          "cleanup_complete",
          "created_at",
          "started_at",
          "finished_at",
          "phase_history",
          "phase_history_complete",
          "workload_id",
          "task_run_id",
          "workload_run_id",
          "name",
          "status",
          "active_attempt_id",
          "failure",
          "write_summary"
        ],
        "type": "object"
      },
      "kernel_controller_src_pools_settings_rs_DeploymentProfileSettings": {
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "paused": {
            "type": "boolean"
          },
          "provisioner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "resources": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "sizing": {
            "$ref": "#/components/schemas/shared_common_src_execution_pools_rs_DeploymentPoolSizing"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "name",
          "provisioner",
          "revision",
          "sizing",
          "resources",
          "updated_at",
          "paused",
          "deleted"
        ],
        "type": "object"
      },
      "kernel_controller_src_pools_status_rs_ComputeStatus": {
        "properties": {
          "admission": {
            "$ref": "#/components/schemas/kernel_controller_src_admission_mod_rs_AdmissionStatus"
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_pools_status_rs_PoolStatus"
            },
            "type": "array"
          }
        },
        "required": [
          "admission",
          "profiles"
        ],
        "type": "object"
      },
      "kernel_controller_src_pools_status_rs_PoolFailure": {
        "properties": {
          "allocation_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_AllocationId"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "retry_allowed": {
            "type": "boolean"
          }
        },
        "required": [
          "allocation_id",
          "message",
          "retry_allowed"
        ],
        "type": "object"
      },
      "kernel_controller_src_pools_status_rs_PoolStatus": {
        "properties": {
          "busy": {
            "minimum": 0,
            "type": "integer"
          },
          "draining": {
            "minimum": 0,
            "type": "integer"
          },
          "failures": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_pools_status_rs_PoolFailure"
            },
            "type": "array"
          },
          "idle": {
            "minimum": 0,
            "type": "integer"
          },
          "is_default": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "paused": {
            "type": "boolean"
          },
          "previous_resources_workers": {
            "minimum": 0,
            "type": "integer"
          },
          "provisioner": {
            "type": "string"
          },
          "queued": {
            "minimum": 0,
            "type": "integer"
          },
          "recovering": {
            "minimum": 0,
            "type": "integer"
          },
          "resources": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "sizing": {
            "$ref": "#/components/schemas/shared_common_src_execution_pools_rs_DeploymentPoolSizing"
          },
          "starting": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "revision",
          "provisioner",
          "resources",
          "previous_resources_workers",
          "sizing",
          "queued",
          "busy",
          "idle",
          "starting",
          "recovering",
          "draining",
          "failures",
          "paused",
          "is_default"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_AttemptProfile": {
        "properties": {
          "allocation_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_AllocationId"
              },
              {
                "type": "null"
              }
            ]
          },
          "missing": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "number": {
            "minimum": 0,
            "type": "integer"
          },
          "pipeline": {
            "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_PipelineSummary"
          },
          "profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_profiling_rs_ExecutionProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "profile_storage_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunStatus"
          },
          "task_attempt_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
          },
          "worker_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "profile_storage_nanos",
          "pipeline",
          "task_attempt_id",
          "number",
          "status",
          "allocation_id",
          "worker_id",
          "profile",
          "missing"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_ComparisonValues": {
        "properties": {
          "cpu_core_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "executor_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "native_sql_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "rss_peak_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "task_execution_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "wall_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "wall_nanos",
          "executor_nanos",
          "native_sql_nanos",
          "task_execution_nanos",
          "cpu_core_seconds",
          "rss_peak_bytes"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_PhaseTiming": {
        "properties": {
          "duration_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "duration_nanos"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_PipelineSummary": {
        "properties": {
          "decode_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "decode_queue_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "encode_upload_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "first_batch_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "flush_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_arrow_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_rows": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_wait_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "native_peak_memory_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "native_peak_spill_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_arrow_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_file_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_file_max_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_file_min_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_files": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_rows": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "output_wait_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "rows_per_second": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "storage_read_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "storage_read_bytes_per_second": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "storage_written_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "input_rows",
          "input_arrow_bytes",
          "output_rows",
          "output_arrow_bytes",
          "storage_read_bytes",
          "storage_written_bytes",
          "output_files",
          "output_file_bytes",
          "output_file_min_bytes",
          "output_file_max_bytes",
          "rows_per_second",
          "storage_read_bytes_per_second",
          "input_wait_nanos",
          "output_wait_nanos",
          "first_batch_nanos",
          "decode_nanos",
          "decode_queue_nanos",
          "encode_upload_nanos",
          "flush_nanos",
          "native_peak_memory_bytes",
          "native_peak_spill_bytes"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_ProfileComparison": {
        "properties": {
          "baseline": {
            "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_ComparisonValues"
          },
          "compatible": {
            "type": "boolean"
          },
          "current": {
            "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_ComparisonValues"
          },
          "ratios": {
            "additionalProperties": {
              "type": "number"
            },
            "type": "object"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "compatible",
          "reasons",
          "current",
          "baseline",
          "ratios"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_ProfileEvidenceResponse": {
        "properties": {
          "identity_sha256": {
            "type": "string"
          }
        },
        "required": [
          "identity_sha256"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_ProfileIdentity": {
        "properties": {
          "case_sha256": {
            "type": "string"
          },
          "compute_sha256": {
            "type": "string"
          },
          "input_sha256": {
            "type": "string"
          },
          "profiling": {
            "type": "boolean"
          }
        },
        "required": [
          "case_sha256",
          "input_sha256",
          "compute_sha256",
          "profiling"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_ProfileTimings": {
        "properties": {
          "controller_profile_storage_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_TaskTimings"
            },
            "type": "array"
          },
          "wall_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "wall_nanos",
          "controller_profile_storage_nanos",
          "tasks"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_RunProfileReport": {
        "properties": {
          "controller": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_profiling_rs_ExecutionProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "critical_path": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
            },
            "type": "array"
          },
          "details_sampled": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "evidence": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_profiling_rs_RunProfileEvidence"
              },
              {
                "type": "null"
              }
            ]
          },
          "identity": {
            "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_ProfileIdentity"
          },
          "missing": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "run": {
            "$ref": "#/components/schemas/kernel_controller_src_runs_model_rs_WorkloadRunStatusResponse"
          },
          "state": {
            "type": "string"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_TaskProfile"
            },
            "type": "array"
          },
          "timings": {
            "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_ProfileTimings"
          },
          "truncated": {
            "type": "boolean"
          },
          "version": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "identity",
          "evidence",
          "timings",
          "details_sampled",
          "version",
          "enabled",
          "state",
          "run",
          "controller",
          "tasks",
          "critical_path",
          "missing",
          "truncated"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_TaskProfile": {
        "properties": {
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_AttemptProfile"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "task_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
          }
        },
        "required": [
          "task_run_id",
          "name",
          "attempts"
        ],
        "type": "object"
      },
      "kernel_controller_src_profiling_model_rs_TaskTimings": {
        "properties": {
          "executor_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "native_sql_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "phase_history_complete": {
            "type": "boolean"
          },
          "phases": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_PhaseTiming"
            },
            "type": "array"
          },
          "profile_storage_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "running_outside_executor_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "task_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
          },
          "wall_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "task_run_id",
          "wall_nanos",
          "phase_history_complete",
          "phases",
          "executor_nanos",
          "profile_storage_nanos",
          "running_outside_executor_nanos",
          "native_sql_nanos"
        ],
        "type": "object"
      },
      "kernel_controller_src_queue_model_rs_QueuedAttempt": {
        "properties": {
          "deadline": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "entered_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "reason": {
            "type": "string"
          },
          "task_attempt_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
          }
        },
        "required": [
          "task_attempt_id",
          "entered_at",
          "deadline",
          "reason"
        ],
        "type": "object"
      },
      "kernel_controller_src_runs_model_rs_WorkloadRunCancelResponse": {
        "properties": {
          "accepted": {
            "type": "boolean"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "workload_id",
          "workload_run_id",
          "accepted"
        ],
        "type": "object"
      },
      "kernel_controller_src_runs_model_rs_WorkloadRunStatus": {
        "oneOf": [
          {
            "const": "Cancelling",
            "type": "string"
          },
          {
            "const": "Cancelled",
            "type": "string"
          },
          {
            "const": "Pending",
            "type": "string"
          },
          {
            "const": "Skipped",
            "type": "string"
          },
          {
            "const": "Running",
            "type": "string"
          },
          {
            "const": "Succeeded",
            "type": "string"
          },
          {
            "const": "Failed",
            "type": "string"
          },
          {
            "const": "OutcomeUnknown",
            "type": "string"
          }
        ]
      },
      "kernel_controller_src_runs_model_rs_WorkloadRunStatusResponse": {
        "properties": {
          "admission_rejection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "invocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_parameters_rs_RunInvocation"
              },
              {
                "type": "null"
              }
            ]
          },
          "occurrence_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_OccurrenceId"
          },
          "profiling_available": {
            "type": "boolean"
          },
          "started_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_runs_model_rs_WorkloadRunStatus"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskStatusResponse"
            },
            "type": "array"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "profiling_available",
          "admission_rejection",
          "created_at",
          "started_at",
          "finished_at",
          "workload_id",
          "workload_run_id",
          "occurrence_id",
          "status",
          "tasks"
        ],
        "type": "object"
      },
      "kernel_controller_src_streaming_model_rs_StreamingStatus": {
        "oneOf": [
          {
            "const": "Running",
            "type": "string"
          },
          {
            "const": "Stopping",
            "type": "string"
          },
          {
            "const": "Stopped",
            "type": "string"
          },
          {
            "const": "Failed",
            "type": "string"
          }
        ]
      },
      "kernel_controller_src_workers_inventory_rs_WorkerDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/kernel_controller_src_workers_inventory_rs_WorkerRecord"
          },
          {
            "properties": {
              "allocation": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/kernel_provisioner_core_src_models_rs_AllocationDetails"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "connected": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata_available": {
                "type": "boolean"
              }
            },
            "required": [
              "connected",
              "allocation",
              "metadata_available"
            ],
            "type": "object"
          }
        ]
      },
      "kernel_controller_src_workers_inventory_rs_WorkerRecord": {
        "properties": {
          "allocation_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_AllocationId"
          },
          "allocation_status": {
            "$ref": "#/components/schemas/kernel_provisioner_core_src_models_rs_AllocationStatus"
          },
          "compute_requirements": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
          },
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "current_task": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/kernel_controller_src_workers_inventory_rs_WorkerTaskRecord"
              },
              {
                "type": "null"
              }
            ]
          },
          "deployment_profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_target": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ExecutionTarget"
          },
          "last_seen_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "ready": {
            "type": "boolean"
          },
          "ready_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "registered_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "released_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "required_features": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "state": {
            "type": "string"
          },
          "supported_features": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "task_count": {
            "minimum": 0,
            "type": "integer"
          },
          "worker_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerId"
              },
              {
                "type": "null"
              }
            ]
          },
          "worker_scope": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerScope"
          },
          "workload_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "allocation_id",
          "worker_id",
          "workload_id",
          "workload_run_id",
          "deployment_profile",
          "worker_scope",
          "execution_target",
          "compute_requirements",
          "required_features",
          "supported_features",
          "allocation_status",
          "state",
          "created_at",
          "registered_at",
          "ready_at",
          "ready",
          "last_seen_at",
          "released_at",
          "task_count",
          "current_task"
        ],
        "type": "object"
      },
      "kernel_controller_src_workers_inventory_rs_WorkerTaskRecord": {
        "properties": {
          "assignment_id": {
            "description": "Serialized AssignmentId; provider-specific fields retain their original JSON representation.",
            "x-rust-type": "AssignmentId"
          },
          "attempt_number": {
            "minimum": 1,
            "type": "integer"
          },
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "failure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "started_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunStatus"
          },
          "task_attempt_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
          },
          "task_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
          },
          "worker_status": {
            "anyOf": [
              {
                "description": "Serialized TaskExecutionStatus; provider-specific fields retain their original JSON representation.",
                "x-rust-type": "TaskExecutionStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "workload_id",
          "workload_run_id",
          "task_run_id",
          "task_attempt_id",
          "assignment_id",
          "name",
          "attempt_number",
          "status",
          "worker_status",
          "created_at",
          "started_at",
          "finished_at",
          "failure"
        ],
        "type": "object"
      },
      "kernel_controller_src_workflow_mod_rs_TaskWorkflowState": {
        "properties": {
          "reused_from": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "wait": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/kernel_sensors_src_lib_rs_WaitState"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [],
        "type": "object"
      },
      "kernel_driver_src_models_rs_WorkloadDeleteResponse": {
        "properties": {
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          }
        },
        "required": [
          "workload_id"
        ],
        "type": "object"
      },
      "kernel_driver_src_models_rs_WorkloadSubmissionResponse": {
        "properties": {
          "submission_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_SubmissionId"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          }
        },
        "required": [
          "submission_id",
          "workload_id"
        ],
        "type": "object"
      },
      "kernel_provisioner_core_src_models_rs_AllocationDetails": {
        "properties": {
          "allocation_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_AllocationId"
          },
          "compute_requirements": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
          },
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "failure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "launch_started_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "lifecycle": {
            "items": {
              "$ref": "#/components/schemas/kernel_provisioner_core_src_models_rs_AllocationLifecycleEvent"
            },
            "type": "array"
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "type": "string"
          },
          "provider_resource_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provisioner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "release_requested_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "resource_metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "startup": {
            "$ref": "#/components/schemas/kernel_provisioner_core_src_startup_rs_StartupProgress"
          },
          "startup_window": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_execution_startup_rs_WorkerStartupWindow"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_provisioner_core_src_models_rs_AllocationStatus"
          },
          "updated_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          }
        },
        "required": [
          "startup",
          "startup_window",
          "provisioner",
          "profile",
          "allocation_id",
          "provider",
          "provider_resource_id",
          "resource_metadata",
          "compute_requirements",
          "status",
          "failure",
          "created_at",
          "updated_at",
          "launch_started_at",
          "release_requested_at",
          "lifecycle"
        ],
        "type": "object"
      },
      "kernel_provisioner_core_src_models_rs_AllocationLifecycleEvent": {
        "properties": {
          "at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "failure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_provisioner_core_src_models_rs_AllocationStatus"
          }
        },
        "required": [
          "status",
          "at",
          "failure"
        ],
        "type": "object"
      },
      "kernel_provisioner_core_src_models_rs_AllocationStatus": {
        "oneOf": [
          {
            "const": "Requested",
            "type": "string"
          },
          {
            "const": "Provisioning",
            "type": "string"
          },
          {
            "const": "Provisioned",
            "type": "string"
          },
          {
            "const": "Failed",
            "type": "string"
          },
          {
            "const": "ReleaseRequested",
            "type": "string"
          },
          {
            "const": "Releasing",
            "type": "string"
          },
          {
            "const": "Released",
            "type": "string"
          },
          {
            "const": "OutcomeUnknown",
            "type": "string"
          }
        ]
      },
      "kernel_provisioner_core_src_startup_rs_StartupProgress": {
        "properties": {
          "attempts": {
            "minimum": 0,
            "type": "integer"
          },
          "exhausted": {
            "type": "boolean"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "retry_at_millis": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "attempts",
          "retry_at_millis",
          "last_error",
          "exhausted"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_backfills_model_rs_BackfillRecord": {
        "properties": {
          "created_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "deliveries": {
            "items": {
              "$ref": "#/components/schemas/app_notifications_src_lib_rs_Delivery"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "request": {
            "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillRequest"
          },
          "snapshot": {
            "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadRecord",
            "description": "Pin the definition, effective options, revision, and schedule at acceptance."
          },
          "status": {
            "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillStatus"
          },
          "updated_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "version": {
            "minimum": 0,
            "type": "integer"
          },
          "windows": {
            "items": {
              "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillWindow"
            },
            "type": "array"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          }
        },
        "required": [
          "deliveries",
          "id",
          "workload_id",
          "request",
          "status",
          "last_error",
          "version",
          "created_at",
          "updated_at",
          "windows",
          "snapshot"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_backfills_model_rs_BackfillRequest": {
        "properties": {
          "expected_revision": {
            "minimum": 0,
            "type": "integer"
          },
          "from_unix_millis": {
            "type": "integer"
          },
          "max_active_runs": {
            "minimum": 0,
            "type": "integer"
          },
          "parameters": {
            "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterValues"
          },
          "reprocess": {
            "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_Reprocess"
          },
          "run_backwards": {
            "type": "boolean"
          },
          "submission_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_SubmissionId"
          },
          "to_unix_millis": {
            "type": "integer"
          }
        },
        "required": [
          "submission_id",
          "from_unix_millis",
          "to_unix_millis",
          "expected_revision",
          "parameters",
          "reprocess",
          "max_active_runs",
          "run_backwards"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_backfills_model_rs_BackfillStatus": {
        "oneOf": [
          {
            "const": "running",
            "type": "string"
          },
          {
            "const": "paused",
            "type": "string"
          },
          {
            "const": "cancelled",
            "type": "string"
          },
          {
            "const": "succeeded",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          }
        ]
      },
      "kernel_scheduler_src_backfills_model_rs_BackfillWindow": {
        "properties": {
          "occurrence_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_OccurrenceId"
          },
          "previous_occurrence_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_OccurrenceId"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          },
          "status": {
            "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_WindowStatus"
          },
          "submission_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_SubmissionId"
          },
          "window": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_DataWindow"
          }
        },
        "required": [
          "window",
          "previous_occurrence_id",
          "status",
          "reason",
          "occurrence_id",
          "run_id",
          "submission_id"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_backfills_model_rs_Reprocess": {
        "oneOf": [
          {
            "const": "missing",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "all",
            "type": "string"
          }
        ]
      },
      "kernel_scheduler_src_backfills_model_rs_WindowStatus": {
        "oneOf": [
          {
            "const": "pending",
            "type": "string"
          },
          {
            "const": "submitted",
            "type": "string"
          },
          {
            "const": "existing",
            "type": "string"
          },
          {
            "const": "succeeded",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "cancelled",
            "type": "string"
          }
        ]
      },
      "kernel_scheduler_src_runs_model_rs_RunSummary": {
        "properties": {
          "admission_rejection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "failed_task_count": {
            "minimum": 0,
            "type": "integer"
          },
          "finished_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "occurrence_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_OccurrenceId"
          },
          "scheduled_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "started_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_runs_model_rs_WorkloadRunStatus"
          },
          "task_count": {
            "minimum": 0,
            "type": "integer"
          },
          "task_status_counts": {
            "additionalProperties": {
              "minimum": 0,
              "type": "integer"
            },
            "type": "object"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_kind": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadKind"
          },
          "workload_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "admission_rejection",
          "workload_kind",
          "task_status_counts",
          "workload_id",
          "workload_run_id",
          "occurrence_id",
          "workload_name",
          "scheduled_at",
          "status",
          "task_count",
          "failed_task_count",
          "created_at",
          "started_at",
          "finished_at"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_runs_model_rs_RunSummaryListResponse": {
        "properties": {
          "runs": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_RunSummary"
          }
        },
        "required": [
          "runs"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_runs_model_rs_WorkloadRunListResponse": {
        "properties": {
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_ids": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_WorkloadRunId"
          }
        },
        "required": [
          "workload_id",
          "workload_run_ids"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_runs_model_rs_WorkloadRunStartResponse": {
        "properties": {
          "submission_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_SubmissionId"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          },
          "workload_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "workload_id",
          "workload_run_id",
          "submission_id"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy": {
        "oneOf": [
          {
            "const": "Manual",
            "type": "string"
          },
          {
            "const": "Immediately",
            "type": "string"
          },
          {
            "properties": {
              "At": {
                "properties": {
                  "at": {
                    "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
                  }
                },
                "required": [
                  "at"
                ],
                "type": "object"
              }
            },
            "required": [
              "At"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Interval": {
                "properties": {
                  "every": {
                    "properties": {
                      "nanos": {
                        "maximum": 999999999,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "secs": {
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "secs",
                      "nanos"
                    ],
                    "type": "object"
                  },
                  "start_at": {
                    "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
                  }
                },
                "required": [
                  "start_at",
                  "every"
                ],
                "type": "object"
              }
            },
            "required": [
              "Interval"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Cron": {
                "properties": {
                  "expression": {
                    "type": "string"
                  },
                  "timezone": {
                    "type": "string"
                  }
                },
                "required": [
                  "expression",
                  "timezone"
                ],
                "type": "object"
              }
            },
            "required": [
              "Cron"
            ],
            "type": "object"
          }
        ]
      },
      "kernel_scheduler_src_workloads_model_rs_ResolvedWorkloadSubmissionOptions": {
        "properties": {
          "compute_requirements": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
          },
          "deployment_profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_target": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ExecutionTarget"
          },
          "execution_timeout": {
            "anyOf": [
              {
                "properties": {
                  "nanos": {
                    "maximum": 999999999,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "secs": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "secs",
                  "nanos"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_attempts": {
            "minimum": 1,
            "type": "integer"
          },
          "missed_run_policy": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_MissedRunPolicy"
          },
          "overlap_policy": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_OverlapPolicy"
          },
          "parallelism": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provisioner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "queue_timeout": {
            "anyOf": [
              {
                "properties": {
                  "nanos": {
                    "maximum": 999999999,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "secs": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "secs",
                  "nanos"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "worker_scope": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerScope"
          }
        },
        "required": [
          "queue_timeout",
          "worker_scope",
          "parallelism",
          "execution_target",
          "execution_timeout",
          "compute_requirements",
          "max_attempts",
          "missed_run_policy",
          "overlap_policy"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_workloads_model_rs_ScheduleStatus": {
        "oneOf": [
          {
            "const": "Active",
            "type": "string"
          },
          {
            "const": "Paused",
            "type": "string"
          },
          {
            "const": "Completed",
            "type": "string"
          },
          {
            "const": "Cancelled",
            "type": "string"
          },
          {
            "const": "Deleted",
            "type": "string"
          }
        ]
      },
      "kernel_scheduler_src_workloads_model_rs_StreamingActivity": {
        "properties": {
          "active_batch_id": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "active_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "failure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_completed_batch_id": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_trigger_at": {
            "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
          },
          "status": {
            "$ref": "#/components/schemas/kernel_controller_src_streaming_model_rs_StreamingStatus"
          }
        },
        "required": [
          "status",
          "active_run_id",
          "active_batch_id",
          "last_completed_batch_id",
          "next_trigger_at",
          "failure"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_workloads_model_rs_WorkloadDetails": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "definition": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadDefinition"
          },
          "kind": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadKind"
          },
          "latest_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_run_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "options": {
            "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_ResolvedWorkloadSubmissionOptions"
          },
          "policy": {
            "$ref": "#/components/schemas/kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy"
          },
          "requested_options": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "scheduling_status": {
            "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_ScheduleStatus"
          },
          "streaming": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_StreamingActivity"
              },
              {
                "type": "null"
              }
            ]
          },
          "updated_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          }
        },
        "required": [
          "revision",
          "created_at",
          "updated_at",
          "next_run_at",
          "latest_run_id",
          "workload_id",
          "kind",
          "definition",
          "requested_options",
          "options",
          "policy",
          "scheduling_status"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_workloads_model_rs_WorkloadGetResponse": {
        "properties": {
          "workload": {
            "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadDetails"
          }
        },
        "required": [
          "workload"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_workloads_model_rs_WorkloadListResponse": {
        "properties": {
          "workloads": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_Page_WorkloadDetails"
          }
        },
        "required": [
          "workloads"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_workloads_model_rs_WorkloadRecord": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadScheduleRequest"
              },
              {
                "type": "null"
              }
            ]
          },
          "definition": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadDefinition"
          },
          "dispatching_occurrence_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_OccurrenceId"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadKind"
          },
          "last_workload_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "lateness_tolerance": {
            "properties": {
              "nanos": {
                "maximum": 999999999,
                "minimum": 0,
                "type": "integer"
              },
              "secs": {
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "secs",
              "nanos"
            ],
            "type": "object"
          },
          "latest_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_dispatch_sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "next_evaluation_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_occurrence_sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "options": {
            "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_ResolvedWorkloadSubmissionOptions"
          },
          "pending_due_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "pending_occurrence_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_OccurrenceId"
              },
              {
                "type": "null"
              }
            ]
          },
          "policy": {
            "$ref": "#/components/schemas/kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy"
          },
          "recording_context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_RecordingContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "requested_options": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          },
          "scheduling_status": {
            "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_ScheduleStatus"
          },
          "submission_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_SubmissionId"
          },
          "updated_at": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_time_rs_WallClockTimestamp"
              },
              {
                "type": "null"
              }
            ]
          },
          "version": {
            "minimum": 0,
            "type": "integer"
          },
          "workload_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
          }
        },
        "required": [
          "revision",
          "created_at",
          "updated_at",
          "creation",
          "kind",
          "workload_id",
          "submission_id",
          "definition",
          "requested_options",
          "options",
          "policy",
          "scheduling_status",
          "version",
          "lateness_tolerance",
          "pending_occurrence_id",
          "dispatching_occurrence_id",
          "next_dispatch_sequence",
          "last_workload_run_id",
          "latest_run_id",
          "pending_due_at",
          "next_occurrence_sequence",
          "next_evaluation_at"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_workloads_model_rs_WorkloadScheduleRequest": {
        "properties": {
          "definition": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadDefinition"
          },
          "kind": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadKind"
          },
          "options": {
            "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_ResolvedWorkloadSubmissionOptions"
          },
          "policy": {
            "$ref": "#/components/schemas/kernel_scheduler_src_scheduling_model_rs_SchedulingPolicy"
          },
          "requested_options": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadSubmissionOptions"
          },
          "submission_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_SubmissionId"
          }
        },
        "required": [
          "kind",
          "submission_id",
          "definition",
          "requested_options",
          "options",
          "policy"
        ],
        "type": "object"
      },
      "kernel_scheduler_src_workloads_model_rs_WorkloadValidationResponse": {
        "properties": {
          "task_count": {
            "minimum": 0,
            "type": "integer"
          },
          "valid": {
            "type": "boolean"
          },
          "validation": {
            "type": "string"
          }
        },
        "required": [
          "valid",
          "validation",
          "task_count"
        ],
        "type": "object"
      },
      "kernel_sensors_src_lib_rs_WaitState": {
        "properties": {
          "checks": {
            "minimum": 0,
            "type": "integer"
          },
          "deadline_unix_millis": {
            "type": "integer"
          },
          "last_observation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "next_check_unix_millis": {
            "type": "integer"
          },
          "satisfied": {
            "type": "boolean"
          },
          "started_at_unix_millis": {
            "type": "integer"
          }
        },
        "required": [
          "started_at_unix_millis",
          "deadline_unix_millis",
          "next_check_unix_millis",
          "checks",
          "last_observation",
          "satisfied"
        ],
        "type": "object"
      },
      "shared_common_src_compute_rs_ComputeTuning": {
        "properties": {
          "batch_rows": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "file_read_concurrency": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "input_prefetch_batches": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "native_parquet_scan": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "False always uses connector-produced Arrow batches. Omitted keeps the native Parquet capability enabled when the source can supply it safely."
          },
          "output_buffer_batches": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "query_memory_bytes": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "spill_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Zero disables disk spill. The directory is controlled by the deployment."
          },
          "threads": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "write_batch_rows": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "write_parallelism": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "threads",
          "query_memory_bytes",
          "batch_rows",
          "write_batch_rows",
          "write_parallelism",
          "spill_bytes",
          "output_buffer_batches",
          "file_read_concurrency",
          "input_prefetch_batches"
        ],
        "type": "object"
      },
      "shared_common_src_execution_mod_rs_ExecutionOptions": {
        "properties": {
          "compute_requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
              },
              {
                "type": "null"
              }
            ]
          },
          "deployment_profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provisioner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "worker_scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "xray": {
            "type": "boolean"
          }
        },
        "required": [],
        "type": "object"
      },
      "shared_common_src_execution_mod_rs_ResolvedExecution": {
        "properties": {
          "compute_requirements": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
          },
          "deployment_profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provisioner": {
            "type": "string"
          },
          "provisioner_fingerprint": {
            "type": "string"
          },
          "worker_scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerScope"
              },
              {
                "type": "null"
              }
            ],
            "description": "Older records inherit the scope stored on their workload run."
          }
        },
        "required": [
          "provisioner",
          "provisioner_fingerprint",
          "profile",
          "compute_requirements"
        ],
        "type": "object"
      },
      "shared_common_src_execution_pools_rs_DeploymentPoolSizing": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "mode": {
                    "const": "fixed"
                  }
                },
                "required": [
                  "mode"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "workers": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "workers"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "mode": {
                    "const": "autoscaling"
                  }
                },
                "required": [
                  "mode"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "idle_timeout_seconds": {
                    "minimum": 1,
                    "type": "integer"
                  },
                  "max_workers": {
                    "minimum": 1,
                    "type": "integer"
                  },
                  "min_workers": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "min_workers",
                  "max_workers",
                  "idle_timeout_seconds"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "shared_common_src_execution_startup_rs_WorkerStartupPolicy": {
        "properties": {
          "max_attempts": {
            "minimum": 1,
            "type": "integer"
          },
          "retry_delay_seconds": {
            "minimum": 1,
            "type": "integer"
          },
          "retry_multiplier": {
            "minimum": 1,
            "type": "integer"
          },
          "timeout_seconds": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "max_attempts",
          "retry_delay_seconds",
          "retry_multiplier",
          "timeout_seconds"
        ],
        "type": "object"
      },
      "shared_common_src_execution_startup_rs_WorkerStartupWindow": {
        "properties": {
          "deadline_millis": {
            "type": "integer"
          },
          "policy": {
            "$ref": "#/components/schemas/shared_common_src_execution_startup_rs_WorkerStartupPolicy"
          },
          "started_at_millis": {
            "type": "integer"
          }
        },
        "required": [
          "policy",
          "started_at_millis",
          "deadline_millis"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_AllocationId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_CatalogId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_Checkpoint": {
        "properties": {
          "id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_CheckpointId"
          },
          "sequence": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "sequence"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_CheckpointId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_CommitId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_CommitReceipt": {
        "properties": {
          "boundary": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WriteBoundary"
          },
          "commit": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_DestinationCommitReceipt"
          },
          "commit_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_CommitId"
          },
          "plan_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ConnectorPlanId"
          },
          "target": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WriteTarget"
          }
        },
        "required": [
          "plan_id",
          "commit_id",
          "target",
          "boundary",
          "commit"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_ComputeRequirements": {
        "properties": {
          "cpu_millicores": {
            "minimum": 1,
            "type": "integer"
          },
          "memory_bytes": {
            "minimum": 1,
            "type": "integer"
          },
          "tuning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_compute_rs_ComputeTuning"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "cpu_millicores",
          "memory_bytes"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_ConnectorPlanId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_DestinationCommitReceipt": {
        "oneOf": [
          {
            "properties": {
              "Table": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TableCommitReceipt"
              }
            },
            "required": [
              "Table"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Direct": {
                "properties": {
                  "receipt": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_DurablePayload"
                  },
                  "version": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "None means the destination does not expose a committed version."
                  }
                },
                "required": [
                  "receipt",
                  "version"
                ],
                "type": "object"
              }
            },
            "required": [
              "Direct"
            ],
            "type": "object"
          }
        ]
      },
      "shared_common_src_lib_rs_DirectResourceReference": {
        "properties": {
          "configuration_revision": {
            "type": "string"
          },
          "connector": {
            "type": "string"
          },
          "identity": {
            "type": "string"
          },
          "resource": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_EncodedPayload"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "None is unversioned and does not promise repeatable reads."
          }
        },
        "required": [
          "connector",
          "resource",
          "identity",
          "configuration_revision",
          "version",
          "state"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_DurablePayload": {
        "oneOf": [
          {
            "properties": {
              "Inline": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_EncodedPayload"
              }
            },
            "required": [
              "Inline"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Stored": {
                "properties": {
                  "codec": {
                    "type": "string"
                  },
                  "object": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_ResultObject"
                  },
                  "version": {
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "object",
                  "codec",
                  "version"
                ],
                "type": "object"
              }
            },
            "required": [
              "Stored"
            ],
            "type": "object"
          }
        ]
      },
      "shared_common_src_lib_rs_EncodedPayload": {
        "properties": {
          "codec": {
            "type": "string"
          },
          "payload": {
            "items": {
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "version": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "codec",
          "version",
          "payload"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_ExecutionTarget": {
        "oneOf": [
          {
            "const": "DataFusion",
            "type": "string"
          },
          {
            "const": "DuckDb",
            "type": "string"
          }
        ]
      },
      "shared_common_src_lib_rs_IncrementalSource": {
        "properties": {
          "branch": {
            "type": "string"
          },
          "table": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TableReference"
          }
        },
        "required": [
          "table",
          "branch"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_MissedRunPolicy": {
        "oneOf": [
          {
            "const": "RunOnce",
            "type": "string"
          },
          {
            "const": "RunAll",
            "type": "string"
          },
          {
            "const": "Skip",
            "type": "string"
          }
        ]
      },
      "shared_common_src_lib_rs_OccurrenceId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_OverlapPolicy": {
        "oneOf": [
          {
            "const": "Wait",
            "type": "string"
          },
          {
            "const": "Skip",
            "type": "string"
          },
          {
            "const": "Allow",
            "type": "string"
          }
        ]
      },
      "shared_common_src_lib_rs_Page_AttemptStatusResponse": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_AttemptStatusResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_DocumentSummary": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_NamespaceReference": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_NamespaceReference"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_RelationSummary": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_RelationSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_RunSummary": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/kernel_scheduler_src_runs_model_rs_RunSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_TableFile": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/data_connectors_core_src_models_inspection_rs_TableFile"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_TableSnapshot": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/data_connectors_core_src_models_inspection_rs_TableSnapshot"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_TableSnapshotHistory": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/data_connectors_core_src_models_inspection_rs_TableSnapshotHistory"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_TaskStatusResponse": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskStatusResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_WorkloadDetails": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadDetails"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_Page_WorkloadRunId": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
            },
            "type": "array"
          }
        },
        "required": [
          "items",
          "continuation_token"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_QuerySettings": {
        "properties": {
          "ansi_enabled": {
            "type": "boolean"
          },
          "case_sensitive": {
            "type": "boolean"
          },
          "current_catalog": {
            "type": "string"
          },
          "namespace": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "time_zone": {
            "type": "string"
          }
        },
        "required": [
          "current_catalog",
          "namespace",
          "time_zone",
          "case_sensitive",
          "ansi_enabled"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_RequestId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_ResolvedTableReference": {
        "properties": {
          "catalog_revision": {
            "type": "string"
          },
          "catalog_state": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_EncodedPayload"
          },
          "data_version": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TableDataVersion"
          },
          "metadata_revision": {
            "type": "string"
          },
          "table": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TableReference"
          },
          "table_identity": {
            "type": "string"
          }
        },
        "required": [
          "table",
          "catalog_revision",
          "table_identity",
          "metadata_revision",
          "data_version",
          "catalog_state"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_ResultObject": {
        "properties": {
          "bytes": {
            "minimum": 0,
            "type": "integer"
          },
          "key": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "version",
          "bytes"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_StagedTableReference": {
        "properties": {
          "stage_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TableStageId"
          },
          "table": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ResolvedTableReference"
          }
        },
        "required": [
          "stage_id",
          "table"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_SubmissionId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_TableCommitOperation": {
        "oneOf": [
          {
            "const": "Append",
            "type": "string"
          },
          {
            "const": "Replace",
            "type": "string"
          },
          {
            "const": "RowChanges",
            "type": "string"
          },
          {
            "const": "Rewrite",
            "type": "string"
          }
        ]
      },
      "shared_common_src_lib_rs_TableCommitReceipt": {
        "properties": {
          "commit_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_CommitId"
          },
          "committed_table": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_ResolvedTableReference"
          },
          "target": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_TableWriteTarget"
          }
        },
        "required": [
          "commit_id",
          "target",
          "committed_table"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_TableDataVersion": {
        "oneOf": [
          {
            "properties": {
              "Version": {
                "type": "string"
              }
            },
            "required": [
              "Version"
            ],
            "type": "object"
          },
          {
            "const": "Empty",
            "type": "string"
          },
          {
            "const": "Unversioned",
            "type": "string"
          }
        ]
      },
      "shared_common_src_lib_rs_TableReference": {
        "properties": {
          "catalog_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_CatalogId"
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "catalog_id",
          "namespace",
          "name"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_TableStageId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_TableWriteTarget": {
        "oneOf": [
          {
            "properties": {
              "Existing": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_ResolvedTableReference"
              }
            },
            "required": [
              "Existing"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Staged": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_StagedTableReference"
              }
            },
            "required": [
              "Staged"
            ],
            "type": "object"
          }
        ]
      },
      "shared_common_src_lib_rs_TaskAttemptId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_TaskDefinition": {
        "allOf": [
          {
            "$ref": "#/components/schemas/shared_common_src_execution_mod_rs_ExecutionOptions"
          },
          {
            "properties": {
              "control": {
                "$ref": "#/components/schemas/shared_common_src_workflow_rs_TaskControl"
              },
              "incremental_source": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_IncrementalSource"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Source cursor shared by this logical task across runs."
              },
              "local_relations": {
                "additionalProperties": {
                  "description": "Serialized Relation; provider-specific fields retain their original JSON representation.",
                  "x-rust-type": "Relation"
                },
                "type": "object"
              },
              "name": {
                "type": "string"
              },
              "named_arguments": {
                "additionalProperties": {
                  "description": "Serialized Expression; provider-specific fields retain their original JSON representation.",
                  "x-rust-type": "Expression"
                },
                "type": "object"
              },
              "positional_arguments": {
                "items": {
                  "description": "Serialized Expression; provider-specific fields retain their original JSON representation.",
                  "x-rust-type": "Expression"
                },
                "type": "array"
              },
              "python": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "query": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskQuery"
              },
              "settings": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_QuerySettings"
              }
            },
            "required": [
              "name",
              "query",
              "settings",
              "named_arguments",
              "positional_arguments",
              "local_relations"
            ],
            "type": "object"
          }
        ]
      },
      "shared_common_src_lib_rs_TaskDependency": {
        "properties": {
          "downstream": {
            "type": "string"
          },
          "input_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "upstream": {
            "type": "string"
          }
        },
        "required": [
          "upstream",
          "downstream",
          "input_name"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_TaskQuery": {
        "oneOf": [
          {
            "properties": {
              "Sql": {
                "type": "string"
              }
            },
            "required": [
              "Sql"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Python": {
                "type": "string"
              }
            },
            "required": [
              "Python"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Ast": {
                "description": "Serialized Plan; provider-specific fields retain their original JSON representation.",
                "x-rust-type": "Plan"
              }
            },
            "required": [
              "Ast"
            ],
            "type": "object"
          }
        ]
      },
      "shared_common_src_lib_rs_TaskRunId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_TaskWriteSummary": {
        "properties": {
          "affected_rows": {
            "minimum": 0,
            "type": "integer"
          },
          "receipt": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_CommitReceipt"
          }
        },
        "required": [
          "affected_rows",
          "receipt"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_WorkerId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_WorkerScope": {
        "oneOf": [
          {
            "const": "Task",
            "type": "string"
          },
          {
            "const": "Workload",
            "type": "string"
          },
          {
            "const": "Deployment",
            "type": "string"
          }
        ]
      },
      "shared_common_src_lib_rs_WorkloadDefinition": {
        "properties": {
          "dependencies": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskDependency"
            },
            "type": "array"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "parameters": {
            "additionalProperties": {
              "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterDefinition"
            },
            "type": "object"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskDefinition"
            },
            "type": "array"
          },
          "workflow": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_WorkflowOptions"
          }
        },
        "required": [
          "name",
          "tasks",
          "dependencies"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_WorkloadId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_WorkloadKind": {
        "oneOf": [
          {
            "const": "Standalone",
            "type": "string"
          },
          {
            "const": "Streaming",
            "type": "string"
          },
          {
            "const": "SessionOperation",
            "type": "string"
          }
        ]
      },
      "shared_common_src_lib_rs_WorkloadRunId": {
        "format": "uuid",
        "type": "string"
      },
      "shared_common_src_lib_rs_WorkloadSubmissionOptions": {
        "properties": {
          "compute_requirements": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
              },
              {
                "type": "null"
              }
            ]
          },
          "deployment_profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_target": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_ExecutionTarget"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_timeout": {
            "anyOf": [
              {
                "properties": {
                  "nanos": {
                    "maximum": 999999999,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "secs": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "secs",
                  "nanos"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_attempts": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "missed_run_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_MissedRunPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "overlap_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_OverlapPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "parallelism": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum assigned tasks in one run. Unset has no run limit."
          },
          "profile": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "provisioner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "queue_timeout": {
            "anyOf": [
              {
                "properties": {
                  "nanos": {
                    "maximum": 999999999,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "secs": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "secs",
                  "nanos"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "start_paused": {
            "type": "boolean"
          },
          "worker_scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "xray": {
            "type": "boolean"
          }
        },
        "required": [
          "queue_timeout",
          "worker_scope",
          "parallelism",
          "execution_target",
          "execution_timeout",
          "compute_requirements",
          "max_attempts",
          "missed_run_policy",
          "overlap_policy"
        ],
        "type": "object"
      },
      "shared_common_src_lib_rs_WriteBoundary": {
        "oneOf": [
          {
            "const": "Final",
            "type": "string"
          },
          {
            "properties": {
              "Checkpoint": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_Checkpoint"
              }
            },
            "required": [
              "Checkpoint"
            ],
            "type": "object"
          }
        ]
      },
      "shared_common_src_lib_rs_WriteTarget": {
        "oneOf": [
          {
            "properties": {
              "Table": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TableWriteTarget"
              }
            },
            "required": [
              "Table"
            ],
            "type": "object"
          },
          {
            "properties": {
              "Direct": {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_DirectResourceReference"
              }
            },
            "required": [
              "Direct"
            ],
            "type": "object"
          }
        ]
      },
      "shared_common_src_parameters_rs_ParameterDefinition": {
        "properties": {
          "default": {
            "anyOf": [
              {
                "description": "JSON value; fields depend on the enclosing document or provider."
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "enum": {
            "anyOf": [
              {
                "items": {
                  "description": "JSON value; fields depend on the enclosing document or provider."
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "nullable": {
            "type": "boolean"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterType"
          }
        },
        "required": [
          "type",
          "required",
          "nullable"
        ],
        "type": "object"
      },
      "shared_common_src_parameters_rs_ParameterType": {
        "oneOf": [
          {
            "const": "string",
            "type": "string"
          },
          {
            "const": "string_array",
            "type": "string"
          },
          {
            "const": "integer",
            "type": "string"
          },
          {
            "const": "decimal",
            "type": "string"
          },
          {
            "const": "boolean",
            "type": "string"
          },
          {
            "const": "date",
            "type": "string"
          },
          {
            "const": "timestamp",
            "type": "string"
          }
        ]
      },
      "shared_common_src_parameters_rs_ParameterValues": {
        "additionalProperties": {
          "description": "JSON value; fields depend on the enclosing document or provider."
        },
        "type": "object"
      },
      "shared_common_src_parameters_rs_RunInvocation": {
        "properties": {
          "effective_parameters": {
            "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterValues"
          },
          "scheduled_at_unix_millis": {
            "type": "integer"
          },
          "supplied_parameters": {
            "$ref": "#/components/schemas/shared_common_src_parameters_rs_ParameterValues"
          },
          "trigger": {
            "$ref": "#/components/schemas/shared_common_src_parameters_rs_RunTrigger"
          },
          "workflow": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_RunContext"
          },
          "workload_revision": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "workload_revision",
          "supplied_parameters",
          "effective_parameters",
          "scheduled_at_unix_millis",
          "trigger"
        ],
        "type": "object"
      },
      "shared_common_src_parameters_rs_RunTrigger": {
        "oneOf": [
          {
            "const": "manual",
            "type": "string"
          },
          {
            "const": "scheduled",
            "type": "string"
          }
        ]
      },
      "shared_common_src_profiling_rs_ExecutionProfile": {
        "properties": {
          "architecture": {
            "type": "string"
          },
          "build_revision": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "compute": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_ComputeRequirements"
              },
              {
                "type": "null"
              }
            ]
          },
          "details_sampled": {
            "type": "boolean"
          },
          "elapsed_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "engine_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "inputs": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_ProfileBinding"
            },
            "type": "array"
          },
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_ProfileMetric"
            },
            "type": "array"
          },
          "missing": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "native": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_query_profile_rs_QueryProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "operating_system": {
            "type": "string"
          },
          "outputs": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_ProfileBinding"
            },
            "type": "array"
          },
          "process_instance": {
            "type": "string"
          },
          "program_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "resource_summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_profiling_rs_ResourceSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "resources": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_ResourceSample"
            },
            "type": "array"
          },
          "role": {
            "type": "string"
          },
          "stage_events": {
            "minimum": 0,
            "type": "integer"
          },
          "stage_summaries": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_StageSummary"
            },
            "type": "array"
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_ProfileStage"
            },
            "type": "array"
          },
          "started_monotonic_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "started_unix_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "task_attempt_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
              },
              {
                "type": "null"
              }
            ]
          },
          "task_run_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
              },
              {
                "type": "null"
              }
            ]
          },
          "truncated": {
            "type": "boolean"
          },
          "version": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "role",
          "process_instance",
          "architecture",
          "operating_system",
          "engine_version",
          "build_revision",
          "inputs",
          "outputs",
          "task_run_id",
          "task_attempt_id",
          "started_unix_nanos",
          "started_monotonic_nanos",
          "elapsed_nanos",
          "program_sha256",
          "compute",
          "native",
          "metrics",
          "stages",
          "stage_summaries",
          "stage_events",
          "resources",
          "resource_summary",
          "details_sampled",
          "truncated",
          "missing"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_ProfileBaseline": {
        "properties": {
          "case_identity": {
            "type": "string"
          },
          "cpu_millicores": {
            "minimum": 0,
            "type": "integer"
          },
          "dataset_identity": {
            "type": "string"
          },
          "execution_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "memory_bytes": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "profiling": {
            "type": "boolean"
          },
          "task_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "timing": {
            "$ref": "#/components/schemas/shared_common_src_profiling_rs_ProfileTimingMetric"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "task_name",
          "dataset_identity",
          "case_identity",
          "cpu_millicores",
          "memory_bytes",
          "profiling",
          "execution_nanos",
          "timing",
          "image",
          "version"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_ProfileBinding": {
        "properties": {
          "accepted_filters": {
            "minimum": 0,
            "type": "integer"
          },
          "binding_id": {
            "type": "string"
          },
          "boundary_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "connector": {
            "type": "string"
          },
          "data_version": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TableDataVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "projected_columns": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "resource_identity_sha256": {
            "type": "string"
          },
          "table": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_TableReference"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "binding_id",
          "connector",
          "resource_identity_sha256",
          "boundary_sha256",
          "table",
          "data_version",
          "projected_columns",
          "accepted_filters"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_ProfileCheck": {
        "properties": {
          "actual": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "expected": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "passed": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "passed",
          "expected",
          "actual"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_ProfileMetric": {
        "properties": {
          "attributes": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "kind": {
            "type": "string"
          },
          "last": {
            "type": "number"
          },
          "max": {
            "type": "number"
          },
          "min": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "observations": {
            "minimum": 0,
            "type": "integer"
          },
          "sum": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "unit",
          "kind",
          "attributes",
          "observations",
          "sum",
          "min",
          "max",
          "last"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_ProfileStage": {
        "properties": {
          "duration_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "offset_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "outcome": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "offset_nanos",
          "duration_nanos",
          "outcome"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_ProfileTimingMetric": {
        "oneOf": [
          {
            "const": "task_execution",
            "type": "string"
          },
          {
            "const": "native_sql",
            "type": "string"
          },
          {
            "const": "wall",
            "type": "string"
          }
        ]
      },
      "shared_common_src_profiling_rs_ResourceSample": {
        "properties": {
          "container_cpu_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "container_memory_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "container_memory_limit_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "offset_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "oom_events": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "process_cpu_seconds": {
            "type": "number"
          },
          "read_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "rss_bytes": {
            "minimum": 0,
            "type": "integer"
          },
          "throttled_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "written_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "offset_nanos",
          "process_cpu_seconds",
          "rss_bytes",
          "read_bytes",
          "written_bytes",
          "container_memory_bytes",
          "container_memory_limit_bytes",
          "container_cpu_seconds",
          "throttled_seconds",
          "oom_events"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_ResourceSummary": {
        "properties": {
          "container_memory_limit_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "container_memory_peak_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "covered_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "cpu_average_cores": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "cpu_core_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "cpu_peak_cores": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "first": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_profiling_rs_ResourceSample"
              },
              {
                "type": "null"
              }
            ]
          },
          "last": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_profiling_rs_ResourceSample"
              },
              {
                "type": "null"
              }
            ]
          },
          "oom_events": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "read_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "rss_average_bytes": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "rss_peak_bytes": {
            "minimum": 0,
            "type": "integer"
          },
          "samples": {
            "minimum": 0,
            "type": "integer"
          },
          "throttled_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "written_bytes": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "samples",
          "covered_nanos",
          "cpu_core_seconds",
          "cpu_average_cores",
          "cpu_peak_cores",
          "rss_average_bytes",
          "rss_peak_bytes",
          "container_memory_peak_bytes",
          "container_memory_limit_bytes",
          "read_bytes",
          "written_bytes",
          "throttled_seconds",
          "oom_events",
          "first",
          "last"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_RunProfileEvidence": {
        "properties": {
          "baselines": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_ProfileBaseline"
            },
            "type": "array"
          },
          "cache_policy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "case_identity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "checks": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_profiling_rs_ProfileCheck"
            },
            "type": "array"
          },
          "dataset_identity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "task_identities": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "version": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "dataset_identity",
          "case_identity",
          "cache_policy",
          "labels",
          "task_identities",
          "checks",
          "baselines"
        ],
        "type": "object"
      },
      "shared_common_src_profiling_rs_StageSummary": {
        "properties": {
          "count": {
            "minimum": 0,
            "type": "integer"
          },
          "max_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "min_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "total_nanos": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "outcome",
          "count",
          "total_nanos",
          "min_nanos",
          "max_nanos"
        ],
        "type": "object"
      },
      "shared_common_src_query_profile_rs_QueryPlanOperator": {
        "properties": {
          "children": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_query_profile_rs_QueryPlanOperator"
            },
            "type": "array"
          },
          "metrics": {
            "additionalProperties": {
              "type": "number"
            },
            "type": "object"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "metrics",
          "children"
        ],
        "type": "object"
      },
      "shared_common_src_query_profile_rs_QueryProfile": {
        "properties": {
          "engine": {
            "type": "string"
          },
          "metrics": {
            "additionalProperties": {
              "type": "number"
            },
            "type": "object"
          },
          "operators": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_query_profile_rs_QueryPlanOperator"
            },
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "engine",
          "metrics",
          "operators",
          "truncated"
        ],
        "type": "object"
      },
      "shared_common_src_time_rs_WallClockTimestamp": {
        "properties": {
          "unix_millis": {
            "type": "integer"
          }
        },
        "required": [
          "unix_millis"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_Backoff": {
        "oneOf": [
          {
            "const": "fixed",
            "type": "string"
          },
          {
            "const": "exponential",
            "type": "string"
          }
        ]
      },
      "shared_common_src_workflow_rs_DataWindow": {
        "properties": {
          "end_unix_millis": {
            "type": "integer"
          },
          "start_unix_millis": {
            "type": "integer"
          },
          "timezone": {
            "type": "string"
          }
        },
        "required": [
          "start_unix_millis",
          "end_unix_millis",
          "timezone"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_NotificationChannel": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "webhook"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "secret": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "secret"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "slack"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "secret": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "secret"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "shared_common_src_workflow_rs_NotificationSubscription": {
        "properties": {
          "channel": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_NotificationChannel"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_workflow_rs_WorkflowEventKind"
            },
            "type": "array"
          },
          "max_attempts": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "channel",
          "events",
          "max_attempts"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_RerunOrigin": {
        "properties": {
          "run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          },
          "tasks": {
            "description": "Tasks to execute. Other tasks must have confirmed successful outcomes.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "run_id",
          "tasks"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_RerunPlan": {
        "properties": {
          "blocked": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "execute": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reuse": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "source_run_id": {
            "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
          }
        },
        "required": [
          "source_run_id",
          "execute",
          "reuse",
          "blocked"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_RetryPolicy": {
        "properties": {
          "backoff": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_Backoff"
          },
          "initial_delay_seconds": {
            "minimum": 0,
            "type": "integer"
          },
          "jitter_percent": {
            "description": "Deterministic spread, derived from the saved task identity and attempt.",
            "minimum": 0,
            "type": "integer"
          },
          "max_attempts": {
            "minimum": 0,
            "type": "integer"
          },
          "max_delay_seconds": {
            "minimum": 0,
            "type": "integer"
          },
          "python_replay_safe": {
            "type": "boolean"
          }
        },
        "required": [
          "max_attempts",
          "initial_delay_seconds",
          "max_delay_seconds",
          "backoff",
          "jitter_percent",
          "python_replay_safe"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_RunContext": {
        "properties": {
          "backfill_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "data_window": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_workflow_rs_DataWindow"
              },
              {
                "type": "null"
              }
            ]
          },
          "rerun": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_workflow_rs_RerunOrigin"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data_window",
          "rerun",
          "backfill_id"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_SensorCondition": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "object_exists"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "http"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "expected_status": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "expected_value": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "json_pointer": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "secret": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "expected_status",
                  "secret",
                  "json_pointer",
                  "expected_value"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "workload_run"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "run_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
                  },
                  "workload_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
                  }
                },
                "required": [
                  "workload_id",
                  "run_id"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "shared_common_src_workflow_rs_SensorSpec": {
        "properties": {
          "condition": {
            "$ref": "#/components/schemas/shared_common_src_workflow_rs_SensorCondition"
          },
          "poll_interval_seconds": {
            "minimum": 0,
            "type": "integer"
          },
          "timeout_seconds": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "condition",
          "timeout_seconds",
          "poll_interval_seconds"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_TaskControl": {
        "properties": {
          "retry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_workflow_rs_RetryPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "sensor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_workflow_rs_SensorSpec"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "retry",
          "sensor"
        ],
        "type": "object"
      },
      "shared_common_src_workflow_rs_WorkflowEventKind": {
        "oneOf": [
          {
            "const": "run_started",
            "type": "string"
          },
          {
            "const": "run_succeeded",
            "type": "string"
          },
          {
            "const": "run_failed",
            "type": "string"
          },
          {
            "const": "run_cancelled",
            "type": "string"
          },
          {
            "const": "outcome_unknown",
            "type": "string"
          },
          {
            "const": "task_retry",
            "type": "string"
          },
          {
            "const": "task_failed",
            "type": "string"
          },
          {
            "const": "sensor_timeout",
            "type": "string"
          },
          {
            "const": "backfill_completed",
            "type": "string"
          },
          {
            "const": "backfill_failed",
            "type": "string"
          }
        ]
      },
      "shared_common_src_workflow_rs_WorkflowOptions": {
        "properties": {
          "data_windows": {
            "type": "boolean"
          },
          "notifications": {
            "items": {
              "$ref": "#/components/schemas/shared_common_src_workflow_rs_NotificationSubscription"
            },
            "type": "array"
          }
        },
        "required": [
          "data_windows",
          "notifications"
        ],
        "type": "object"
      },
      "shared_config_src_flags_rs_FlagDocument": {
        "properties": {
          "flags": {
            "items": {
              "$ref": "#/components/schemas/shared_config_src_flags_rs_FlagView"
            },
            "type": "array"
          },
          "revision": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "revision",
          "flags"
        ],
        "type": "object"
      },
      "shared_config_src_flags_rs_FlagView": {
        "properties": {
          "editable": {
            "type": "boolean"
          },
          "effective": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "name",
          "effective",
          "editable"
        ],
        "type": "object"
      },
      "shared_config_src_models_rs_ConfigDocument": {
        "properties": {
          "can_save": {
            "type": "boolean"
          },
          "defaults": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "export_requires_secrets": {
            "type": "boolean"
          },
          "overridden_paths": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "restart_required": {
            "type": "boolean"
          },
          "revision": {
            "type": "string"
          },
          "running_values": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "save_unavailable_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "saved_values": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "sections": {
            "items": {
              "$ref": "#/components/schemas/shared_config_src_models_rs_Field"
            },
            "type": "array"
          },
          "sensitive_paths": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sources": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "toml": {
            "type": "string"
          }
        },
        "required": [
          "revision",
          "can_save",
          "save_unavailable_reason",
          "restart_required",
          "sections",
          "running_values",
          "saved_values",
          "defaults",
          "sources",
          "overridden_paths",
          "sensitive_paths",
          "toml",
          "export_requires_secrets"
        ],
        "type": "object"
      },
      "shared_config_src_models_rs_Difference": {
        "properties": {
          "after": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "before": {
            "description": "JSON value; fields depend on the enclosing document or provider."
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "before",
          "after"
        ],
        "type": "object"
      },
      "shared_config_src_models_rs_Field": {
        "allOf": [
          {
            "$ref": "#/components/schemas/shared_config_src_models_rs_Schema"
          },
          {
            "properties": {
              "key": {
                "type": "string"
              }
            },
            "required": [
              "key"
            ],
            "type": "object"
          }
        ]
      },
      "shared_config_src_models_rs_FieldError": {
        "properties": {
          "message": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "message"
        ],
        "type": "object"
      },
      "shared_config_src_models_rs_Schema": {
        "properties": {
          "default": {
            "anyOf": [
              {
                "description": "JSON value; fields depend on the enclosing document or provider."
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "type": "string"
          },
          "enum_tag": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "feature_flag": {
            "type": "boolean"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/shared_config_src_models_rs_Field"
            },
            "type": "array"
          },
          "items": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_config_src_models_rs_Schema"
              },
              {
                "type": "null"
              }
            ]
          },
          "maximum": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "minimum": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "optional": {
            "type": "boolean"
          },
          "sensitive": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "unit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "variants": {
            "items": {
              "$ref": "#/components/schemas/shared_config_src_models_rs_Variant"
            },
            "type": "array"
          }
        },
        "required": [
          "type",
          "description",
          "optional",
          "sensitive",
          "feature_flag",
          "unit",
          "minimum",
          "maximum",
          "default",
          "fields",
          "variants",
          "enum_tag",
          "items"
        ],
        "type": "object"
      },
      "shared_config_src_models_rs_ValidationResponse": {
        "properties": {
          "diff": {
            "items": {
              "$ref": "#/components/schemas/shared_config_src_models_rs_Difference"
            },
            "type": "array"
          },
          "errors": {
            "items": {
              "$ref": "#/components/schemas/shared_config_src_models_rs_FieldError"
            },
            "type": "array"
          },
          "export_requires_secrets": {
            "type": "boolean"
          },
          "revision": {
            "type": "string"
          },
          "toml": {
            "type": "string"
          }
        },
        "required": [
          "revision",
          "errors",
          "diff",
          "toml",
          "export_requires_secrets"
        ],
        "type": "object"
      },
      "shared_config_src_models_rs_Variant": {
        "properties": {
          "description": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "schema": {
            "$ref": "#/components/schemas/shared_config_src_models_rs_Schema"
          }
        },
        "required": [
          "key",
          "description",
          "schema"
        ],
        "type": "object"
      },
      "telemetry_src_history_models_rs_GaugeAggregate": {
        "$ref": "#/components/schemas/telemetry_src_models_rs_GaugeStatistics"
      },
      "telemetry_src_history_models_rs_HistoryCoverage": {
        "properties": {
          "budget_exhausted": {
            "type": "boolean"
          },
          "collected_through_unix_millis": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "dropped_records": {
            "minimum": 0,
            "type": "integer"
          },
          "durable_through_unix_millis": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "evicted_records": {
            "minimum": 0,
            "type": "integer"
          },
          "expired": {
            "type": "boolean"
          },
          "gaps": {
            "items": {
              "$ref": "#/components/schemas/telemetry_src_history_models_rs_HistoryGap"
            },
            "type": "array"
          },
          "incomplete": {
            "type": "boolean"
          },
          "newest_unix_millis": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "oldest_unix_millis": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "requested_end_unix_millis": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "requested_start_unix_millis": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "resolutions_millis": {
            "items": {
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "retained_bytes": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "requested_start_unix_millis",
          "requested_end_unix_millis",
          "oldest_unix_millis",
          "newest_unix_millis",
          "collected_through_unix_millis",
          "durable_through_unix_millis",
          "resolutions_millis",
          "expired",
          "incomplete",
          "budget_exhausted",
          "dropped_records",
          "evicted_records",
          "retained_bytes",
          "gaps"
        ],
        "type": "object"
      },
      "telemetry_src_history_models_rs_HistoryGap": {
        "properties": {
          "end_unix_millis": {
            "minimum": 0,
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "start_unix_millis": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "start_unix_millis",
          "end_unix_millis",
          "reason"
        ],
        "type": "object"
      },
      "telemetry_src_history_models_rs_HistoryPage": {
        "properties": {
          "continuation_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage": {
            "$ref": "#/components/schemas/telemetry_src_history_models_rs_HistoryCoverage"
          },
          "dashboard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/app_dashboards_src_error_rs_DashboardResult"
              },
              {
                "type": "null"
              }
            ]
          },
          "records": {
            "items": {
              "$ref": "#/components/schemas/telemetry_src_history_models_rs_StoredRecord"
            },
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "records",
          "coverage",
          "continuation_token",
          "truncated"
        ],
        "type": "object"
      },
      "telemetry_src_history_models_rs_HistoryRecord": {
        "oneOf": [
          {
            "properties": {
              "record": {
                "$ref": "#/components/schemas/telemetry_src_models_rs_MetricSample"
              },
              "signal": {
                "const": "metric"
              }
            },
            "required": [
              "signal",
              "record"
            ],
            "type": "object"
          },
          {
            "properties": {
              "record": {
                "$ref": "#/components/schemas/telemetry_src_models_rs_LogRecord"
              },
              "signal": {
                "const": "log"
              }
            },
            "required": [
              "signal",
              "record"
            ],
            "type": "object"
          },
          {
            "properties": {
              "record": {
                "$ref": "#/components/schemas/telemetry_src_models_rs_SpanRecord"
              },
              "signal": {
                "const": "span"
              }
            },
            "required": [
              "signal",
              "record"
            ],
            "type": "object"
          }
        ]
      },
      "telemetry_src_history_models_rs_StoredRecord": {
        "properties": {
          "commit_sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "gauge": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_history_models_rs_GaugeAggregate"
              },
              {
                "type": "null"
              }
            ],
            "description": "Per-bucket mergeable statistics for gauges. Counter/histogram values remain cumulative within their reset segment; repeated snapshots are never summed."
          },
          "received_unix_millis": {
            "minimum": 0,
            "type": "integer"
          },
          "record": {
            "$ref": "#/components/schemas/telemetry_src_history_models_rs_HistoryRecord"
          },
          "resolution_millis": {
            "minimum": 0,
            "type": "integer"
          },
          "worker_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "worker_id",
          "commit_sequence",
          "record",
          "resolution_millis",
          "received_unix_millis"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_Attributes": {
        "additionalProperties": {
          "type": "string"
        },
        "type": "object"
      },
      "telemetry_src_models_rs_ExecutionScope": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "level": {
                    "const": "workload"
                  }
                },
                "required": [
                  "level"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "workload_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
                  }
                },
                "required": [
                  "workload_id"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "level": {
                    "const": "run"
                  }
                },
                "required": [
                  "level"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "workload_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
                  },
                  "workload_run_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
                  }
                },
                "required": [
                  "workload_id",
                  "workload_run_id"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "level": {
                    "const": "task"
                  }
                },
                "required": [
                  "level"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "task_run_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
                  },
                  "workload_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
                  },
                  "workload_run_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
                  }
                },
                "required": [
                  "workload_id",
                  "workload_run_id",
                  "task_run_id"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "level": {
                    "const": "attempt"
                  }
                },
                "required": [
                  "level"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "task_attempt_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskAttemptId"
                  },
                  "task_run_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_TaskRunId"
                  },
                  "workload_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadId"
                  },
                  "workload_run_id": {
                    "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkloadRunId"
                  }
                },
                "required": [
                  "workload_id",
                  "workload_run_id",
                  "task_run_id",
                  "task_attempt_id"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "telemetry_src_models_rs_GaugeStatistics": {
        "properties": {
          "count": {
            "minimum": 0,
            "type": "integer"
          },
          "max": {
            "type": "number"
          },
          "min": {
            "type": "number"
          },
          "sum": {
            "type": "number"
          }
        },
        "required": [
          "min",
          "max",
          "sum",
          "count"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_LogCorrelation": {
        "properties": {
          "allocation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "assignment_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "catalog_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "cell_execution_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commit_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mutation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "notebook_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "notebook_run_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "notebook_session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "occurrence_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "operation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "submission_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "request_id",
          "mutation_id",
          "assignment_id",
          "occurrence_id",
          "catalog_id",
          "session_id",
          "operation_id",
          "submission_id",
          "allocation_id",
          "commit_id",
          "notebook_id",
          "notebook_session_id",
          "notebook_run_id",
          "cell_execution_id"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_LogRecord": {
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_Attributes"
          },
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_TraceContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "type": "string"
          },
          "scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_ExecutionScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "severity": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_Severity"
          },
          "source": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_SourceIdentity"
          },
          "unix_nanos": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "scope",
          "source",
          "sequence",
          "unix_nanos",
          "severity",
          "message",
          "attributes",
          "context"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_MetricSample": {
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_Attributes"
          },
          "gauge": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_GaugeStatistics"
              },
              {
                "type": "null"
              }
            ],
            "description": "Mergeable statistics for gauge observations since the previous collection."
          },
          "name": {
            "type": "string"
          },
          "scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_ExecutionScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "series_start_sequence": {
            "description": "The first observation in this cumulative segment. A changed value marks a reset.",
            "minimum": 0,
            "type": "integer"
          },
          "source": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_SourceIdentity"
          },
          "start_unix_nanos": {
            "description": "Wall time of the first observation in this cumulative reset segment.",
            "minimum": 0,
            "type": "integer"
          },
          "unit": {
            "type": "string"
          },
          "unix_nanos": {
            "minimum": 0,
            "type": "integer"
          },
          "value": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_MetricValue"
          }
        },
        "required": [
          "start_unix_nanos",
          "scope",
          "series_start_sequence",
          "source",
          "sequence",
          "name",
          "unit",
          "attributes",
          "unix_nanos",
          "value"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_MetricValue": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "up_down_counter"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "value": {
                    "type": "number"
                  }
                },
                "required": [
                  "value"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "counter"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "value": {
                    "type": "number"
                  }
                },
                "required": [
                  "value"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "gauge"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "value": {
                    "type": "number"
                  }
                },
                "required": [
                  "value"
                ],
                "type": "object"
              }
            ]
          },
          {
            "allOf": [
              {
                "properties": {
                  "kind": {
                    "const": "histogram"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "bounds": {
                    "items": {
                      "type": "number"
                    },
                    "type": "array"
                  },
                  "buckets": {
                    "items": {
                      "minimum": 0,
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "count": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "max": {
                    "type": "number"
                  },
                  "min": {
                    "type": "number"
                  },
                  "sum": {
                    "type": "number"
                  }
                },
                "required": [
                  "count",
                  "sum",
                  "min",
                  "max",
                  "bounds",
                  "buckets"
                ],
                "type": "object"
              }
            ]
          }
        ]
      },
      "telemetry_src_models_rs_Outcome": {
        "oneOf": [
          {
            "const": "success",
            "type": "string"
          },
          {
            "const": "error",
            "type": "string"
          },
          {
            "const": "cancelled",
            "type": "string"
          }
        ]
      },
      "telemetry_src_models_rs_RecordingContext": {
        "properties": {
          "correlation": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_LogCorrelation"
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_ExecutionScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "trace": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_TraceContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "worker_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/shared_common_src_lib_rs_WorkerId"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "worker_id",
          "trace",
          "execution",
          "correlation"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_Severity": {
        "oneOf": [
          {
            "const": "debug",
            "type": "string"
          },
          {
            "const": "info",
            "type": "string"
          },
          {
            "const": "warn",
            "type": "string"
          },
          {
            "const": "error",
            "type": "string"
          }
        ]
      },
      "telemetry_src_models_rs_SourceIdentity": {
        "properties": {
          "process_instance": {
            "format": "uuid",
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "service": {
            "type": "string"
          }
        },
        "required": [
          "service",
          "process_instance",
          "role"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_SpanEvent": {
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_Attributes"
          },
          "name": {
            "type": "string"
          },
          "unix_nanos": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "unix_nanos",
          "attributes"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_SpanKind": {
        "oneOf": [
          {
            "const": "internal",
            "type": "string"
          },
          {
            "const": "server",
            "type": "string"
          },
          {
            "const": "client",
            "type": "string"
          },
          {
            "const": "producer",
            "type": "string"
          },
          {
            "const": "consumer",
            "type": "string"
          }
        ]
      },
      "telemetry_src_models_rs_SpanLink": {
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_Attributes"
          },
          "context": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_TraceContext"
          }
        },
        "required": [
          "context",
          "attributes"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_SpanRecord": {
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_Attributes"
          },
          "context": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_TraceContext"
          },
          "duration_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "end_unix_nanos": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/telemetry_src_models_rs_SpanEvent"
            },
            "type": "array"
          },
          "kind": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_SpanKind"
          },
          "links": {
            "items": {
              "$ref": "#/components/schemas/telemetry_src_models_rs_SpanLink"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "outcome": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_Outcome"
              },
              {
                "type": "null"
              }
            ]
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_TraceContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "scope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/telemetry_src_models_rs_ExecutionScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "sequence": {
            "minimum": 0,
            "type": "integer"
          },
          "source": {
            "$ref": "#/components/schemas/telemetry_src_models_rs_SourceIdentity"
          },
          "start_unix_nanos": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "scope",
          "source",
          "sequence",
          "context",
          "parent",
          "name",
          "kind",
          "attributes",
          "start_unix_nanos",
          "end_unix_nanos",
          "duration_nanos",
          "outcome"
        ],
        "type": "object"
      },
      "telemetry_src_models_rs_TraceContext": {
        "properties": {
          "span_id": {
            "minimum": 0,
            "type": "integer"
          },
          "trace_flags": {
            "minimum": 0,
            "type": "integer"
          },
          "trace_id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "trace_id",
          "span_id",
          "trace_flags"
        ],
        "type": "object"
      }
    }
  },
  "info": {
    "description": "HTTP contracts for the Unified engine. Requests use the connected deployment's access model and configured owner. Response examples are illustrative; inspect your engine response in your client. SQL-managed secrets, credentials, streaming pipelines and maintenance run through session operations.",
    "title": "Laminar Unified HTTP API",
    "version": "v1"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/activity/{kind}": {
      "get": {
        "description": "activity runs. GET /api/v1/activity/{kind}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "activity_runs",
        "parameters": [
          {
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "continuation_token": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "enabled": {
                      "type": "boolean"
                    },
                    "items": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "activity runs",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/assistant/capabilities": {
      "get": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_capabilities",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_AgentCapabilities"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant capabilities",
        "tags": [
          "Assistant"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/assistant/conversations": {
      "get": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_list_conversations",
        "parameters": [
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_ConversationPage"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant list conversations",
        "tags": [
          "Assistant"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_create_conversation",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_agent_src_models_rs_CreateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_ConversationRecord"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant create conversation",
        "tags": [
          "Assistant"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/assistant/conversations/{conversation_id}": {
      "get": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_get_conversation",
        "parameters": [
          {
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "conversation": {
                      "$ref": "#/components/schemas/app_agent_src_models_rs_ConversationRecord"
                    },
                    "turns": {
                      "items": {
                        "$ref": "#/components/schemas/app_agent_src_models_rs_TurnRecord"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant get conversation",
        "tags": [
          "Assistant"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/assistant/conversations/{conversation_id}/turns": {
      "post": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_submit_turn",
        "parameters": [
          {
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_agent_src_models_rs_SubmitTurnRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_TurnRecord"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant submit turn",
        "tags": [
          "Assistant"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/assistant/conversations/{conversation_id}/turns/{turn_id}": {
      "get": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_get_turn",
        "parameters": [
          {
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "turn_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_TurnRecord"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant get turn",
        "tags": [
          "Assistant"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/assistant/conversations/{conversation_id}/turns/{turn_id}/actions/{action_id}/approval": {
      "post": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_approve_action",
        "parameters": [
          {
            "in": "path",
            "name": "action_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "turn_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_agent_src_models_rs_ApproveActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_TurnRecord"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant approve action",
        "tags": [
          "Assistant"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/assistant/conversations/{conversation_id}/turns/{turn_id}/cancel": {
      "post": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_cancel_turn",
        "parameters": [
          {
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "turn_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_TurnRecord"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant cancel turn",
        "tags": [
          "Assistant"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/assistant/conversations/{conversation_id}/turns/{turn_id}/events": {
      "get": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "assistant_events",
        "parameters": [
          {
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "turn_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_agent_src_models_rs_EventPage"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant events",
        "tags": [
          "Assistant"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/assistant/conversations/{conversation_id}/turns/{turn_id}/events/stream": {
      "get": {
        "description": "Watch assistant events as server-sent events. Last-Event-ID or query.after resumes after a sequence. Stop watching does not cancel the turn.",
        "operationId": "assistant_event_stream",
        "parameters": [
          {
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "turn_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Server-sent events. Stop watching does not cancel the turn."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "assistant event stream",
        "tags": [
          "Assistant"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/audit": {
      "get": {
        "description": "audit history. GET /api/v1/audit. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "audit_history",
        "parameters": [
          {
            "in": "query",
            "name": "action",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "actor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "end_unix_millis",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "outcome",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "start_unix_millis",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_session_src_models_rs_AuditListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "audit history",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/capabilities": {
      "get": {
        "description": "capabilities. GET /api/v1/capabilities. Discover configured roles, execution targets, notebook and workspace availability.",
        "operationId": "capabilities",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_api_src_models_rs_EngineCapabilities"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "capabilities",
        "tags": [
          "Configuration and capabilities"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs": {
      "get": {
        "description": "list catalogs. GET /api/v1/catalogs. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_catalogs",
        "parameters": [
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "catalogs": {
                      "properties": {
                        "continuation_token": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "items": {
                          "items": {
                            "properties": {
                              "catalog_id": {
                                "type": "string"
                              },
                              "configuration": {
                                "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogConfiguration"
                              },
                              "name": {
                                "type": "string"
                              },
                              "revision": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list catalogs",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "create catalog. POST /api/v1/catalogs. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "create_catalog",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_CatalogCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "catalog": {
                      "properties": {
                        "catalog_id": {
                          "format": "uuid",
                          "type": "string"
                        },
                        "configuration": {
                          "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogConfiguration"
                        },
                        "name": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "created": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "create catalog",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/catalogs/validate": {
      "post": {
        "description": "validate catalog connection. POST /api/v1/catalogs/validate. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "validate_catalog_connection",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "configuration": {
                    "additionalProperties": false,
                    "properties": {
                      "credential_references": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "options": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "provider": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "provider",
                      "options",
                      "credential_references"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "configuration"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_CatalogConnectionValidateResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "validate catalog connection",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}": {
      "delete": {
        "description": "delete catalog. DELETE /api/v1/catalogs/{catalog_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "delete_catalog",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_CatalogDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogDropResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "delete catalog",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "delete"
      },
      "get": {
        "description": "get catalog. GET /api/v1/catalogs/{catalog_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_catalog",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "catalog_id": {
                      "type": "string"
                    },
                    "configuration": {
                      "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogConfiguration"
                    },
                    "name": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get catalog",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      },
      "patch": {
        "description": "update catalog. PATCH /api/v1/catalogs/{catalog_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "update_catalog",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_CatalogUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "catalog_id": {
                      "type": "string"
                    },
                    "configuration": {
                      "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogConfiguration"
                    },
                    "name": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "update catalog",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/catalogs/{catalog_id}/capabilities": {
      "get": {
        "description": "catalog capabilities. GET /api/v1/catalogs/{catalog_id}/capabilities. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "catalog_capabilities",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_CatalogCapabilitiesResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "catalog capabilities",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}/namespaces": {
      "get": {
        "description": "list namespaces. GET /api/v1/catalogs/{catalog_id}/namespaces. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_namespaces",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "namespace",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_NamespaceListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list namespaces",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}/options": {
      "patch": {
        "description": "patch catalog. PATCH /api/v1/catalogs/{catalog_id}/options. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "patch_catalog",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "credential_references": {
                    "additionalProperties": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": "object"
                  },
                  "mutation_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "options": {
                    "additionalProperties": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": "object"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "mutation_id",
                  "revision",
                  "options"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "catalog_id": {
                      "type": "string"
                    },
                    "configuration": {
                      "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_CatalogConfiguration"
                    },
                    "name": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "patch catalog",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/catalogs/{catalog_id}/relations": {
      "get": {
        "description": "list relations. GET /api/v1/catalogs/{catalog_id}/relations. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_relations",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "Table",
                "View"
              ]
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "namespace",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_RelationListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list relations",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}/relations/{name}": {
      "get": {
        "description": "get relation. GET /api/v1/catalogs/{catalog_id}/relations/{name}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_relation",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "namespace",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "definition": {
                      "type": "object"
                    },
                    "kind": {
                      "enum": [
                        "table",
                        "view"
                      ]
                    },
                    "version": {
                      "$ref": "#/components/schemas/data_catalog_core_src_models_mod_rs_MetadataVersion"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get relation",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}/relations/{name}/capabilities": {
      "get": {
        "description": "relation capabilities. GET /api/v1/catalogs/{catalog_id}/relations/{name}/capabilities. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "relation_capabilities",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "namespace",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_catalog_core_src_models_introspection_rs_RelationCapabilitiesResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "relation capabilities",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}/relations/{name}/format-version": {
      "post": {
        "description": "set table format version. POST /api/v1/catalogs/{catalog_id}/relations/{name}/format-version. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "set_table_format_version",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expected": {
                    "additionalProperties": false,
                    "properties": {
                      "identity": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "identity",
                      "revision"
                    ],
                    "type": "object"
                  },
                  "mutation_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "namespace": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "revision": {
                    "type": "string"
                  },
                  "version": {
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "mutation_id",
                  "revision",
                  "namespace",
                  "expected",
                  "version"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "set table format version",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/catalogs/{catalog_id}/relations/{name}/sort-order": {
      "post": {
        "description": "set table sort order. POST /api/v1/catalogs/{catalog_id}/relations/{name}/sort-order. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "set_table_sort_order",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expected": {
                    "additionalProperties": false,
                    "properties": {
                      "identity": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "identity",
                      "revision"
                    ],
                    "type": "object"
                  },
                  "fields": {
                    "description": "Catalog SortField definitions.",
                    "type": "array"
                  },
                  "mutation_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "namespace": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "mutation_id",
                  "revision",
                  "namespace",
                  "expected",
                  "fields"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "set table sort order",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/catalogs/{catalog_id}/search": {
      "get": {
        "description": "search relations. GET /api/v1/catalogs/{catalog_id}/search. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "search_relations",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "Table",
                "View"
              ]
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "revision",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_catalog_core_src_models_search_rs_RelationSearchResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "search relations",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}/tables/register": {
      "post": {
        "description": "register table. POST /api/v1/catalogs/{catalog_id}/tables/register. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "register_table",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "if_not_exists": {
                    "type": "boolean"
                  },
                  "metadata_location": {
                    "type": "string"
                  },
                  "mutation_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "namespace": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "mutation_id",
                  "revision",
                  "namespace",
                  "name",
                  "metadata_location"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "register table",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/catalogs/{catalog_id}/tables/{name}/inspection": {
      "get": {
        "description": "inspect table. GET /api/v1/catalogs/{catalog_id}/tables/{name}/inspection. Inspect Iceberg snapshots, history, files or summary at an optional pinned snapshot. Pass namespace as an array of components.",
        "operationId": "inspect_table",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "namespace",
            "required": true,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "section",
            "required": false,
            "schema": {
              "enum": [
                "snapshots",
                "history",
                "files",
                "summary"
              ]
            }
          },
          {
            "in": "query",
            "name": "snapshot_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/data_connectors_core_src_models_inspection_rs_TableInspectionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "inspect table",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/catalogs/{catalog_id}/views/{name}/rename": {
      "post": {
        "description": "rename view. POST /api/v1/catalogs/{catalog_id}/views/{name}/rename. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "rename_view",
        "parameters": [
          {
            "in": "path",
            "name": "catalog_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expected": {
                    "additionalProperties": false,
                    "properties": {
                      "identity": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "identity",
                      "revision"
                    ],
                    "type": "object"
                  },
                  "mutation_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "namespace": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "new_name": {
                    "type": "string"
                  },
                  "new_namespace": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "mutation_id",
                  "revision",
                  "namespace",
                  "new_namespace",
                  "new_name"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "rename view",
        "tags": [
          "Catalogs and tables"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/config": {
      "get": {
        "description": "get configuration. GET /api/v1/config. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_configuration",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shared_config_src_models_rs_ConfigDocument"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get configuration",
        "tags": [
          "Configuration and capabilities"
        ],
        "x-effect": "read"
      },
      "put": {
        "description": "save configuration. PUT /api/v1/config. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "save_configuration",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "changes": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "value": {}
                      },
                      "required": [
                        "path",
                        "value"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "revision",
                  "changes"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shared_config_src_models_rs_ConfigDocument"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "save configuration",
        "tags": [
          "Configuration and capabilities"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/config/validate": {
      "post": {
        "description": "validate configuration. POST /api/v1/config/validate. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "validate_configuration",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "changes": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "value": {}
                      },
                      "required": [
                        "path",
                        "value"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "revision",
                  "changes"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shared_config_src_models_rs_ValidationResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "validate configuration",
        "tags": [
          "Configuration and capabilities"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/dashboards": {
      "get": {
        "description": "list dashboards. GET /api/v1/dashboards. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_dashboards",
        "parameters": [
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboards": {
                      "properties": {
                        "continuation_token": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "items": {
                          "items": {
                            "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDoc"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list dashboards",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "create dashboard. POST /api/v1/dashboards. Save the dedicated dashboard definition: SQL datasets, parameter definitions, widgets, layout, schedule and retention. Preserve dataset and widget IDs when editing; saves require the current revision.",
        "operationId": "create_dashboard",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboard": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDoc"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "create dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/preview": {
      "post": {
        "description": "preview dashboard dataset. POST /api/v1/dashboards/preview. Execute a read-only dashboard dataset preview with parameters. Returns a session and operation identity; poll operation_status then operation_results. This starts engine work.",
        "operationId": "preview_dashboard_dataset",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "dataset": {
                    "additionalProperties": false,
                    "properties": {
                      "dataset_id": {
                        "format": "uuid",
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "settings": {
                        "additionalProperties": false,
                        "properties": {
                          "ansi_enabled": {
                            "type": "boolean"
                          },
                          "case_sensitive": {
                            "type": "boolean"
                          },
                          "current_catalog": {
                            "type": "string"
                          },
                          "namespace": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "time_zone": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "current_catalog",
                          "namespace",
                          "time_zone",
                          "case_sensitive",
                          "ansi_enabled"
                        ],
                        "type": "object"
                      },
                      "source_query_id": {
                        "format": "uuid",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "sql": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "dataset_id",
                      "name",
                      "sql",
                      "settings"
                    ],
                    "type": "object"
                  },
                  "options": {
                    "additionalProperties": false,
                    "properties": {
                      "compute_requirements": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "cpu_millicores": {
                                "minimum": 1,
                                "type": "integer"
                              },
                              "memory_bytes": {
                                "minimum": 1,
                                "type": "integer"
                              },
                              "tuning": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "batch_rows": {
                                        "maximum": 1048576,
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "buffer_bytes": {
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "file_read_concurrency": {
                                        "maximum": 32,
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "input_prefetch_batches": {
                                        "maximum": 32,
                                        "minimum": 0,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "output_buffer_batches": {
                                        "maximum": 32,
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "query_memory_bytes": {
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "spill_bytes": {
                                        "minimum": 0,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "threads": {
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "write_batch_rows": {
                                        "description": "Sink batch row limit. Defaults to 65536 independently of reader batches.",
                                        "maximum": 1048576,
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      },
                                      "write_parallelism": {
                                        "description": "Concurrent worker-local file writers. Defaults to execution threads and cannot exceed them.",
                                        "minimum": 1,
                                        "type": [
                                          "integer",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "Optional resource-aware execution overrides; omitted fields scale with CPU and memory."
                              }
                            },
                            "required": [
                              "cpu_millicores",
                              "memory_bytes"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "deployment_profile": {
                        "description": "Deployment compute pool. Omit to use its default. Cannot combine with provisioner, profile, or compute_requirements.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "execution_target": {
                        "enum": [
                          "DataFusion",
                          "DuckDb",
                          null
                        ]
                      },
                      "execution_timeout": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "nanos": {
                                "maximum": 999999999,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "secs": {
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "secs",
                              "nanos"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "max_attempts": {
                        "minimum": 1,
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "missed_run_policy": {
                        "enum": [
                          "RunOnce",
                          "RunAll",
                          "Skip",
                          null
                        ]
                      },
                      "overlap_policy": {
                        "enum": [
                          "Wait",
                          "Skip",
                          "Allow",
                          null
                        ]
                      },
                      "parallelism": {
                        "description": "Maximum concurrent tasks. Unset has no per-run limit. Workload scope reuses workers within the run. Compute requirements apply per worker.",
                        "maximum": 4294967295,
                        "minimum": 1,
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "profile": {
                        "description": "Named compute profile. Do not combine with custom compute_requirements.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "provisioner": {
                        "description": "Named provisioner. Omit to inherit the instance default.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "queue_timeout": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "nanos": {
                                "maximum": 999999999,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "secs": {
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "secs",
                              "nanos"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Optional time to wait after a task enters the execution queue."
                      },
                      "worker_scope": {
                        "description": "Deployment shares startup pools. Workload reuses workers within a run. Task creates a worker for each attempt.",
                        "enum": [
                          "Deployment",
                          "Workload",
                          "Task",
                          null
                        ]
                      },
                      "xray": {
                        "description": "Capture detailed performance for this session operation only. Default false. Requires the Xray feature flag.",
                        "type": "boolean"
                      }
                    },
                    "required": [],
                    "type": "object"
                  },
                  "parameter_definitions": {
                    "additionalProperties": {
                      "additionalProperties": false,
                      "properties": {
                        "default": {},
                        "description": {
                          "type": "string"
                        },
                        "enum": {
                          "type": "array"
                        },
                        "nullable": {
                          "type": "boolean"
                        },
                        "required": {
                          "type": "boolean"
                        },
                        "type": {
                          "enum": [
                            "string",
                            "integer",
                            "decimal",
                            "boolean",
                            "date",
                            "timestamp"
                          ]
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "object"
                  },
                  "parameters": {
                    "type": "object"
                  },
                  "scheduled_at_unix_millis": {
                    "type": "integer"
                  },
                  "submission_id": {
                    "format": "uuid",
                    "type": "string"
                  }
                },
                "required": [
                  "submission_id",
                  "dataset",
                  "scheduled_at_unix_millis"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "preview dashboard dataset",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/{dashboard_id}": {
      "delete": {
        "description": "delete dashboard. DELETE /api/v1/dashboards/{dashboard_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "delete_dashboard",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardMutationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboard_id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "deleted": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "delete dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "delete"
      },
      "get": {
        "description": "get dashboard. GET /api/v1/dashboards/{dashboard_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_dashboard",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboard": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDoc"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "read"
      },
      "put": {
        "description": "save dashboard. PUT /api/v1/dashboards/{dashboard_id}. Save the dedicated dashboard definition: SQL datasets, parameter definitions, widgets, layout, schedule and retention. Preserve dataset and widget IDs when editing; saves require the current revision.",
        "operationId": "save_dashboard",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardSaveRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboard": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDoc"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "save dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/activate": {
      "post": {
        "description": "activate dashboard. POST /api/v1/dashboards/{dashboard_id}/activate. Enable scheduled dashboard refreshes using the current revision. This can start engine work.",
        "operationId": "activate_dashboard",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardMutationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboard": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDoc"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "activate dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/pause": {
      "post": {
        "description": "pause dashboard. POST /api/v1/dashboards/{dashboard_id}/pause. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "pause_dashboard",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardMutationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboard": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDoc"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "pause dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/refresh": {
      "post": {
        "description": "refresh dashboard. POST /api/v1/dashboards/{dashboard_id}/refresh. Start a dashboard snapshot refresh. Reuse submission_id after a lost response and poll dashboard_snapshot. Read each dataset with dashboard_dataset_results.",
        "operationId": "refresh_dashboard",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardRefreshRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "snapshot": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardRefresh"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "refresh dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/resume": {
      "post": {
        "description": "resume dashboard. POST /api/v1/dashboards/{dashboard_id}/resume. Enable scheduled dashboard refreshes using the current revision. This can start engine work.",
        "operationId": "resume_dashboard",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_dashboards_src_models_rs_DashboardMutationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "dashboard": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardDoc"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "resume dashboard",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/snapshots": {
      "get": {
        "description": "dashboard history. GET /api/v1/dashboards/{dashboard_id}/snapshots. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "dashboard_history",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "snapshots": {
                      "properties": {
                        "continuation_token": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "items": {
                          "items": {
                            "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardRefresh"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "dashboard history",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/snapshots/{refresh_id}": {
      "get": {
        "description": "dashboard snapshot. GET /api/v1/dashboards/{dashboard_id}/snapshots/{refresh_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "dashboard_snapshot",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "refresh_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "snapshot": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardRefresh"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "dashboard snapshot",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/snapshots/{refresh_id}/cancel": {
      "post": {
        "description": "cancel dashboard refresh. POST /api/v1/dashboards/{dashboard_id}/snapshots/{refresh_id}/cancel. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "cancel_dashboard_refresh",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "refresh_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "snapshot": {
                      "$ref": "#/components/schemas/app_dashboards_src_models_rs_DashboardRefresh"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "cancel dashboard refresh",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/dashboards/{dashboard_id}/snapshots/{refresh_id}/datasets/{dataset_id}/results": {
      "get": {
        "description": "Read a completed result page as base64 Arrow IPC. Query limit counts batches, not rows; the HTTP default is one batch. Use continuation_token for the next page. HTTP does not accept the MCP-only result_format, max_rows, or row_offset arguments.",
        "operationId": "dashboard_dataset_results",
        "parameters": [
          {
            "in": "path",
            "name": "dashboard_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "dataset_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "refresh_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_api_src_models_rs_ResultPage"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "dashboard dataset results",
        "tags": [
          "Dashboards"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/execution-options": {
      "get": {
        "description": "execution options. GET /api/v1/execution-options. List configured provisioner names, compute profiles, instance defaults, and known resource limits. No credentials are returned.",
        "operationId": "execution_options",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "default_worker_scope": {
                      "type": "string"
                    },
                    "deployment": {
                      "type": "object"
                    },
                    "profiles": {
                      "type": "object"
                    },
                    "provisioners": {
                      "type": "object"
                    },
                    "supported_scopes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "execution options",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/feature-flags": {
      "get": {
        "description": "get feature flags. GET /api/v1/feature-flags. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_feature_flags",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shared_config_src_flags_rs_FlagDocument"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get feature flags",
        "tags": [
          "Configuration and capabilities"
        ],
        "x-effect": "read"
      },
      "put": {
        "description": "update feature flag. PUT /api/v1/feature-flags. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "update_feature_flag",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "expected_revision": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "path": {
                    "type": "string"
                  }
                },
                "required": [
                  "expected_revision",
                  "path",
                  "enabled"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shared_config_src_flags_rs_FlagDocument"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "update feature flag",
        "tags": [
          "Configuration and capabilities"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/notebooks": {
      "get": {
        "description": "list notebooks. GET /api/v1/notebooks. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_notebooks",
        "parameters": [
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list notebooks",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "create notebook. POST /api/v1/notebooks. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "create_notebook",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_notebooks_core_src_models_rs_NotebookCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "create notebook",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/notebooks/import": {
      "post": {
        "description": "import notebook. POST /api/v1/notebooks/import. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "import_notebook",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "document": {
                    "description": "A complete nbformat 4 .ipynb document. Set metadata.kernelspec.name to sql or python3. Code cells have id, cell_type, metadata, source (string or array of lines), outputs:[], execution_count:null. Markdown cells have id, cell_type, metadata and source.",
                    "type": "object"
                  },
                  "name": {
                    "type": "string"
                  },
                  "settings": {
                    "additionalProperties": false,
                    "properties": {
                      "options": {
                        "additionalProperties": false,
                        "properties": {
                          "compute_requirements": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "cpu_millicores": {
                                    "minimum": 1,
                                    "type": "integer"
                                  },
                                  "memory_bytes": {
                                    "minimum": 1,
                                    "type": "integer"
                                  },
                                  "tuning": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "batch_rows": {
                                            "maximum": 1048576,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "buffer_bytes": {
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "file_read_concurrency": {
                                            "maximum": 32,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "input_prefetch_batches": {
                                            "maximum": 32,
                                            "minimum": 0,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "output_buffer_batches": {
                                            "maximum": 32,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "query_memory_bytes": {
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "spill_bytes": {
                                            "minimum": 0,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "threads": {
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "write_batch_rows": {
                                            "description": "Sink batch row limit. Defaults to 65536 independently of reader batches.",
                                            "maximum": 1048576,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "write_parallelism": {
                                            "description": "Concurrent worker-local file writers. Defaults to execution threads and cannot exceed them.",
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ],
                                    "description": "Optional resource-aware execution overrides; omitted fields scale with CPU and memory."
                                  }
                                },
                                "required": [
                                  "cpu_millicores",
                                  "memory_bytes"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "deployment_profile": {
                            "description": "Deployment compute pool. Omit to use its default. Cannot combine with provisioner, profile, or compute_requirements.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "execution_target": {
                            "enum": [
                              "DataFusion",
                              "DuckDb",
                              null
                            ]
                          },
                          "execution_timeout": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "nanos": {
                                    "maximum": 999999999,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "secs": {
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "secs",
                                  "nanos"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "max_attempts": {
                            "minimum": 1,
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "missed_run_policy": {
                            "enum": [
                              "RunOnce",
                              "RunAll",
                              "Skip",
                              null
                            ]
                          },
                          "overlap_policy": {
                            "enum": [
                              "Wait",
                              "Skip",
                              "Allow",
                              null
                            ]
                          },
                          "parallelism": {
                            "description": "Maximum concurrent tasks. Unset has no per-run limit. Workload scope reuses workers within the run. Compute requirements apply per worker.",
                            "maximum": 4294967295,
                            "minimum": 1,
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "profile": {
                            "description": "Named compute profile. Do not combine with custom compute_requirements.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "provisioner": {
                            "description": "Named provisioner. Omit to inherit the instance default.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "queue_timeout": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "nanos": {
                                    "maximum": 999999999,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "secs": {
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "secs",
                                  "nanos"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Optional time to wait after a task enters the execution queue."
                          },
                          "worker_scope": {
                            "description": "Deployment shares startup pools. Workload reuses workers within a run. Task creates a worker for each attempt.",
                            "enum": [
                              "Deployment",
                              "Workload",
                              "Task",
                              null
                            ]
                          },
                          "xray": {
                            "description": "Capture detailed performance for this session operation only. Default false. Requires the Xray feature flag.",
                            "type": "boolean"
                          }
                        },
                        "required": [],
                        "type": "object"
                      },
                      "query": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "ansi_enabled": {
                                "type": "boolean"
                              },
                              "case_sensitive": {
                                "type": "boolean"
                              },
                              "current_catalog": {
                                "type": "string"
                              },
                              "namespace": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "time_zone": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "current_catalog",
                              "namespace",
                              "time_zone",
                              "case_sensitive",
                              "ansi_enabled"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [],
                    "type": "object"
                  },
                  "submission_id": {
                    "format": "uuid",
                    "type": "string"
                  }
                },
                "required": [
                  "submission_id",
                  "name",
                  "document"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "import notebook",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/notebooks/summaries": {
      "get": {
        "description": "list notebook summaries. GET /api/v1/notebooks/summaries. Prefer this lightweight listing to list_notebooks when document bodies and outputs are unnecessary.",
        "operationId": "list_notebook_summaries",
        "parameters": [
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSummaryListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list notebook summaries",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}": {
      "delete": {
        "description": "delete notebook. DELETE /api/v1/notebooks/{notebook_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "delete_notebook",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expected_revision": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "expected_revision"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookDeleteResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "delete notebook",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "delete"
      },
      "get": {
        "description": "get notebook. GET /api/v1/notebooks/{notebook_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_notebook",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get notebook",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      },
      "put": {
        "description": "save notebook. PUT /api/v1/notebooks/{notebook_id}. Save a complete ipynb document using its current revision. Include existing settings to preserve execution settings.",
        "operationId": "save_notebook",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "document": {
                    "description": "A complete nbformat 4 .ipynb document. Set metadata.kernelspec.name to sql or python3. Code cells have id, cell_type, metadata, source (string or array of lines), outputs:[], execution_count:null. Markdown cells have id, cell_type, metadata and source.",
                    "type": "object"
                  },
                  "expected_revision": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "settings": {
                    "additionalProperties": false,
                    "properties": {
                      "options": {
                        "additionalProperties": false,
                        "properties": {
                          "compute_requirements": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "cpu_millicores": {
                                    "minimum": 1,
                                    "type": "integer"
                                  },
                                  "memory_bytes": {
                                    "minimum": 1,
                                    "type": "integer"
                                  },
                                  "tuning": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "batch_rows": {
                                            "maximum": 1048576,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "buffer_bytes": {
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "file_read_concurrency": {
                                            "maximum": 32,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "input_prefetch_batches": {
                                            "maximum": 32,
                                            "minimum": 0,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "output_buffer_batches": {
                                            "maximum": 32,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "query_memory_bytes": {
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "spill_bytes": {
                                            "minimum": 0,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "threads": {
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "write_batch_rows": {
                                            "description": "Sink batch row limit. Defaults to 65536 independently of reader batches.",
                                            "maximum": 1048576,
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          },
                                          "write_parallelism": {
                                            "description": "Concurrent worker-local file writers. Defaults to execution threads and cannot exceed them.",
                                            "minimum": 1,
                                            "type": [
                                              "integer",
                                              "null"
                                            ]
                                          }
                                        },
                                        "required": [],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ],
                                    "description": "Optional resource-aware execution overrides; omitted fields scale with CPU and memory."
                                  }
                                },
                                "required": [
                                  "cpu_millicores",
                                  "memory_bytes"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "deployment_profile": {
                            "description": "Deployment compute pool. Omit to use its default. Cannot combine with provisioner, profile, or compute_requirements.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "execution_target": {
                            "enum": [
                              "DataFusion",
                              "DuckDb",
                              null
                            ]
                          },
                          "execution_timeout": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "nanos": {
                                    "maximum": 999999999,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "secs": {
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "secs",
                                  "nanos"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "max_attempts": {
                            "minimum": 1,
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "missed_run_policy": {
                            "enum": [
                              "RunOnce",
                              "RunAll",
                              "Skip",
                              null
                            ]
                          },
                          "overlap_policy": {
                            "enum": [
                              "Wait",
                              "Skip",
                              "Allow",
                              null
                            ]
                          },
                          "parallelism": {
                            "description": "Maximum concurrent tasks. Unset has no per-run limit. Workload scope reuses workers within the run. Compute requirements apply per worker.",
                            "maximum": 4294967295,
                            "minimum": 1,
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "profile": {
                            "description": "Named compute profile. Do not combine with custom compute_requirements.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "provisioner": {
                            "description": "Named provisioner. Omit to inherit the instance default.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "queue_timeout": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "nanos": {
                                    "maximum": 999999999,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "secs": {
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "secs",
                                  "nanos"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Optional time to wait after a task enters the execution queue."
                          },
                          "worker_scope": {
                            "description": "Deployment shares startup pools. Workload reuses workers within a run. Task creates a worker for each attempt.",
                            "enum": [
                              "Deployment",
                              "Workload",
                              "Task",
                              null
                            ]
                          },
                          "xray": {
                            "description": "Capture detailed performance for this session operation only. Default false. Requires the Xray feature flag.",
                            "type": "boolean"
                          }
                        },
                        "required": [],
                        "type": "object"
                      },
                      "query": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "ansi_enabled": {
                                "type": "boolean"
                              },
                              "case_sensitive": {
                                "type": "boolean"
                              },
                              "current_catalog": {
                                "type": "string"
                              },
                              "namespace": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "time_zone": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "current_catalog",
                              "namespace",
                              "time_zone",
                              "case_sensitive",
                              "ansi_enabled"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [],
                    "type": "object"
                  }
                },
                "required": [
                  "expected_revision",
                  "name",
                  "document"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "save notebook",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/notebooks/{notebook_id}/export": {
      "get": {
        "description": "export notebook. GET /api/v1/notebooks/{notebook_id}/export. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "export_notebook",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "include_outputs",
            "required": false,
            "schema": {
              "default": false,
              "description": "Pass false to keep exports small; the HTTP default is true.",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "cells": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "metadata": {
                      "type": "object"
                    },
                    "nbformat": {
                      "type": "integer"
                    },
                    "nbformat_minor": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "export notebook",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/revisions": {
      "get": {
        "description": "notebook revisions. GET /api/v1/notebooks/{notebook_id}/revisions. Read saved notebook revision history or one exact revision without changing the active document.",
        "operationId": "notebook_revisions",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRevisionListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "notebook revisions",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/revisions/{revision}": {
      "get": {
        "description": "notebook revision. GET /api/v1/notebooks/{notebook_id}/revisions/{revision}. Read saved notebook revision history or one exact revision without changing the active document.",
        "operationId": "notebook_revision",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "revision",
            "required": true,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "notebook revision",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/run-summaries": {
      "get": {
        "description": "notebook run summaries. GET /api/v1/notebooks/{notebook_id}/run-summaries. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "notebook_run_summaries",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunSummaryListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "notebook run summaries",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/runs": {
      "get": {
        "description": "list notebook runs. GET /api/v1/notebooks/{notebook_id}/runs. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_notebook_runs",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list notebook runs",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "submit notebook run. POST /api/v1/notebooks/{notebook_id}/runs. Run one cell (cell_id) or all code cells sequentially. Python runs trusted code in the notebook kernel with spark available. SQL uses the engine. Requires the current notebook revision. Poll get_notebook_run and notebook_outputs.",
        "operationId": "submit_notebook_run",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cell_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "cell_ids": {
                    "anyOf": [
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "expected_revision": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "parameters": {
                    "type": "object"
                  },
                  "session_id": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "submission_id": {
                    "format": "uuid",
                    "type": "string"
                  }
                },
                "required": [
                  "submission_id",
                  "session_id",
                  "expected_revision"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunResponse"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "submit notebook run",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/notebooks/{notebook_id}/runs/{run_id}": {
      "get": {
        "description": "get notebook run. GET /api/v1/notebooks/{notebook_id}/runs/{run_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_notebook_run",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookRunResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get notebook run",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/runs/{run_id}/cells/{execution_id}/events": {
      "get": {
        "description": "Use the connected instance's access context. Read identifiers and current state before submitting a mutation.",
        "operationId": "notebook_events",
        "parameters": [
          {
            "in": "path",
            "name": "execution_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after_sequence",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Server-sent events. Stop watching does not cancel the turn."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "notebook events",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/runs/{run_id}/cells/{execution_id}/outputs": {
      "get": {
        "description": "notebook outputs. GET /api/v1/notebooks/{notebook_id}/runs/{run_id}/cells/{execution_id}/outputs. Read retained cell output events, including sequence IDs. execution_id is a cell execution ID, not its document cell_id. Continue with after_sequence; get_notebook_run reports terminal status.",
        "operationId": "notebook_outputs",
        "parameters": [
          {
            "in": "path",
            "name": "execution_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after_sequence",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookOutputResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "notebook outputs",
        "tags": [
          "Notebooks"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/sessions": {
      "get": {
        "description": "list notebook sessions. GET /api/v1/notebooks/{notebook_id}/sessions. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_notebook_sessions",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list notebook sessions",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "open notebook session. POST /api/v1/notebooks/{notebook_id}/sessions. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "open_notebook_session",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "kernel_name": {
                    "default": "sql",
                    "enum": [
                      "sql",
                      "python3"
                    ]
                  },
                  "submission_id": {
                    "format": "uuid",
                    "type": "string"
                  }
                },
                "required": [
                  "submission_id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "open notebook session",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/notebooks/{notebook_id}/sessions/{session_id}": {
      "delete": {
        "description": "close notebook session. DELETE /api/v1/notebooks/{notebook_id}/sessions/{session_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "close_notebook_session",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "close notebook session",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "delete"
      },
      "get": {
        "description": "get notebook session. GET /api/v1/notebooks/{notebook_id}/sessions/{session_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_notebook_session",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get notebook session",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/notebooks/{notebook_id}/sessions/{session_id}/interrupt": {
      "post": {
        "description": "interrupt notebook session. POST /api/v1/notebooks/{notebook_id}/sessions/{session_id}/interrupt. Interrupt the notebook kernel and request cancellation of active engine operations in its session. Poll operation status until cleanup finishes.",
        "operationId": "interrupt_notebook_session",
        "parameters": [
          {
            "in": "path",
            "name": "notebook_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_notebooks_core_src_models_rs_NotebookSessionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "interrupt notebook session",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/operations": {
      "get": {
        "description": "global operation history. GET /api/v1/operations. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "global_operation_history",
        "parameters": [
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "end_unix_millis",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "live",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "max_duration_millis",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "min_duration_millis",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "session_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "start_unix_millis",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "workload_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_session_src_models_rs_GlobalOperationListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "global operation history",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/runs": {
      "get": {
        "description": "global run summaries. GET /api/v1/runs. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "global_run_summaries",
        "parameters": [
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_runs_model_rs_RunSummaryListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "global run summaries",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/search/{kind}": {
      "get": {
        "description": "search resources. GET /api/v1/search/{kind}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "search_resources",
        "parameters": [
          {
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "catalog_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "end_unix_millis",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "namespace",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "object_kind",
            "required": false,
            "schema": {
              "enum": [
                "Table",
                "View"
              ]
            }
          },
          {
            "in": "query",
            "name": "provider",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "start_unix_millis",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "updated_after",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "continuation_token": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "items": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "warnings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "search resources",
        "tags": [
          "Configuration and capabilities"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions": {
      "get": {
        "description": "list session summaries. GET /api/v1/sessions. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_session_summaries",
        "parameters": [
          {
            "in": "query",
            "name": "closed",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_session_src_models_rs_SessionListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list session summaries",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "open session. POST /api/v1/sessions. Create a session owned by the configured HTTP owner. Creation is not idempotent; retain the returned session_id.",
        "operationId": "open_session",
        "parameters": [],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_api_src_models_rs_SessionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "open session",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/sessions/{session_id}": {
      "delete": {
        "description": "close session. DELETE /api/v1/sessions/{session_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "close_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "released": {
                      "type": "boolean"
                    },
                    "session_id": {
                      "format": "uuid",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "close session",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "delete"
      },
      "get": {
        "description": "read session. GET /api/v1/sessions/{session_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "read_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_api_src_models_rs_SessionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "read session",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/analyze": {
      "post": {
        "description": "analyze. POST /api/v1/sessions/{session_id}/analyze. Inspect SQL schema or explain its plan without submitting an execution.",
        "operationId": "analyze",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_AnalyzeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "explanation": {
                      "type": "string"
                    },
                    "schema": {}
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "analyze",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/config": {
      "get": {
        "description": "get config. GET /api/v1/sessions/{session_id}/config. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_config",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "values": {
                      "additionalProperties": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": "object"
                    },
                    "warnings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get config",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      },
      "patch": {
        "description": "set config. PATCH /api/v1/sessions/{session_id}/config. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "set_config",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_ConfigureRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "values": {
                      "additionalProperties": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": "object"
                    },
                    "warnings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "set config",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/sessions/{session_id}/config/{key}": {
      "delete": {
        "description": "unset config. DELETE /api/v1/sessions/{session_id}/config/{key}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "unset_config",
        "parameters": [
          {
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "values": {
                      "additionalProperties": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": "object"
                    },
                    "warnings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "unset config",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "delete"
      }
    },
    "/api/v1/sessions/{session_id}/operations": {
      "get": {
        "description": "list operations. GET /api/v1/sessions/{session_id}/operations. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_operations",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_session_src_models_rs_OperationListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list operations",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "submit operation. POST /api/v1/sessions/{session_id}/operations. Execute SQL in an existing session. SQL may read or modify data. Returns operation identity/status, not completed rows. Reuse operation_id on retries; poll operation_status, then operation_results.",
        "operationId": "submit_operation",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_SqlOperationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_gateway_src_models_rs_OperationStatusResponse"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "submit operation",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/sessions/{session_id}/operations/{operation_id}": {
      "get": {
        "description": "operation status. GET /api/v1/sessions/{session_id}/operations/{operation_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "operation_status",
        "parameters": [
          {
            "in": "path",
            "name": "operation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_gateway_src_models_rs_OperationStatusResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "operation status",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/operations/{operation_id}/attempts": {
      "get": {
        "description": "operation attempts. GET /api/v1/sessions/{session_id}/operations/{operation_id}/attempts. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "operation_attempts",
        "parameters": [
          {
            "in": "path",
            "name": "operation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskAttemptListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "operation attempts",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/operations/{operation_id}/attempts/{attempt_id}": {
      "get": {
        "description": "get operation attempt. GET /api/v1/sessions/{session_id}/operations/{operation_id}/attempts/{attempt_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_operation_attempt",
        "parameters": [
          {
            "in": "path",
            "name": "attempt_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_AttemptStatusResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get operation attempt",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/operations/{operation_id}/cancel": {
      "post": {
        "description": "cancel operation. POST /api/v1/sessions/{session_id}/operations/{operation_id}/cancel. Request cancellation of this session operation. Repeated calls are safe. Poll operation_status until terminal and cleanup_complete.",
        "operationId": "cancel_operation",
        "parameters": [
          {
            "in": "path",
            "name": "operation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "cancel operation",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/sessions/{session_id}/operations/{operation_id}/results": {
      "get": {
        "description": "Read a completed result page as base64 Arrow IPC. Query limit counts batches, not rows; the HTTP default is one batch. Use continuation_token for the next page. HTTP does not accept the MCP-only result_format, max_rows, or row_offset arguments.",
        "operationId": "operation_results",
        "parameters": [
          {
            "in": "path",
            "name": "operation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_api_src_models_rs_ResultPage"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "operation results",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/operations/{operation_id}/results/metadata": {
      "get": {
        "description": "operation metadata. GET /api/v1/sessions/{session_id}/operations/{operation_id}/results/metadata. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "operation_metadata",
        "parameters": [
          {
            "in": "path",
            "name": "operation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_gateway_src_models_rs_ResultMetadataResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "operation metadata",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/operations/{operation_id}/xray": {
      "get": {
        "description": "operation xray. GET /api/v1/sessions/{session_id}/operations/{operation_id}/xray. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "operation_xray",
        "parameters": [
          {
            "in": "path",
            "name": "operation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "operation xray",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/sessions/{session_id}/summary": {
      "get": {
        "description": "session summary. GET /api/v1/sessions/{session_id}/summary. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "session_summary",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_session_src_models_rs_SessionSummary"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "session summary",
        "tags": [
          "Sessions and SQL"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/telemetry/metrics/dashboard": {
      "post": {
        "description": "dashboard metrics. POST /api/v1/telemetry/metrics/dashboard. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "dashboard_metrics",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "dashboard": {
                    "additionalProperties": false,
                    "properties": {
                      "end_unix_millis": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "panels": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "denominator": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "filters": {
                                      "additionalProperties": {
                                        "items": {
                                          "type": "string"
                                        },
                                        "type": "array"
                                      },
                                      "type": "object"
                                    },
                                    "metric": {
                                      "type": "string"
                                    },
                                    "stat": {
                                      "enum": [
                                        "gauge",
                                        "rate",
                                        "p50",
                                        "p95",
                                        "age",
                                        "never"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "metric"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "group_by": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "id": {
                              "type": "string"
                            },
                            "operand": {
                              "additionalProperties": false,
                              "properties": {
                                "filters": {
                                  "additionalProperties": {
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  "type": "object"
                                },
                                "metric": {
                                  "type": "string"
                                },
                                "stat": {
                                  "enum": [
                                    "gauge",
                                    "rate",
                                    "p50",
                                    "p95",
                                    "age",
                                    "never"
                                  ]
                                }
                              },
                              "required": [
                                "metric"
                              ],
                              "type": "object"
                            },
                            "reduction": {
                              "enum": [
                                "sum",
                                "max"
                              ]
                            },
                            "top": {
                              "minimum": 1,
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "operand"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "start_unix_millis": {
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "start_unix_millis",
                      "end_unix_millis",
                      "panels"
                    ],
                    "type": "object"
                  },
                  "filters": {
                    "additionalProperties": false,
                    "properties": {
                      "cell_execution_id": {
                        "type": "string"
                      },
                      "component": {
                        "type": "string"
                      },
                      "continuation_token": {
                        "type": "string"
                      },
                      "end_unix_millis": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "latest": {
                        "type": "boolean"
                      },
                      "limit": {
                        "minimum": 1,
                        "type": "integer"
                      },
                      "max_points": {
                        "minimum": 1,
                        "type": "integer"
                      },
                      "max_series": {
                        "minimum": 1,
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "notebook_id": {
                        "type": "string"
                      },
                      "notebook_run_id": {
                        "type": "string"
                      },
                      "operation_id": {
                        "type": "string"
                      },
                      "process_instance": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      },
                      "role": {
                        "type": "string"
                      },
                      "session_id": {
                        "type": "string"
                      },
                      "severity": {
                        "enum": [
                          "debug",
                          "info",
                          "warn",
                          "error"
                        ]
                      },
                      "start_unix_millis": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "task_attempt_id": {
                        "type": "string"
                      },
                      "task_run_id": {
                        "type": "string"
                      },
                      "trace_id": {
                        "type": "string"
                      },
                      "worker_id": {
                        "format": "uuid",
                        "type": "string"
                      },
                      "workload_id": {
                        "type": "string"
                      },
                      "workload_run_id": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "type": "object"
                  }
                },
                "required": [
                  "dashboard"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/telemetry_src_history_models_rs_HistoryPage"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "dashboard metrics",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/telemetry/prometheus/api/v1/{path}": {
      "get": {
        "description": "Proxy a supported Prometheus API path. Query values remain URL query parameters for both GET and POST.",
        "operationId": "prometheus_query",
        "parameters": [
          {
            "in": "path",
            "name": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "prometheus query",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "Proxy a supported Prometheus API path. Query values remain URL query parameters for both GET and POST.",
        "operationId": "prometheus_query_post",
        "parameters": [
          {
            "in": "path",
            "name": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "prometheus query post",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/telemetry/sql": {
      "post": {
        "description": "telemetry sql. POST /api/v1/telemetry/sql. Read local Greptime with one bounded SELECT query. Select metrics, logs, or traces. Writes, external files, and other databases are rejected.",
        "operationId": "telemetry_sql",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "query": {
                    "type": "string"
                  },
                  "signal": {
                    "enum": [
                      "metrics",
                      "logs",
                      "traces"
                    ]
                  }
                },
                "required": [
                  "signal",
                  "query"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "output": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "telemetry sql",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/telemetry/status": {
      "get": {
        "description": "telemetry status. GET /api/v1/telemetry/status. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "telemetry_status",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "backend": {
                      "const": "greptime"
                    },
                    "history": {
                      "properties": {
                        "degraded": {
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    },
                    "ready": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "telemetry status",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/telemetry/traces": {
      "get": {
        "description": "telemetry traces. GET /api/v1/telemetry/traces. Read bounded spans from the latest 15 minutes. Trace IDs accept hexadecimal or UUID form.",
        "operationId": "telemetry_traces",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "trace_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "records": {
                      "items": {
                        "$ref": "#/components/schemas/app_telemetry_src_traces_rs_RecentTrace"
                      },
                      "type": "array"
                    },
                    "truncated": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "telemetry traces",
        "tags": [
          "Observability"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workers": {
      "get": {
        "description": "list workers. GET /api/v1/workers. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_workers",
        "parameters": [
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "enum": [
                "Requested",
                "Provisioning",
                "WaitingWorker",
                "Idle",
                "Busy",
                "Releasing",
                "Released",
                "Failed",
                "OutcomeUnknown"
              ]
            }
          },
          {
            "in": "query",
            "name": "workload_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "continuation_token": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "items": {
                      "items": {
                        "$ref": "#/components/schemas/app_api_src_service_workers_rs_WorkerView"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list workers",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workers/admission": {
      "post": {
        "description": "update worker admission. POST /api/v1/workers/admission. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "update_worker_admission",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "draining": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "draining"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_admission_mod_rs_AdmissionStatus"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "update worker admission",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workers/capacity": {
      "get": {
        "description": "worker capacity. GET /api/v1/workers/capacity. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "worker_capacity",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_pools_status_rs_ComputeStatus"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "worker capacity",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workers/profiles": {
      "post": {
        "description": "Change shared compute capacity. CPU and memory choices affect new work; review existing profiles and limits first.",
        "operationId": "create_deployment_profile",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_kernel_controller_src_pools_settings_rs_DeploymentProfileCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_pools_settings_rs_DeploymentProfileSettings"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "create deployment profile",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workers/profiles/{name}": {
      "delete": {
        "description": "delete deployment profile. DELETE /api/v1/workers/profiles/{name}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "delete_deployment_profile",
        "parameters": [
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expected_revision": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "expected_revision"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "delete deployment profile",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "delete"
      },
      "put": {
        "description": "Change shared compute capacity. CPU and memory choices affect new work; review existing profiles and limits first.",
        "operationId": "update_deployment_profile",
        "parameters": [
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_kernel_controller_src_pools_settings_rs_DeploymentProfileChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_pools_settings_rs_DeploymentProfileSettings"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "update deployment profile",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workers/profiles/{name}/state": {
      "post": {
        "description": "change deployment profile state. POST /api/v1/workers/profiles/{name}/state. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "change_deployment_profile_state",
        "parameters": [
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "action": {
                    "enum": [
                      "stop",
                      "resume",
                      "delete"
                    ]
                  },
                  "expected_revision": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "expected_revision",
                  "action"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "change deployment profile state",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workers/{allocation_id}": {
      "get": {
        "description": "worker details. GET /api/v1/workers/{allocation_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "worker_details",
        "parameters": [
          {
            "in": "path",
            "name": "allocation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_api_src_service_workers_rs_WorkerView"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "worker details",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workers/{allocation_id}/retire": {
      "post": {
        "description": "retire deployment worker. POST /api/v1/workers/{allocation_id}/retire. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "retire_deployment_worker",
        "parameters": [
          {
            "in": "path",
            "name": "allocation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "replace": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "replace"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "retire deployment worker",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workers/{allocation_id}/retry-provisioning": {
      "post": {
        "description": "retry worker provisioning. POST /api/v1/workers/{allocation_id}/retry-provisioning. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "retry_worker_provisioning",
        "parameters": [
          {
            "in": "path",
            "name": "allocation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "accepted": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "retry worker provisioning",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workers/{allocation_id}/tasks": {
      "get": {
        "description": "worker tasks. GET /api/v1/workers/{allocation_id}/tasks. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "worker_tasks",
        "parameters": [
          {
            "in": "path",
            "name": "allocation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "continuation_token": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "items": {
                      "items": {
                        "$ref": "#/components/schemas/app_api_src_service_workers_rs_WorkerTaskView"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "worker tasks",
        "tags": [
          "Compute and workers"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads": {
      "get": {
        "description": "list workloads. GET /api/v1/workloads. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_workloads",
        "parameters": [
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list workloads",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "create workload. POST /api/v1/workloads. Save SQL, batch Python and PySpark streaming tasks, dependencies, schedule and execution options. Python defaults to Batch; set python_mode to Streaming only for writeStream definitions. Creating a streaming workload starts it; use its Structured Streaming trigger for timing. options.worker_scope selects Deployment shared pools, Workload workers for one run, or Task workers per attempt. Set deployment_profile for Deployment mode. Task settings can override the workload mode. Workload reuses workers; options.parallelism optionally limits concurrent execution; unset has no per-run limit. Use validate_workload first. Updates require the current expected_revision. Set options.provisioner and options.profile for workload defaults, or provisioner and profile on a task. Use execution_options to list valid names. Choose a profile or custom compute_requirements at each level, not both.",
        "operationId": "create_workload",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_WorkloadCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "submission_id": "11111111-1111-4111-8111-111111111111",
                  "workload_id": "22222222-2222-4222-8222-222222222222"
                },
                "schema": {
                  "$ref": "#/components/schemas/kernel_driver_src_models_rs_WorkloadSubmissionResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "create workload",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/validate": {
      "post": {
        "description": "validate workload. POST /api/v1/workloads/validate. Validate a workload. Batch Python is not executed. Explicit Streaming Python runs as trusted code to capture its streaming plan, so streaming validation is an execution action.",
        "operationId": "validate_workload",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_WorkloadCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadValidationResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "validate workload",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}": {
      "delete": {
        "description": "delete workload. DELETE /api/v1/workloads/{workload_id}. Delete a workload from the saved workload list and block new runs. Stop streams and finish or cancel queued and active runs first. Existing run history and table data are kept. Requires the current expected_revision; reuse submission_id after a lost response.",
        "operationId": "delete_workload",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_WorkloadDeleteBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_driver_src_models_rs_WorkloadDeleteResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "delete workload",
        "tags": [
          "Workloads"
        ],
        "x-effect": "delete"
      },
      "get": {
        "description": "get workload. GET /api/v1/workloads/{workload_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_workload",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadGetResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get workload",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      },
      "put": {
        "description": "update workload. PUT /api/v1/workloads/{workload_id}. Save SQL, batch Python and PySpark streaming tasks, dependencies, schedule and execution options. Python defaults to Batch; set python_mode to Streaming only for writeStream definitions. Creating a streaming workload starts it; use its Structured Streaming trigger for timing. options.worker_scope selects Deployment shared pools, Workload workers for one run, or Task workers per attempt. Set deployment_profile for Deployment mode. Task settings can override the workload mode. Workload reuses workers; options.parallelism optionally limits concurrent execution; unset has no per-run limit. Use validate_workload first. Updates require the current expected_revision. Set options.provisioner and options.profile for workload defaults, or provisioner and profile on a task. Use execution_options to list valid names. Choose a profile or custom compute_requirements at each level, not both.",
        "operationId": "update_workload",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_WorkloadUpdateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadGetResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "update workload",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/backfills": {
      "get": {
        "description": "list backfills. GET /api/v1/workloads/{workload_id}/backfills. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_backfills",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "continuation_token": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "items": {
                      "items": {
                        "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillRecord"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list backfills",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "create backfill. POST /api/v1/workloads/{workload_id}/backfills. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "create_backfill",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_kernel_scheduler_src_backfills_model_rs_BackfillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillRecord"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "create backfill",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/backfills/preview": {
      "post": {
        "description": "preview backfill. POST /api/v1/workloads/{workload_id}/backfills/preview. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "preview_backfill",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_kernel_scheduler_src_backfills_model_rs_BackfillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillRecord"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "preview backfill",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/backfills/{backfill_id}": {
      "get": {
        "description": "get backfill. GET /api/v1/workloads/{workload_id}/backfills/{backfill_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_backfill",
        "parameters": [
          {
            "in": "path",
            "name": "backfill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillRecord"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get backfill",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "change backfill. POST /api/v1/workloads/{workload_id}/backfills/{backfill_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "change_backfill",
        "parameters": [
          {
            "in": "path",
            "name": "backfill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "action": {
                    "enum": [
                      "pause",
                      "resume",
                      "cancel",
                      "retry_notifications"
                    ]
                  }
                },
                "required": [
                  "action"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_backfills_model_rs_BackfillRecord"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "change backfill",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/pause": {
      "post": {
        "description": "pause workload. POST /api/v1/workloads/{workload_id}/pause. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "pause_workload",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_WorkloadScheduleStateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadGetResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "pause workload",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/resume": {
      "post": {
        "description": "resume workload. POST /api/v1/workloads/{workload_id}/resume. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "resume_workload",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_WorkloadScheduleStateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_workloads_model_rs_WorkloadGetResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "resume workload",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/run-summaries": {
      "get": {
        "description": "workload run summaries. GET /api/v1/workloads/{workload_id}/run-summaries. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "workload_run_summaries",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_runs_model_rs_RunSummaryListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "workload run summaries",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs": {
      "get": {
        "description": "list runs. GET /api/v1/workloads/{workload_id}/runs. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_runs",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_runs_model_rs_WorkloadRunListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list runs",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "start run. POST /api/v1/workloads/{workload_id}/runs. Submit a workload run; poll get_run and list_tasks. Reuse submission_id on retry. Assistant calls must include expected_revision from the current get_workload response.",
        "operationId": "start_run",
        "parameters": [
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_api_src_models_rs_RunCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "example": {
                  "submission_id": "44444444-4444-4444-8444-444444444444",
                  "workload_id": "22222222-2222-4222-8222-222222222222",
                  "workload_run_id": "33333333-3333-4333-8333-333333333333"
                },
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_runs_model_rs_WorkloadRunStartResponse"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "start run",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}": {
      "get": {
        "description": "get run. GET /api/v1/workloads/{workload_id}/runs/{run_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_run",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_runs_model_rs_WorkloadRunStatusResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get run",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/cancel": {
      "post": {
        "description": "cancel run. POST /api/v1/workloads/{workload_id}/runs/{run_id}/cancel. Request cancellation of this run without changing its schedule. Repeated calls are safe. Poll get_run until terminal; committed writes keep their outcome.",
        "operationId": "cancel_run",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_runs_model_rs_WorkloadRunCancelResponse"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "cancel run",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/notifications": {
      "get": {
        "description": "notification history. GET /api/v1/workloads/{workload_id}/runs/{run_id}/notifications. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "notification_history",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/app_notifications_src_lib_rs_Delivery"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "notification history",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/notifications/retry": {
      "post": {
        "description": "retry notification. POST /api/v1/workloads/{workload_id}/runs/{run_id}/notifications/retry. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "retry_notification",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "event_id": {
                    "type": "string"
                  },
                  "subscription": {
                    "type": "string"
                  }
                },
                "required": [
                  "event_id",
                  "subscription"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/app_notifications_src_lib_rs_Delivery"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "retry notification",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/profile": {
      "get": {
        "description": "run profile. GET /api/v1/workloads/{workload_id}/runs/{run_id}/profile. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "run_profile",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "download",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_RunProfileReport"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "run profile",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/profile/comparison": {
      "get": {
        "description": "compare run profiles. GET /api/v1/workloads/{workload_id}/runs/{run_id}/profile/comparison. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "compare_run_profiles",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "baseline_name",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "baseline_run_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "baseline_workload_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_ProfileComparison"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "compare run profiles",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/profile/evidence": {
      "put": {
        "description": "record profile evidence. PUT /api/v1/workloads/{workload_id}/runs/{run_id}/profile/evidence. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "record_profile_evidence",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "baselines": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "case_identity": {
                          "type": "string"
                        },
                        "cpu_millicores": {
                          "minimum": 1,
                          "type": "integer"
                        },
                        "dataset_identity": {
                          "type": "string"
                        },
                        "execution_nanos": {
                          "minimum": 1,
                          "type": "integer"
                        },
                        "image": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "memory_bytes": {
                          "minimum": 1,
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        },
                        "profiling": {
                          "type": "boolean"
                        },
                        "task_name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "timing": {
                          "enum": [
                            "task_execution",
                            "native_sql",
                            "wall"
                          ]
                        },
                        "version": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "name",
                        "dataset_identity",
                        "case_identity",
                        "cpu_millicores",
                        "memory_bytes",
                        "profiling",
                        "execution_nanos",
                        "timing"
                      ],
                      "type": "object"
                    },
                    "maxItems": 128,
                    "type": "array"
                  },
                  "cache_policy": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "case_identity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "checks": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "actual": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "expected": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "passed": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "name",
                        "passed"
                      ],
                      "type": "object"
                    },
                    "maxItems": 256,
                    "type": "array"
                  },
                  "dataset_identity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "labels": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "task_identities": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "version": {
                    "enum": [
                      1
                    ],
                    "type": "integer"
                  }
                },
                "required": [
                  "version"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_ProfileEvidenceResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "record profile evidence",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/rerun": {
      "post": {
        "description": "start rerun. POST /api/v1/workloads/{workload_id}/runs/{run_id}/rerun. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "start_rerun",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_RerunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_scheduler_src_runs_model_rs_WorkloadRunStartResponse"
                }
              }
            },
            "description": "Accepted. Follow the returned identity to inspect completion."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "start rerun",
        "tags": [
          "Workloads"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/rerun/preview": {
      "post": {
        "description": "preview rerun. POST /api/v1/workloads/{workload_id}/runs/{run_id}/rerun/preview. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "preview_rerun",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_shared_common_src_workflow_rs_RerunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/shared_common_src_workflow_rs_RerunPlan"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "preview rerun",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/tasks": {
      "get": {
        "description": "list tasks. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_tasks",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list tasks",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}": {
      "get": {
        "description": "get task. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_task",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskStatusResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get task",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts": {
      "get": {
        "description": "list attempts. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_attempts",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_TaskAttemptListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list attempts",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts/{attempt_id}": {
      "get": {
        "description": "get attempt. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts/{attempt_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_attempt",
        "parameters": [
          {
            "in": "path",
            "name": "attempt_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_attempts_model_rs_AttemptStatusResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get attempt",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/profile": {
      "get": {
        "description": "task profile. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/profile. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "task_profile",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "download",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/kernel_controller_src_profiling_model_rs_RunProfileReport"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "task profile",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/results": {
      "get": {
        "description": "Read a completed result page as base64 Arrow IPC. Query limit counts batches, not rows; the HTTP default is one batch. Use continuation_token for the next page. HTTP does not accept the MCP-only result_format, max_rows, or row_offset arguments.",
        "operationId": "task_results",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_api_src_models_rs_ResultPage"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "task results",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/results/metadata": {
      "get": {
        "description": "task metadata. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/results/metadata. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "task_metadata",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workload_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/frontend_gateway_src_models_rs_ResultMetadataResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "task metadata",
        "tags": [
          "Workloads"
        ],
        "x-effect": "read"
      }
    },
    "/api/v1/workspace/documents": {
      "get": {
        "description": "list workspace documents. GET /api/v1/workspace/documents. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "list_workspace_documents",
        "parameters": [
          {
            "in": "query",
            "name": "continuation_token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "Query",
                "Dashboard"
              ]
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "description": "Page size, bounded by the server. For query results this counts Arrow batches, default 1.",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentListResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "list workspace documents",
        "tags": [
          "Workspace documents"
        ],
        "x-effect": "read"
      },
      "post": {
        "description": "create workspace document. POST /api/v1/workspace/documents. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "create_workspace_document",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_DocumentCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "create workspace document",
        "tags": [
          "Workspace documents"
        ],
        "x-effect": "write"
      }
    },
    "/api/v1/workspace/documents/{document_id}": {
      "delete": {
        "description": "delete workspace document. DELETE /api/v1/workspace/documents/{document_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "delete_workspace_document",
        "parameters": [
          {
            "in": "path",
            "name": "document_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_DocumentDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentDeleteResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "delete workspace document",
        "tags": [
          "Workspace documents"
        ],
        "x-effect": "delete"
      },
      "get": {
        "description": "get workspace document. GET /api/v1/workspace/documents/{document_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "get_workspace_document",
        "parameters": [
          {
            "in": "path",
            "name": "document_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "get workspace document",
        "tags": [
          "Workspace documents"
        ],
        "x-effect": "read"
      },
      "put": {
        "description": "save workspace document. PUT /api/v1/workspace/documents/{document_id}. Uses the same payload, validation, revision checks and response as the unified HTTP API.",
        "operationId": "save_workspace_document",
        "parameters": [
          {
            "in": "path",
            "name": "document_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input_app_workspace_src_models_rs_DocumentSaveRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/app_workspace_src_models_rs_DocumentResponse"
                }
              }
            },
            "description": "Successful response."
          },
          "default": {
            "content": {
              "application/json": {
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Check the request fields"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            },
            "description": "A rejected or failed request. Inspect error.code before retrying."
          }
        },
        "summary": "save workspace document",
        "tags": [
          "Workspace documents"
        ],
        "x-effect": "write"
      }
    }
  },
  "servers": [
    {
      "url": "https://engine.example.com",
      "description": "Example engine origin. Replace it with your deployment URL and any API mount prefix."
    }
  ]
}
