When calling the Analyse and Rebuild API, the response headers provide critical metadata about the processing outcome, file integrity, and security reputation. These headers are returned with HTTP status codes 201 (Created), 206 (Partial Content), or 500 (Internal Server Error).
Processing & File Metadata
x-processing-id: UUID representing the transaction/processing ID.x-processing-status: The outcome of the file processing. Possible values: Rebuilt, Failed, Error, Allowed.x-hash-{algo}-input: Hash value of the input file (where {algo} is the chosen algorithm).x-hash-{algo}-output: Hash value of the output file (where {algo} is the chosen algorithm).x-file-size: Size of the original input file in bytes.x-applied-policy: The policy applied during Glasswall Halo processing.x-error-reason: (Returned with 206) The reason why the file failed to be rebuilt.
File Reputation Service
x-filereputation-responsecode: Response code from the reputation service.x-filereputation-status: Response status from the reputation service.x-filereputation-threatname: Malware family name if the file is detected as Malicious or Suspicious.x-filereputation-threatlevel: Threat severity (0 = no threat, 1 = lowest, 5 = highest).x-filereputation-trustlevel: Trust factor for detection results (0 = most trusted, 5 = least trusted).
PDF Specifics
x-pdf-conform: Boolean indicating if the file was processed via Glasswall Conform.x-pdf-conform-mode: The specific PDF conform mode used.
x-content-type-option: Indicates MIME types in Content-Type headers should be respected.x-frame-options: Indicates if a browser should be allowed to render the page in a frame/iframe.