import type * as Extend from "../../../../index"; /** * @example * { * nextPageToken: "xK9mLPqRtN3vS8wF5hB2cQ==:zWvUxYjM4nKpL7aDgE9HbTcR2mAyX3/Q+CNkfBSw1dZ=" * } */ export interface ParseRunsListRequest { /** Filter parse runs by status. */ status?: Extend.ParseRunsListRequestStatus; /** * Filter parse runs by the batch they belong to. Use this after submitting a batch via `POST /parse_runs/batch` to retrieve individual run results. * * Example: `"bpar_Xj8mK2pL9nR4vT7qY5wZ"` */ batchId?: string; /** * Filters parse runs by the source that created them. If not provided, runs from all sources are returned. * * **Note:** When `batchId` is provided, it takes precedence and this filter is ignored. */ source?: Extend.ParseRunSource; /** Filters runs by the source ID. */ sourceId?: Extend.RunSourceId; /** * Filters runs by the name of the file. Only returns runs where the file name contains this string. * * Example: `"invoice"` */ fileNameContains?: string; 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; }