/** * This file was auto-generated by Fern from our API Definition. */ import * as CortexAI from "../../../../index.js"; /** * @example * { * tenant_id: "tenant_1234", * source_id: "" * } */ export interface SourceFetchRequest { /** 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; /** Source ID of the file to fetch */ source_id: string; /** Fetch mode: 'content' returns file content, 'url' returns presigned URL, 'both' returns both */ mode?: CortexAI.FetchMode; /** Expiry time in seconds for presigned URL (60-604800, default: 3600) */ expiry_seconds?: number; }