VocalDocscontracts 1.65.0

KnowledgeDocument

A Document of a Knowledge base (1.53.0): where it came from, its status and the facts of its current revision. Never its content; its title and external reference only to a read that names include=names.

An object with 27 fields.

Fields

FieldTypeRequiredDescription
byte_sizeinteger or nullyes
chunk_countintegeryes
chunker_versionstring or nullyes
classificationKnowledgeClassification or nullyes
created_atTimestampyes
embedding_spaceEmbeddingSpace or nullyes
entity_countsarray of KnowledgeEntityCountyes
error_codeIngestionErrorCode or nullyesSet when failed.
external_refstring or nullyesThe file name, URL or vendor reference the Source knows the Document by. The content class names: null unless the read names include=names, and null in the answer of a write (1.53.0, second part).
idKnowledgeDocumentIdyes
indexed_atTimestamp or nullyes
knowledge_base_idKnowledgeBaseIdyes
last_ingestion_run_idIngestionRunId or nullyes
media_typeKnowledgeMediaType or nullyes
object"knowledge_document"yes
page_countinteger or nullyes
parser_versionstring or nullyes
purged_atTimestamp or nullyes
quarantine_expires_atTimestamp or nullyesWhen the parsed text held for review is deleted, 14 days after the quarantine (a target); null otherwise.
quarantined_atTimestamp or nullyes
review_statusKnowledgeReviewStatusyes
revisionintegeryesCounts writes to the Document; returned as the ETag and required in If-Match. Not the number of content revisions.
source_idKnowledgeSourceIdyes
statusKnowledgeDocumentStatusyes
tagsarray of DocumentTagyes
titlestring or nullyesThe title the upload or the parse stage gave, or null when it has none. The content class names: null unless the read names include=names, and null in the answer of a write (1.53.0, second part).
updated_atTimestampyes

Used by

The operations whose parameters, request body or responses name this shape directly.