Documentation / @agentick/shared / ContentMetadata
Interface: ContentMetadata ​
Defined in: streaming.ts:86
Normalized content metadata.
Adapters populate these fields when provider data maps to them. Provider-specific data that doesn't fit these fields goes in extensions.
Note: Artifacts are NOT part of content metadata. Artifacts are created via tool calls and managed as session state parallel to the timeline. See plans/agentic/artifacts.md for the artifact pattern.
Properties ​
annotations? ​
optionalannotations:ContentAnnotation[]
Defined in: streaming.ts:91
Model-provided annotations on the content
citations? ​
optionalcitations:ContentCitation[]
Defined in: streaming.ts:88
Citations/sources referenced by the model
extensions? ​
optionalextensions:Record<string,unknown>
Defined in: streaming.ts:100
Provider-specific extensions (not normalized)
language? ​
optionallanguage:string
Defined in: streaming.ts:94
Programming language (for code blocks)
mimeType? ​
optionalmimeType:string
Defined in: streaming.ts:97
MIME type hint