Artifacts
Artifacts
List Ingested Documents
Retrieve a list of all documents ingested into a specific collection
get/v1/artifacts/list
Query parameters
collectionstring required
Name of the collection to list documents from
Example:pgpt_collection
Response
Successfully retrieved document list
Example response
{
"data": [
{
"artifact": "quarterly_report_q1",
"doc_metadata": {
"department": "finance",
"file_name": "Q1_Report.pdf",
"page_number": 1,
"total_pages": 15
},
"object": "ingest.document"
}
],
"model": "private-gpt",
"object": "list"
}