import type * as Extend from "../index"; /** * Minimal parse run status object sent in webhook notifications. * Contains only the essential status information, without the full output data. */ export interface ParseRunStatus { /** The type of object. Will always be `"parse_run_status"`. */ object: "parse_run_status"; /** * A unique identifier for the parse run. * * Example: `"pr_xK9mLPqRtN3vS8wF5hB2cQ"` */ id: string; /** * The status of the parse run: * * `"PROCESSING"` - The file is still being processed * * `"PROCESSED"` - The file was successfully processed * * `"FAILED"` - The processing failed (see `failureReason` for details) */ status: Extend.ParseRunStatusStatus; /** * The reason for failure. * * **Availability:** Present when `status` is `"FAILED"`. */ failureReason: string | null; /** * A human-readable description of the failure. * * **Availability:** Present when `status` is `"FAILED"`. */ failureMessage?: string | null; /** * Any metadata that was provided when creating the parse run. * * **Availability:** Present when metadata was provided during creation. */ metadata?: Extend.RunMetadata | null; }