v1

latestOpenAPI 3.0.3MIT OR Apache-2.02026-07-17203670.3 KB
documents

List all documents

Returns a summary of all ingested documents in the database.

get/v1/documents

Response

List of documents

idstring
titlestring
total_nodesinteger
max_depthinteger
source_pathstring
mime_typestring
file_sizeinteger
table_idstring
tagsstring[]
metadataobject
created_atstring date-time

Example response

[
  {
    "id": "doc_abc123",
    "title": "Machine Learning Handbook",
    "total_nodes": 42,
    "max_depth": 4,
    "source_path": "/uploads/ml-handbook.pdf",
    "mime_type": "application/pdf",
    "file_size": 2048576,
    "table_id": "tbl_legal",
    "created_at": "2024-01-15T10:30:00Z"
  }
]