Documentation / @agentick/shared / DocumentBlock
Interface: DocumentBlock
Defined in: blocks.ts:148
Document block - Document content (PDF, etc.)
Extends
Properties
createdAt?
readonlyoptionalcreatedAt:string
Defined in: blocks.ts:58
ISO 8601 timestamp when this block was created
Inherited from
id?
readonlyoptionalid:string
Defined in: blocks.ts:54
Unique identifier for this block
Inherited from
index?
readonlyoptionalindex:number
Defined in: blocks.ts:62
Position of this block within the message
Inherited from
messageId?
readonlyoptionalmessageId:string
Defined in: blocks.ts:56
ID of the message containing this block
Inherited from
metadata?
readonlyoptionalmetadata:Record<string,any>
Defined in: blocks.ts:64
Additional metadata
Inherited from
mimeType?
readonlyoptionalmimeType:DocumentMimeType
Defined in: blocks.ts:151
MIME type of the content (for media blocks)
Overrides
source
readonlysource:MediaSource
Defined in: blocks.ts:150
summary?
readonlyoptionalsummary:string
Defined in: blocks.ts:66
Human-readable summary of the content
Inherited from
title?
readonlyoptionaltitle:string
Defined in: blocks.ts:152
type
readonlytype:"document"|DOCUMENT
Defined in: blocks.ts:149
Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')