List Documents
GET/api/documents/
List documents.
Request
Query Parameters
collection any
Limit to documents associated with this collection
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- MOD1
- MOD1
- MOD1
- IngestState
- MOD1
- ] 
id
object
anyOf
integer
collection Collectionrequired
extracted_text
object
anyOf
string
url
object
anyOf
string
ingest_state
object
anyOf
string
ingest_error
object
anyOf
string
[
  {
    "id": 0,
    "collection": "string",
    "extracted_text": "string",
    "url": "string",
    "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...
