Get Job Status
GET/v1/render/job/:job_id
Get the status of a parsing job.
Request
Path Parameters
job_id Job Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- CompletedTaskResponse
status ResourceStatus (string)required
Possible values: [COMPLETED, FAILED, BUILDING, WAITING]
The status of the task.
error
object
An error message if the task failed.
anyOf
string
result
object
The result of the task.
anyOf
task_id Task Id (string)required
The ID of the task.
duration Duration (number)required
The time taken to complete the task, in seconds.
result_url Result Url (string)required
A URL to access the results (e.g., parsed file, extracted information).
{
"status": "COMPLETED",
"error": "string",
"result": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...