Get Document Status
GET/api/documents/:id/status
Get Document Status
Request
Path Parameters
id Idrequired
The document ID.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
id Idrequired
ingest_state IngestStaterequired
Possible values: [pending
, ingested
, failed
]
ingest_error
object
anyOf
string
{
"id": 0,
"ingest_state": "pending",
"ingest_error": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...