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"
}Changes
Changed in 1 of the 11 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○