{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revise-io/json-schema/revise-io-get-api-v1-convert-id-response-schema.json",
  "title": "GetApiV1ConvertIdResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/revise-io-openapi-generated.yml#/components/schemas/GetApiV1ConvertIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Conversion id"
    },
    "object": {
      "type": "string",
      "description": "Always \"conversion\""
    },
    "status": {
      "type": "string",
      "description": "One of \"queued\", \"running\", \"succeeded\", \"failed\", \"cancelled\""
    },
    "mode": {
      "type": "string",
      "description": "One of \"deterministic\", \"vision\", \"\" (empty after request content has been deleted)"
    },
    "input": {
      "type": "object",
      "description": "Input details"
    },
    "input.file_id": {
      "type": "string",
      "description": "File identifier"
    },
    "input.format": {
      "type": "string",
      "description": "One of \"pdf\", \"docx\", \"md\", \"html\", \"txt\", \"rtf\", \"odt\", \"image\", \"\" (empty after request content has been deleted)"
    },
    "input.filename": {
      "type": "string",
      "description": "Original filename"
    },
    "input.bytes": {
      "type": "integer",
      "description": "File size in bytes"
    },
    "input.sha256": {
      "type": "string",
      "description": "SHA‑256 hash of the file"
    },
    "output": {
      "type": "object",
      "description": "Output details"
    },
    "output.format": {
      "type": "string",
      "description": "One of \"docx\", \"pdf\", \"md\", \"html\", \"txt\", \"\" (empty after request content has been deleted)"
    },
    "output.artifact": {
      "type": "object",
      "description": "Artifact representing the converted file"
    },
    "output_encrypted": {
      "type": "boolean",
      "description": "Whether the output is encrypted"
    },
    "metadata": {
      "type": "object",
      "description": "Up to 16 string key/value pairs for application attribution"
    },
    "usage": {
      "type": "object",
      "description": "Usage information"
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp"
    },
    "completed_at": {
      "type": "string",
      "description": "Completion timestamp"
    },
    "content_expires_at": {
      "type": "string",
      "description": "When the content expires"
    },
    "content_deleted_at": {
      "type": "string",
      "description": "When the content was deleted"
    },
    "error": {
      "type": "object",
      "description": "Error details if the conversion failed"
    },
    "retention": {
      "type": "object",
      "description": "Retention options"
    },
    "retention.delete_after_webhook_id": {
      "type": "string",
      "description": "Account‑owned endpoint subscribed to prompt.completed or conversion.completed"
    }
  }
}