v1
latestOpenAPI 3.0.32026-07-265278189.1 KBTranslateDocuments
Check Document Status
post/v2/document/{document_id}
Path parameters
document_idstring required
The document ID that was sent to the client when the document was uploaded to the API.
Request body
Example request
{
"document_key": "0CB0054F1C132C1625B392EADDA41CB754A742822F6877173029A6C487E7F60A"
}Response
The document status request returns a JSON object containing the document ID that was used in the request as well as string indicating the current status of the translation process. While the translation is running, the estimated number of seconds remaining until the process is done is also included in the response.
Example response
{
"document_id": "04DE5AD98A02647D83285A36021911C6",
"status": "done",
"billed_characters": 1337,
"error_message": "Only available if document status is error"
}