{
  "components": {
    "schemas": {
      "CacheStatusResponse": {
        "properties": {
          "last_synced": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Synced"
          },
          "maintenance_allowlist": {
            "items": {
              "type": "string"
            },
            "title": "Maintenance Allowlist",
            "type": "array"
          },
          "table_count": {
            "title": "Table Count",
            "type": "integer"
          }
        },
        "required": [
          "last_synced",
          "table_count",
          "maintenance_allowlist"
        ],
        "title": "CacheStatusResponse",
        "type": "object"
      },
      "DerivedStatusResponse": {
        "properties": {
          "large_file_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Large File Count"
          },
          "large_file_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Large File Pct"
          },
          "small_file_count": {
            "title": "Small File Count",
            "type": "integer"
          },
          "small_file_pct": {
            "title": "Small File Pct",
            "type": "number"
          }
        },
        "required": [
          "small_file_count",
          "small_file_pct",
          "large_file_count",
          "large_file_pct"
        ],
        "title": "DerivedStatusResponse",
        "type": "object"
      },
      "FileStatusResponse": {
        "properties": {
          "avg_file_size_bytes": {
            "title": "Avg File Size Bytes",
            "type": "number"
          },
          "data_file_count": {
            "title": "Data File Count",
            "type": "integer"
          },
          "delete_file_count": {
            "title": "Delete File Count",
            "type": "integer"
          },
          "delete_file_ratio": {
            "title": "Delete File Ratio",
            "type": "number"
          },
          "equality_delete_file_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Equality Delete File Count"
          },
          "file_size_bins": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "File Size Bins",
            "type": "array"
          },
          "files_per_gb": {
            "title": "Files Per Gb",
            "type": "number"
          },
          "max_file_size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max File Size Bytes"
          },
          "min_file_size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min File Size Bytes"
          },
          "position_delete_file_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Position Delete File Count"
          },
          "total_data_size_bytes": {
            "title": "Total Data Size Bytes",
            "type": "integer"
          },
          "total_records": {
            "title": "Total Records",
            "type": "integer"
          }
        },
        "required": [
          "data_file_count",
          "delete_file_count",
          "position_delete_file_count",
          "equality_delete_file_count",
          "total_data_size_bytes",
          "total_records",
          "avg_file_size_bytes",
          "min_file_size_bytes",
          "max_file_size_bytes",
          "files_per_gb",
          "delete_file_ratio",
          "file_size_bins"
        ],
        "title": "FileStatusResponse",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "HealthAssessmentCollectionResponse": {
        "properties": {
          "source": {
            "title": "Source",
            "type": "string"
          },
          "stale": {
            "title": "Stale",
            "type": "boolean"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "title": "Warnings",
            "type": "array"
          }
        },
        "required": [
          "source",
          "stale",
          "warnings"
        ],
        "title": "HealthAssessmentCollectionResponse",
        "type": "object"
      },
      "HealthAssessmentResponse": {
        "properties": {
          "assessed_at": {
            "title": "Assessed At",
            "type": "string"
          },
          "collection": {
            "$ref": "#/components/schemas/HealthAssessmentCollectionResponse"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "health_status": {
            "title": "Health Status",
            "type": "string"
          },
          "issues": {
            "items": {
              "$ref": "#/components/schemas/HealthIssueResponse"
            },
            "title": "Issues",
            "type": "array"
          },
          "status_collected_at": {
            "title": "Status Collected At",
            "type": "string"
          },
          "table": {
            "$ref": "#/components/schemas/TableDetailResponse"
          }
        },
        "required": [
          "table",
          "assessed_at",
          "status_collected_at",
          "health_status",
          "issues",
          "collection",
          "error"
        ],
        "title": "HealthAssessmentResponse",
        "type": "object"
      },
      "HealthIssueResponse": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "evidence": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "number"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Evidence",
            "type": "object"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "severity": {
            "title": "Severity",
            "type": "string"
          }
        },
        "required": [
          "code",
          "severity",
          "message",
          "evidence"
        ],
        "title": "HealthIssueResponse",
        "type": "object"
      },
      "JobResponse": {
        "properties": {
          "actions": {
            "items": {
              "type": "string"
            },
            "title": "Actions",
            "type": "array"
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "database": {
            "title": "Database",
            "type": "string"
          },
          "dry_run": {
            "title": "Dry Run",
            "type": "boolean"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "results": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/MaintenanceActionResult"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Results"
          },
          "started_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "submitted_at": {
            "title": "Submitted At",
            "type": "string"
          },
          "table_name": {
            "title": "Table Name",
            "type": "string"
          }
        },
        "required": [
          "job_id",
          "database",
          "table_name",
          "actions",
          "dry_run",
          "status",
          "submitted_at",
          "started_at",
          "completed_at",
          "results",
          "error"
        ],
        "title": "JobResponse",
        "type": "object"
      },
      "MaintenanceActionResult": {
        "properties": {
          "action": {
            "title": "Action",
            "type": "string"
          },
          "elapsed_seconds": {
            "title": "Elapsed Seconds",
            "type": "number"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "impact": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Impact"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "action",
          "success",
          "message",
          "error",
          "elapsed_seconds"
        ],
        "title": "MaintenanceActionResult",
        "type": "object"
      },
      "MaintenanceHistoryResponse": {
        "properties": {
          "cadence_elapsed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cadence Elapsed"
          },
          "last_completed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Completed At"
          }
        },
        "title": "MaintenanceHistoryResponse",
        "type": "object"
      },
      "MaintenancePolicyResponse": {
        "properties": {
          "effective_cadence_hours": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Effective Cadence Hours"
          },
          "icepack_config": {
            "additionalProperties": {
              "$ref": "#/components/schemas/RecommendationScalar"
            },
            "title": "Icepack Config",
            "type": "object"
          },
          "maintenance_cadence_hours": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Maintenance Cadence Hours"
          },
          "maintenance_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Maintenance Enabled"
          },
          "opt_in_mode": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opt In Mode"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          }
        },
        "title": "MaintenancePolicyResponse",
        "type": "object"
      },
      "MaintenanceRecommendationResponse": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "evaluated_at": {
            "title": "Evaluated At",
            "type": "string"
          },
          "evidence": {
            "additionalProperties": {
              "additionalProperties": {
                "$ref": "#/components/schemas/RecommendationScalar"
              },
              "type": "object"
            },
            "title": "Evidence",
            "type": "object"
          },
          "history": {
            "$ref": "#/components/schemas/MaintenanceHistoryResponse"
          },
          "policy": {
            "$ref": "#/components/schemas/MaintenancePolicyResponse"
          },
          "recommended_actions": {
            "items": {
              "type": "string"
            },
            "title": "Recommended Actions",
            "type": "array"
          },
          "skip_reasons": {
            "items": {
              "type": "string"
            },
            "title": "Skip Reasons",
            "type": "array"
          },
          "status_collected_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status Collected At"
          },
          "table": {
            "$ref": "#/components/schemas/TableDetailResponse"
          }
        },
        "required": [
          "table",
          "evaluated_at",
          "status_collected_at",
          "recommended_actions",
          "skip_reasons",
          "error"
        ],
        "title": "MaintenanceRecommendationResponse",
        "type": "object"
      },
      "MaintenanceRequest": {
        "properties": {
          "actions": {
            "items": {
              "type": "string"
            },
            "title": "Actions",
            "type": "array"
          },
          "dry_run": {
            "default": false,
            "title": "Dry Run",
            "type": "boolean"
          }
        },
        "required": [
          "actions"
        ],
        "title": "MaintenanceRequest",
        "type": "object"
      },
      "ManifestStatusResponse": {
        "properties": {
          "manifest_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manifest Count"
          },
          "total_manifest_size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Manifest Size Bytes"
          }
        },
        "required": [
          "manifest_count",
          "total_manifest_size_bytes"
        ],
        "title": "ManifestStatusResponse",
        "type": "object"
      },
      "OrchestratorRunRequest": {
        "properties": {
          "completed_at": {
            "title": "Completed At",
            "type": "string"
          },
          "dry_run": {
            "default": false,
            "title": "Dry Run",
            "type": "boolean"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "jobs_completed": {
            "default": 0,
            "title": "Jobs Completed",
            "type": "integer"
          },
          "jobs_failed": {
            "default": 0,
            "title": "Jobs Failed",
            "type": "integer"
          },
          "jobs_submitted": {
            "default": 0,
            "title": "Jobs Submitted",
            "type": "integer"
          },
          "started_at": {
            "title": "Started At",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tables_assessed": {
            "default": 0,
            "title": "Tables Assessed",
            "type": "integer"
          },
          "tables_healthy": {
            "default": 0,
            "title": "Tables Healthy",
            "type": "integer"
          },
          "tables_skipped": {
            "default": 0,
            "title": "Tables Skipped",
            "type": "integer"
          }
        },
        "required": [
          "started_at",
          "completed_at",
          "status"
        ],
        "title": "OrchestratorRunRequest",
        "type": "object"
      },
      "PartitionStatusResponse": {
        "properties": {
          "avg_files_per_partition": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avg Files Per Partition"
          },
          "max_files_per_partition": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Files Per Partition"
          },
          "partition_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Partition Count"
          },
          "partition_skew_ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Partition Skew Ratio"
          },
          "partitions_with_delete_files": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Partitions With Delete Files"
          }
        },
        "required": [
          "partition_count",
          "avg_files_per_partition",
          "max_files_per_partition",
          "partition_skew_ratio",
          "partitions_with_delete_files"
        ],
        "title": "PartitionStatusResponse",
        "type": "object"
      },
      "RecommendationScalar": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ]
      },
      "SnapshotStatusResponse": {
        "properties": {
          "current_snapshot_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Snapshot Id"
          },
          "hours_since_last_snapshot": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hours Since Last Snapshot"
          },
          "oldest_snapshot_age_hours": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Oldest Snapshot Age Hours"
          },
          "snapshot_count": {
            "title": "Snapshot Count",
            "type": "integer"
          }
        },
        "required": [
          "current_snapshot_id",
          "snapshot_count",
          "hours_since_last_snapshot",
          "oldest_snapshot_age_hours"
        ],
        "title": "SnapshotStatusResponse",
        "type": "object"
      },
      "StatusCollectionResponse": {
        "properties": {
          "capped": {
            "title": "Capped",
            "type": "boolean"
          },
          "exact": {
            "title": "Exact",
            "type": "boolean"
          },
          "scan_mode": {
            "title": "Scan Mode",
            "type": "string"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "title": "Warnings",
            "type": "array"
          }
        },
        "required": [
          "scan_mode",
          "exact",
          "capped",
          "warnings"
        ],
        "title": "StatusCollectionResponse",
        "type": "object"
      },
      "TableDetailResponse": {
        "properties": {
          "database": {
            "title": "Database",
            "type": "string"
          },
          "format_version": {
            "title": "Format Version",
            "type": "integer"
          },
          "location": {
            "title": "Location",
            "type": "string"
          },
          "table_name": {
            "title": "Table Name",
            "type": "string"
          }
        },
        "required": [
          "database",
          "table_name",
          "location",
          "format_version"
        ],
        "title": "TableDetailResponse",
        "type": "object"
      },
      "TableResponse": {
        "properties": {
          "database": {
            "title": "Database",
            "type": "string"
          },
          "in_maintenance_allowlist": {
            "title": "In Maintenance Allowlist",
            "type": "boolean"
          },
          "table_name": {
            "title": "Table Name",
            "type": "string"
          }
        },
        "required": [
          "database",
          "table_name",
          "in_maintenance_allowlist"
        ],
        "title": "TableResponse",
        "type": "object"
      },
      "TableStatusResponse": {
        "properties": {
          "collected_at": {
            "title": "Collected At",
            "type": "string"
          },
          "collection": {
            "$ref": "#/components/schemas/StatusCollectionResponse"
          },
          "derived": {
            "$ref": "#/components/schemas/DerivedStatusResponse"
          },
          "files": {
            "$ref": "#/components/schemas/FileStatusResponse"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Error"
          },
          "manifests": {
            "$ref": "#/components/schemas/ManifestStatusResponse"
          },
          "partitions": {
            "$ref": "#/components/schemas/PartitionStatusResponse"
          },
          "snapshot": {
            "$ref": "#/components/schemas/SnapshotStatusResponse"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "stale": {
            "title": "Stale",
            "type": "boolean"
          },
          "table": {
            "$ref": "#/components/schemas/TableDetailResponse"
          }
        },
        "required": [
          "table",
          "collected_at",
          "source",
          "stale",
          "collection",
          "snapshot",
          "files",
          "derived",
          "manifests",
          "partitions",
          "last_error"
        ],
        "title": "TableStatusResponse",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      }
    }
  },
  "info": {
    "title": "Icepack",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/healthz": {
      "get": {
        "operationId": "healthz_healthz_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "title": "Response Healthz Healthz Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Healthz"
      }
    },
    "/jobs": {
      "get": {
        "operationId": "list_jobs_jobs_get",
        "parameters": [
          {
            "in": "query",
            "name": "table",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Table"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/JobResponse"
                  },
                  "title": "Response List Jobs Jobs Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Jobs"
      }
    },
    "/jobs/history": {
      "get": {
        "operationId": "list_job_history_jobs_history_get",
        "parameters": [
          {
            "in": "query",
            "name": "table",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Table"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "title": "Response List Job History Jobs History Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Job History"
      }
    },
    "/jobs/history/health": {
      "get": {
        "operationId": "list_health_history_jobs_history_health_get",
        "parameters": [
          {
            "in": "query",
            "name": "table",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Table"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/HealthAssessmentResponse"
                  },
                  "title": "Response List Health History Jobs History Health Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Health History"
      }
    },
    "/jobs/history/prune": {
      "post": {
        "operationId": "prune_history_jobs_history_prune_post",
        "parameters": [
          {
            "in": "query",
            "name": "retention_days",
            "required": false,
            "schema": {
              "default": 90,
              "minimum": 1,
              "title": "Retention Days",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "integer"
                  },
                  "title": "Response Prune History Jobs History Prune Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Prune History"
      }
    },
    "/jobs/{job_id}": {
      "delete": {
        "operationId": "delete_job_jobs__job_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "title": "Job Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Delete Job"
      },
      "get": {
        "operationId": "get_job_jobs__job_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "title": "Job Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Job"
      }
    },
    "/jobs/{job_id}/cancel": {
      "post": {
        "operationId": "cancel_job_jobs__job_id__cancel_post",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "title": "Job Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Cancel Job"
      }
    },
    "/orchestrator/runs": {
      "get": {
        "operationId": "list_orchestrator_runs_orchestrator_runs_get",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "title": "Response List Orchestrator Runs Orchestrator Runs Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Orchestrator Runs"
      },
      "post": {
        "operationId": "create_orchestrator_run_orchestrator_runs_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrchestratorRunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Create Orchestrator Run Orchestrator Runs Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Orchestrator Run"
      }
    },
    "/readyz": {
      "get": {
        "operationId": "readyz_readyz_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Readyz"
      }
    },
    "/tables": {
      "get": {
        "operationId": "list_tables_tables_get",
        "parameters": [
          {
            "in": "query",
            "name": "database",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Database"
            }
          },
          {
            "in": "query",
            "name": "maintenance_enabled",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Maintenance Enabled"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TableResponse"
                  },
                  "title": "Response List Tables Tables Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Tables"
      }
    },
    "/tables/cache-status": {
      "get": {
        "operationId": "cache_status_tables_cache_status_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CacheStatusResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Cache Status"
      }
    },
    "/tables/{database}/{table}/health": {
      "get": {
        "operationId": "get_table_health_tables__database___table__health_get",
        "parameters": [
          {
            "in": "path",
            "name": "database",
            "required": true,
            "schema": {
              "title": "Database",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "table",
            "required": true,
            "schema": {
              "title": "Table",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthAssessmentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Table Health"
      }
    },
    "/tables/{database}/{table}/health/cached": {
      "get": {
        "operationId": "get_cached_health_tables__database___table__health_cached_get",
        "parameters": [
          {
            "in": "path",
            "name": "database",
            "required": true,
            "schema": {
              "title": "Database",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "table",
            "required": true,
            "schema": {
              "title": "Table",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthAssessmentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Cached Health"
      }
    },
    "/tables/{database}/{table}/maintenance": {
      "post": {
        "operationId": "submit_maintenance_tables__database___table__maintenance_post",
        "parameters": [
          {
            "in": "path",
            "name": "database",
            "required": true,
            "schema": {
              "title": "Database",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "table",
            "required": true,
            "schema": {
              "title": "Table",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MaintenanceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Submit Maintenance"
      }
    },
    "/tables/{database}/{table}/maintenance/recommendation": {
      "get": {
        "operationId": "get_maintenance_recommendation_tables__database___table__maintenance_recommendation_get",
        "parameters": [
          {
            "in": "path",
            "name": "database",
            "required": true,
            "schema": {
              "title": "Database",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "table",
            "required": true,
            "schema": {
              "title": "Table",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MaintenanceRecommendationResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Maintenance Recommendation"
      }
    },
    "/tables/{database}/{table}/status": {
      "get": {
        "operationId": "get_table_status_tables__database___table__status_get",
        "parameters": [
          {
            "in": "path",
            "name": "database",
            "required": true,
            "schema": {
              "title": "Database",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "table",
            "required": true,
            "schema": {
              "title": "Table",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableStatusResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Table Status"
      }
    },
    "/tables/{database}/{table}/status/cached": {
      "get": {
        "operationId": "get_cached_status_tables__database___table__status_cached_get",
        "parameters": [
          {
            "in": "path",
            "name": "database",
            "required": true,
            "schema": {
              "title": "Database",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "table",
            "required": true,
            "schema": {
              "title": "Table",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableStatusResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Cached Status"
      }
    }
  }
}
