import type * as Extend from "../index"; /** * Summary representation of an extract run. */ export interface ExtractRunSummary { /** The type of object. Will always be `"extract_run"`. */ object: "extract_run"; /** The unique identifier for this extract run. */ id: string; /** * The extractor that was used for this run. * * **Availability:** Present when an extractor reference was provided. Not present when using inline `config`. */ extractor: Extend.ExtractorSummary | null; /** * The version of the extractor that was used for this run. * * **Availability:** Present when an extractor reference was provided. Not present when using inline `config`. */ extractorVersion: Extend.ExtractorVersionSummary | null; status: Extend.ProcessorRunStatus; /** * The reason for failure. * * **Availability:** Present when `status` is `"FAILED"`. */ failureReason: string | null; /** * A detailed message about the failure. * * **Availability:** Present when `status` is `"FAILED"`. */ failureMessage: string | null; /** * Any metadata that was provided when creating the extract run. * * **Availability:** Present when metadata was provided during creation. */ metadata: Extend.RunMetadata | null; /** Indicates whether the run has been reviewed by a human. */ reviewed: boolean; /** Indicates whether the run results have been edited during review. */ edited: boolean; /** The file that was processed. */ file: Extend.FileSummary; /** * The ID of the parse run that was used for this extract run. * * **Availability:** Present when a parse run was created. */ parseRunId: string | null; /** The URL to view the extract run in the Extend dashboard. */ dashboardUrl: string; /** * Usage credits consumed by this extract run. Omits `breakdown` — fetch the full extract run by id to see the per-line items. * * **Availability:** Present when `status` is `"PROCESSED"`. Will not be returned for runs created before October 7, 2025 or for customers on legacy billing systems. */ usage: Extend.RunUsageSummary | null; createdAt: Extend.CreatedAt; updatedAt: Extend.UpdatedAt; }