/convert/{pdf|jpeg|png|webp} endpoint, the response will contain a few custom headers that can help you better trace the whole requests througout our system.
Here’s the list of headers returned by PDFShift:
Provides the status code PDFShift got when loading your source when it is an HTTP request.
Returns the name of the PDFShift’s server that ran the conversion.
Indicates the number of credits that this generation requires.
Contrary to
X-Credits-Cost, this header indicates the number of credits that were decreased from your account.
It is identical to X-Credits-Cost excepted if you passed the sandbox parameter, in which case the value will be at 0.The number of miliseconds it took to load the HTML source provided in the request.
The number of miliseconds it took to load the source and then generate the PDF document.
This value should be closer to the Time To First Byte duration you can have on your end.