Skip to main content
PATCH
Update document metadata (tags, folder grouping)

Path Parameters

doc_id
string
required

Body

application/json

Request body for PATCH /v1/knowledge/documents/{doc_id}.

tags
string[] | null

Replace the document tags array (used for folder grouping, etc.).

Response

Successful Response

A single document record from knowledge_documents.

doc_id
string
required
source
string
required
title
string
required
chunk_count
integer
required
content_hash
string | null
owner
string | null
tags
string[] | null
summary
string | null
summary_model
string | null
status
string | null
indexed_at
string | null
updated_at
string | null
entity_tags
EmbeddedTagResponse · object[] | null