Conversion status
GET
/api/v1/convert/{fileId}
const url = 'https://api.gevell.com/api/v1/convert/example';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 \ --header 'X-API-Key: <X-API-Key>'Poll no more than once every 12 seconds. 404 for a file that is not yours.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”fileId
required
string
Responses
Section titled “ Responses ”Status
Media typeapplication/json
object
success
boolean
data
object
fileId
string
status
string
progress
integer
phase
string
htmlReady
boolean
pdfStatus
string
pdfReady
boolean
conformanceReady
boolean
outputs
What to deliver. Default ["pdf","conformance"]. pdf and conformance
come together; add html for the accessible HTML.
Array<string>
done
True when the conversion has finished (completed with every requested output settled, or failed). Call the result route; on a failed conversion it answers 422.
boolean
error
string
errorCode
string
Example
{ "data": { "status": "uploaded", "pdfStatus": "queued", "outputs": [ "html" ] }}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" }}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" }}