POST
/
v1
/
artifacts
/
content
{
"data": [
{
"artifact_id": "annual_report_2023",
"content": "ANNUAL REPORT 2023\n\nExecutive Summary\n\nFiscal year 2023 marked a transformative period for our organization with record-breaking performance across all key metrics...\n\n[Full document content continues...]"
},
{
"artifact_id": "quarterly_summary_q4",
"content": "Q4 QUARTERLY SUMMARY\n\nQuarter Overview\n\nThe fourth quarter concluded our strongest year on record, with revenue growth of 34% year-over-year...\n\n[Full document content continues...]"
}
]
}

Body

application/json

Request body for retrieving full document content.

Contains context filtering options to select specific documents by collection, artifacts, and metadata criteria. Unlike chunk retrieval, this returns complete document content rather than excerpts.

The request body defines filtering criteria for bulk document content retrieval from the ingested knowledge base.

Request body for retrieving full document content with filtering options.

context_filter
object
required

Filter to select documents to retrieve. Supports filtering by collection, artifacts, and metadata.

max_tokens
integer | null

Maximum number of tokens to return in the content. If not set, returns full content of the documents.

Required range: x >= 1

Response

Successful content retrieval

Response containing full document content for filtered documents.

data
ContentDocumentResponse · object[]
required

List of documents with their full content