documents
List all documents
Changed onReturns a summary of all ingested documents in the database.
get/v1/documents
Request
- Base URLhttps://your-reasondb-host
- Auth
- API key in header X-Api-Key
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
List of documents
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"
}
]Changes
- info
added the non-success response with the status
- info
- warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status
- warning