OptionalagentID of the agent that owns this document (agi_...). null if owned by a user or team.
Optionalcreated_When the document was created (ISO 8601).
OptionalfileID of the backing storage file (fil_...) when the document is file-backed. null for inline documents.
Context document ID (cdo_...).
OptionalmetadataArbitrary key-value metadata attached to the document. Shape varies by source type.
OptionalsourceID of the context source this document belongs to (cso_...).
OptionalteamID of the team that owns this document (tem_...). null if owned by a user or agent.
OptionaltitleHuman-readable display title of the document. null if no title has been set.
Optionaltotal_Total number of lines in the document's text content. 0 if the document has no content.
Optionaltotal_Total byte size of the document's text content. 0 if the document has no content.
Optionalupdated_When the document was last modified (ISO 8601).
OptionaluserID of the user that owns this document (usr_...). null if owned by a team or agent.
A context document stored within a context source. Carries metadata and size information only; retrieve the full text content via the
/contentendpoint.