import type * as SarvamAI from "../index.mjs"; /** * Returned when a Classify or Split job is created. */ export interface DocAiJobAcceptedResponse { /** The unique identifier of the job. For a batch, the parent job. */ job_id: string; /** The unique identifier of the job run. */ run_id?: string | undefined; /** Initial status, `accepted`. */ status: string; /** Path to poll for status. */ status_url: string; /** Path to fetch results from once the job is `completed`. */ results_url: string; /** `true` when the response replays an earlier request with the same `Idempotency-Key`. */ idempotency_replayed?: boolean | undefined; /** Limits applied to the job, such as `deadline_at` and `max_model_calls`. */ resolved_budget?: Record | undefined; resolved_limits?: SarvamAI.DocAiCapabilityLimits | undefined; /** Batch submissions only: one entry per document, each with its own job. */ documents?: SarvamAI.DocAiBatchDocument[] | undefined; }