{
  "openapi": "3.0.3",
  "info": {
    "title": "PDF Craft Transform API",
    "version": "1.0.0",
    "description": "Create → upload → launch → observe → download. PDF to PDF/EPUB/Markdown; EPUB translation to EPUB. No public delete or cancel endpoint."
  },
  "servers": [
    {
      "url": "https://api.pdfcraft.ai/v1/pcc-api"
    },
    {
      "url": "https://pdf-craft-api.oomol.dev/v1/pcc-api",
      "description": "Development; use development credentials"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/transforms": {
      "post": {
        "operationId": "createTransform",
        "summary": "Create before uploading; save uuid",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "input_format"
                ],
                "additionalProperties": false,
                "properties": {
                  "input_format": {
                    "type": "string",
                    "enum": [
                      "pdf",
                      "epub"
                    ]
                  },
                  "input_filename": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255
                  }
                },
                "description": "Optional input_filename is nonblank, at most 255 Unicode code points, with no control or invalid surrogate characters. It is a display name, not a storage path or download name."
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transform"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          }
        }
      }
    },
    "/transforms/{uuid}": {
      "get": {
        "operationId": "getTransform",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransformDetail"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      },
      "patch": {
        "operationId": "renameTransformSource",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "description": "Change only the displayed input filename. Null clears it; omission leaves it unchanged. Does not replace the source or set a download name.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "input_filename": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255,
                    "nullable": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transform"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/{uuid}/upload-urls": {
      "get": {
        "operationId": "getTransformUploadUrls",
        "description": "PUT directly using returned headers, without API authorization. Existing sources return signed read URLs instead; no overwrite.",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/UploadUrls"
                    },
                    {
                      "$ref": "#/components/schemas/SignedUrls"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/{uuid}/launch": {
      "post": {
        "operationId": "launchTransform",
        "description": "Immutable parameters; identical retries are idempotent, including terminal tasks. Optional notification fields are saved only on first accepted launch and are not immutable conversion parameters; replay does not change them. At most 3 running transforms per user. A rejected launch is not queued and retains its upload expiry.",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LaunchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transform"
                }
              }
            }
          },
          "202": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transform"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "409": {
            "description": "SOURCE_FILE_MISSING, TRANSFORM_CONCURRENCY_LIMIT or TRANSFORM_ALREADY_LAUNCHED. Inspect error.code.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/{uuid}/observation": {
      "get": {
        "operationId": "observeTransform",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "preview_limit",
            "in": "query",
            "description": "Positive integer; values above 500 are clamped to 500.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 500
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Observation"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/{uuid}/notification": {
      "patch": {
        "operationId": "setTransformNotification",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "description": "Update notification settings for an owned, running task (including queued work). Omitted fields are unchanged. Null email disables; language cannot be null. Before launch or after termination returns 409 TRANSFORM_NOT_RUNNING. Sending is best effort, once at termination; no delivery status or retries.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "minProperties": 1,
                "additionalProperties": false,
                "properties": {
                  "notification_email": {
                    "type": "string",
                    "format": "email",
                    "nullable": true,
                    "maxLength": 254,
                    "description": "One plain email address, trimmed. Null disables notifications. No account-email fallback or ownership verification."
                  },
                  "notification_language": {
                    "type": "string",
                    "enum": [
                      "en",
                      "de-DE",
                      "es-ES",
                      "fr-FR",
                      "it-IT",
                      "zh-CN",
                      "zh-Hant",
                      "ja-JP",
                      "ko-KR",
                      "ru-RU"
                    ],
                    "description": "Notification and landing-page language, independent of translation target language. Case-sensitive; null is invalid."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationSettings"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/{uuid}/refund": {
      "post": {
        "operationId": "requestTransformRefund",
        "description": "Explicitly apply for a credit refund after an eligible technical failure. No body or an empty object; amounts and user IDs are not accepted. Submitted means the asynchronous request was accepted, not that credits were returned. Retry the same UUID after an ambiguous result.",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "refund_status"
                  ],
                  "properties": {
                    "refund_status": {
                      "type": "string",
                      "enum": [
                        "submitted"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "404": {
            "description": "Unknown, expired, deleted or another user's task."
          },
          "409": {
            "description": "REFUND_NOT_AVAILABLE: refresh the task's eligibility.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "REFUND_UNAVAILABLE: submission could not be confirmed; retry the same task.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/transforms/{uuid}/download-urls": {
      "get": {
        "operationId": "getTransformDownloadUrls",
        "description": "Only succeeded tasks can download. Signatures are temporary; request again when needed. Never attach API credentials to storage requests.",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "query",
            "description": "Complete download name including extension. Nonblank, at most 255 UTF-8 bytes; no control or invalid surrogate characters, path separators, dot or dot-dot. Encode once. Not persisted.",
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignedUrls"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/running/": {
      "get": {
        "operationId": "listTransforms_running",
        "description": "Basic resources only, no progress or download signatures. Cursors belong to this queue; no total count. Expired tasks are hidden.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "transforms"
                  ],
                  "properties": {
                    "transforms": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Transform"
                      }
                    },
                    "next_cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/waiting-for-upload/": {
      "get": {
        "operationId": "listTransforms_waiting_for_upload",
        "description": "Basic resources only, no progress or download signatures. Cursors belong to this queue; no total count. Expired tasks are hidden.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "transforms"
                  ],
                  "properties": {
                    "transforms": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Transform"
                      }
                    },
                    "next_cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/finished/": {
      "get": {
        "operationId": "listTransforms_finished",
        "description": "Basic resources only, no progress or download signatures. Cursors belong to this queue; no total count. Expired tasks are hidden.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "transforms"
                  ],
                  "properties": {
                    "transforms": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Transform"
                      }
                    },
                    "next_cursor": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    },
    "/transforms/{uuid}/preview-assets/{stage}/{asset}": {
      "get": {
        "operationId": "getTransformPreviewAssetUrls",
        "parameters": [
          {
            "name": "uuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stage",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "extraction",
                "converting"
              ]
            }
          },
          {
            "name": "asset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}\\.(png|pdf)$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignedUrls"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid OOMOL Bearer credential. Gateway errors may differ from service errors."
          },
          "default": {
            "description": "Check HTTP status and error.code before retrying."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "Transform": {
        "type": "object",
        "required": [
          "uuid",
          "status",
          "input_format",
          "created_at",
          "updated_at"
        ],
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": "string",
            "enum": [
              "waiting_for_upload",
              "running",
              "succeeded",
              "failed",
              "cancelled"
            ]
          },
          "input_format": {
            "type": "string",
            "enum": [
              "pdf",
              "epub"
            ]
          },
          "input_filename": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "title": {
            "type": "string"
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "type": "string",
            "description": "Source metadata, not necessarily an API target-language code."
          },
          "statistics": {
            "type": "object",
            "properties": {
              "processed_pages": {
                "type": "integer",
                "minimum": 0
              },
              "processed_words": {
                "type": "integer",
                "minimum": 0
              }
            }
          },
          "parameters": {
            "$ref": "#/components/schemas/Parameters"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "finished_at": {
            "type": "string",
            "format": "date-time"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time"
          },
          "refund_status": {
            "$ref": "#/components/schemas/RefundStatus"
          },
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "Parameters": {
        "type": "object",
        "required": [
          "output_format"
        ],
        "additionalProperties": false,
        "properties": {
          "output_format": {
            "type": "string",
            "enum": [
              "pdf",
              "epub",
              "markdown"
            ]
          },
          "refinement": {
            "type": "string",
            "enum": [
              "disabled",
              "refinement_with_footnotes"
            ],
            "default": "disabled"
          },
          "target_language": {
            "type": "string",
            "enum": [
              "zh-CN",
              "en",
              "de",
              "es",
              "fr",
              "it",
              "ja",
              "ko",
              "pt",
              "ru",
              "ar",
              "hi",
              "nl",
              "pl",
              "tr",
              "vi",
              "th",
              "id",
              "sv",
              "da",
              "no",
              "fi"
            ]
          },
          "translation_prompt": {
            "type": "string",
            "minLength": 1
          },
          "rendering_mode": {
            "type": "string",
            "enum": [
              "source",
              "replace",
              "bilingual",
              "bilingual-inline"
            ]
          }
        },
        "description": "EPUB input only outputs EPUB. Translation required for EPUB input and PDF output. PDF output only supports replace; refinement only applies to PDF input. The retired footnotes field is rejected. Omit target_language for no translation."
      },
      "LaunchRequest": {
        "type": "object",
        "required": [
          "output_format"
        ],
        "additionalProperties": false,
        "properties": {
          "output_format": {
            "type": "string",
            "enum": [
              "pdf",
              "epub",
              "markdown"
            ]
          },
          "refinement": {
            "type": "string",
            "enum": [
              "disabled",
              "refinement_with_footnotes"
            ],
            "default": "disabled"
          },
          "target_language": {
            "type": "string",
            "enum": [
              "zh-CN",
              "en",
              "de",
              "es",
              "fr",
              "it",
              "ja",
              "ko",
              "pt",
              "ru",
              "ar",
              "hi",
              "nl",
              "pl",
              "tr",
              "vi",
              "th",
              "id",
              "sv",
              "da",
              "no",
              "fi"
            ]
          },
          "translation_prompt": {
            "type": "string",
            "minLength": 1
          },
          "rendering_mode": {
            "type": "string",
            "enum": [
              "source",
              "replace",
              "bilingual",
              "bilingual-inline"
            ]
          },
          "notification_email": {
            "type": "string",
            "format": "email",
            "nullable": true,
            "maxLength": 254,
            "description": "One plain email address, trimmed. Null disables notifications. No account-email fallback or ownership verification."
          },
          "notification_language": {
            "type": "string",
            "enum": [
              "en",
              "de-DE",
              "es-ES",
              "fr-FR",
              "it-IT",
              "zh-CN",
              "zh-Hant",
              "ja-JP",
              "ko-KR",
              "ru-RU"
            ],
            "description": "Notification and landing-page language, independent of translation target language. Case-sensitive; null is invalid.",
            "default": "en"
          }
        },
        "description": "EPUB input only outputs EPUB. Translation required for EPUB input and PDF output. PDF output only supports replace; refinement only applies to PDF input. The retired footnotes field is rejected. Omit target_language for no translation."
      },
      "NotificationSettings": {
        "type": "object",
        "required": [
          "notification_email",
          "notification_language"
        ],
        "properties": {
          "notification_email": {
            "type": "string",
            "format": "email",
            "nullable": true,
            "maxLength": 254,
            "description": "One plain email address, trimmed. Null disables notifications. No account-email fallback or ownership verification."
          },
          "notification_language": {
            "type": "string",
            "enum": [
              "en",
              "de-DE",
              "es-ES",
              "fr-FR",
              "it-IT",
              "zh-CN",
              "zh-Hant",
              "ja-JP",
              "ko-KR",
              "ru-RU"
            ],
            "description": "Notification and landing-page language, independent of translation target language. Case-sensitive; null is invalid."
          }
        }
      },
      "TransformDetail": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Transform"
          },
          {
            "$ref": "#/components/schemas/NotificationSettings"
          }
        ]
      },
      "RefundStatus": {
        "type": "string",
        "enum": [
          "not_required",
          "available",
          "submitted"
        ],
        "description": "Present on terminal resources. Available permits an explicit application; submitted confirms acceptance only, not a completed refund."
      },
      "SignedUrls": {
        "type": "object",
        "required": [
          "get_url",
          "head_url"
        ],
        "properties": {
          "get_url": {
            "type": "string",
            "format": "uri"
          },
          "head_url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "UploadUrls": {
        "type": "object",
        "required": [
          "put_url",
          "headers"
        ],
        "properties": {
          "put_url": {
            "type": "string",
            "format": "uri"
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "Observation": {
        "type": "object",
        "required": [
          "status",
          "preview"
        ],
        "properties": {
          "refund_status": {
            "$ref": "#/components/schemas/RefundStatus"
          },
          "status": {
            "type": "string",
            "enum": [
              "waiting_for_upload",
              "running",
              "succeeded",
              "failed",
              "cancelled"
            ]
          },
          "progress": {
            "type": "object",
            "required": [
              "queued"
            ],
            "properties": {
              "queued": {
                "type": "boolean"
              },
              "stage": {
                "type": "string",
                "enum": [
                  "preparing",
                  "extracting",
                  "converting",
                  "packaging",
                  "uploading"
                ]
              },
              "completed_pages": {
                "type": "integer",
                "minimum": 0
              },
              "total_pages": {
                "type": "integer",
                "minimum": 0
              },
              "completed_words": {
                "type": "integer",
                "minimum": 0
              },
              "total_words": {
                "type": "integer",
                "minimum": 0
              }
            }
          },
          "preview": {
            "type": "object",
            "required": [
              "cursor"
            ],
            "properties": {
              "cursor": {
                "type": "string"
              },
              "updated": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file",
                    "url"
                  ],
                  "properties": {
                    "file": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "range": {
                      "type": "object",
                      "required": [
                        "start",
                        "end"
                      ],
                      "properties": {
                        "start": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "end": {
                          "type": "integer",
                          "minimum": 1
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "download_urls": {
            "$ref": "#/components/schemas/SignedUrls"
          }
        },
        "description": "Progress only while running. Page/word counters describe the current step, not overall percentage. Preview ranges are UTF-8 bytes [start,end); read storage with Range, then commit cursor. Previews contain a bounded tail, not a full archive."
      }
    }
  }
}
