/** * This file was auto-generated by Fern from our API Definition. */ import * as core from "../../../../../core/index.js"; /** * @example * { * tenant_id: "tenant_id" * } */ export interface BodyUploadKnowledgeIngestionUploadKnowledgePost { /** Unique identifier for the tenant/organization */ tenant_id: string; /** Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used. */ sub_tenant_id?: string; /** If true, update existing sources with the same id. */ upsert?: boolean; /** Files to upload (documents). Omit or leave empty when only sending app_sources. */ files?: core.file.Uploadable.FileLike[] | undefined; /** JSON array of file metadata objects; length must match files when provided. Each object may include: file_id (optional), metadata, additional_metadata, and relations (forceful relations to other cortex source IDs). */ file_metadata?: string; /** JSON: single source object or array of app-generated sources to index. Omit when only uploading files. */ app_sources?: string; }