API Reference
Retrieve Parse
GET
/
job
/
{job_id}
import requests
url = "https://platform.reducto.ai/job/{job_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.request("GET", url, headers=headers)
print(response.text)
{
"status": "Pending",
"result": {
"job_id": "<string>",
"duration": 123,
"pdf_url": "<string>",
"usage": {
"num_pages": 123
},
"result": {
"type": "<string>",
"chunks": [
{
"content": "<string>",
"embed": "<string>",
"enriched": "<string>",
"enrichment_success": false,
"blocks": [
{
"type": "Header",
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
},
"content": "<string>",
"image_url": "<string>",
"confidence": "<string>"
}
]
}
],
"ocr": {
"words": [
{
"text": "<string>",
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
}
}
],
"lines": [
{
"text": "<string>",
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
}
}
]
},
"custom": "<any>"
}
},
"progress": 123,
"reason": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
import requests
url = "https://platform.reducto.ai/job/{job_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.request("GET", url, headers=headers)
print(response.text)
{
"status": "Pending",
"result": {
"job_id": "<string>",
"duration": 123,
"pdf_url": "<string>",
"usage": {
"num_pages": 123
},
"result": {
"type": "<string>",
"chunks": [
{
"content": "<string>",
"embed": "<string>",
"enriched": "<string>",
"enrichment_success": false,
"blocks": [
{
"type": "Header",
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
},
"content": "<string>",
"image_url": "<string>",
"confidence": "<string>"
}
]
}
],
"ocr": {
"words": [
{
"text": "<string>",
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
}
}
],
"lines": [
{
"text": "<string>",
"bbox": {
"left": 123,
"top": 123,
"width": 123,
"height": 123,
"page": 123,
"original_page": 123
}
}
]
},
"custom": "<any>"
}
},
"progress": 123,
"reason": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.