Sign up (with export icon)

AIChatContextDocumentSource

Api-typedef icontypedef Experiment iconexperimental

A uploaded-document source stored on the chat context, keyed by the id returned by the /documents/batch endpoint.

Experimental: This is a production-ready API but may change in minor releases without the standard deprecation policy. Check the changelog for migration guidance.

Properties

  • content : string

  • Chevron-right icon

    description : string | undefined

    The document's stored description, taken from the source root's root configuration. The AI service uses descriptions to semantically distinguish roots when a user scopes a request to a specific area (e.g. "edit the title").

  • Chevron-right icon

    name : string | undefined

    The document's stored name — the source root's identifier as reported when the document was uploaded.

  • rootName : string

  • version : number

Value

object