import type * as Extend from "../../../../index"; /** * @example * { * nextPageToken: "xK9mLPqRtN3vS8wF5hB2cQ==:zWvUxYjM4nKpL7aDgE9HbTcR2mAyX3/Q+CNkfBSw1dZ=" * } */ export interface ExtractRunsListRequest { status?: Extend.ProcessorRunStatus; /** * Filters extract runs by the extractor ID. If not provided, all extract runs are returned. * * Example: `"ex_BMdfq_yWM3sT-ZzvCnA3f"` */ extractorId?: string; /** * Filters runs by the batch they belong to. Only returns runs created as part of the specified batch. * * Example: `"bpr_Xj8mK2pL9nR4vT7qY5wZ"` */ batchId?: string; /** Filters runs by the source ID. */ sourceId?: Extend.RunSourceId; /** Filters runs by the source that created them. If not provided, runs from all sources are returned. */ source?: Extend.RunSource; /** * Filters runs by the name of the file. Only returns runs where the file name contains this string. * * Example: `"invoice"` */ fileNameContains?: string; sortBy?: Extend.SortBy; sortDir?: Extend.SortDir; nextPageToken?: Extend.NextPageToken; maxPageSize?: Extend.MaxPageSize; /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */ "x-extend-workspace-id"?: string; }