import type * as SarvamAI from "../index.js"; /** * Job results for the `extract` pipeline. */ export interface DocAiExtractResults { /** The unique identifier of the job. */ job_id: string; /** Terminal status of the job: `completed`, `partially_completed`, `failed`, or `rejected`. */ status: string; usage: SarvamAI.DocAiUsage; /** Structured field values, shaped by the schema or `config_id` used to create the job. */ result: Record; /** Mirrors `result`, with each leaf replaced by its `confidence` and `sources`. */ annotations: Record; /** Version of the schema or config used. */ version: number; }