export interface SearchV2Chunk { /** * Pydantic aliases (see VectorStoreChunk): document_metadata→additional_metadata, * tenant_metadata→metadata. FastAPI serializes by_alias, so the wire uses the aliases. */ additionalMetadata?: Record; /** Text content of this chunk. */ chunkContent?: string; /** Unique identifier for this individual chunk. */ chunkUuid?: string; /** Collection this chunk belongs to. Canonical name; mirrors the deprecated `sub_tenant_id` alias. */ collection?: string; /** IDs of adjacent chunks pulled in as surrounding context. */ extraContextIds?: string[]; /** Unique identifier for this resource. */ id?: string; /** Layout classification for this chunk (e.g. `text`, `table`, `image`). */ layout?: string; /** Schema-backed tenant metadata attached to the source. */ metadata?: Record; /** Relevance score for this item against the query. */ relevancyScore?: number; /** RFC3339 timestamp when the source was last modified. */ sourceLastUpdatedTime?: string; /** Title of the parent source document. */ sourceTitle?: string; /** Type of the parent source (e.g. `file`, `slack`, `notion`). */ sourceType?: string; /** RFC3339 timestamp when the source was ingested. */ sourceUploadTime?: string; /** deprecated: use collection */ subTenantId?: string; }