Download URLs and conformance summary
GET
/api/v1/convert/{fileId}/result
const url = 'https://api.gevell.com/api/v1/convert/example/result';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gevell.com/api/v1/convert/example/result \ --header 'X-API-Key: <X-API-Key>'Signed download URLs for what you asked for, plus the PDF/UA-1 conformance
summary. 409 NOT_READY until the conversion (and, with pdf, the
accessible PDF) is finished.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”fileId
required
string
Responses
Section titled “ Responses ”Result
Media typeapplication/json
object
success
boolean
data
object
fileId
string
fileName
string
outputs
What to deliver. Default ["pdf","conformance"]. pdf and conformance
come together; add html for the accessible HTML.
Array<string>
html
Only when html was requested.
object
inlinePreview
string
truncated
boolean
totalSizeBytes
integer
downloadUrl
string format: uri
downloadExpiresAt
string format: date-time
pdf
Only when pdf / conformance was requested.
object
status
string
downloadUrl
string format: uri
downloadExpiresAt
string format: date-time
sizeBytes
integer
accessibilityScore
number
accessibilityScoreBasis
string
conformance
The PDF/UA-1 (veraPDF) summary. Null until it has been computed.
object
key
additional properties
any
reportUrl
string format: uri
Example
{ "data": { "outputs": [ "html" ], "pdf": { "accessibilityScoreBasis": "verapdf-checked" } }}Missing or invalid API key
Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{ "success": false, "error": { "code": "INSUFFICIENT_CREDITS" }}Not found
Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{ "success": false, "error": { "code": "INSUFFICIENT_CREDITS" }}NOT_READY
Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{ "success": false, "error": { "code": "INSUFFICIENT_CREDITS" }}CONVERSION_FAILED or PDF_GENERATION_FAILED
Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{ "success": false, "error": { "code": "INSUFFICIENT_CREDITS" }}Unexpected error
Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{ "success": false, "error": { "code": "INSUFFICIENT_CREDITS" }}