GET
/
v1
/
artifacts
/
list
{
  "object": "list",
  "model": "private-gpt",
  "data": [
    {
      "object": "ingest.document",
      "artifact": "annual_report",
      "doc_metadata": {
        "file_name": "2023_Annual.pdf",
        "department": "finance",
        "date": "2023-12-31"
      }
    },
    {
      "object": "ingest.document",
      "artifact": "policy_manual",
      "doc_metadata": {
        "file_name": "employee_policy.docx",
        "department": "hr",
        "version": "2.1"
      }
    }
  ]
}

Query Parameters

collection
string
default:pgpt_collection
required

Name of the collection to list documents from

Examples:

"pgpt_collection"

"financial_reports"

"hr_documents"

Response

Successfully retrieved document list

Response model for successful document ingestion operations.

object
string
required

Response object type, always 'list' for ingestion responses

Allowed value: "list"
model
string
required

Model identifier, always 'private-gpt'

Allowed value: "private-gpt"
data
IngestedDoc · object[]
required

List of ingested documents with their metadata and processing information