v10

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0643140398.0 KB
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

object'list'

Response object type, always 'list' for ingestion responses

model'private-gpt'

Model identifier, always 'private-gpt'

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"
}