@@ -1310,9 +1310,10 @@ export interface BatchListParams {
13101310 status ?: 'queued' | 'running' | 'cancelling' | 'completed' | 'cancelled' | 'failed' ;
13111311
13121312 /**
1313- * Comma-separated list of tags to filter by (matches batches having any of them).
1313+ * Tags to filter by (matches batches having any of them). Pass repeated `tags`
1314+ * params or one comma-separated list, e.g. `tags=docs,competitor`.
13141315 */
1315- tags ?: string ;
1316+ tags ?: string | Array < string > ;
13161317}
13171318
13181319export interface BatchGetResultsParams {
@@ -1664,8 +1665,7 @@ export namespace BatchSubmitParams {
16641665 maxAgeMs ?: number | null ;
16651666
16661667 /**
1667- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
1668- * detection/OCR to an inclusive 1-based page range.
1668+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
16691669 */
16701670 pdf ?: Options . Pdf ;
16711671
@@ -1692,13 +1692,12 @@ export namespace BatchSubmitParams {
16921692
16931693 export namespace Options {
16941694 /**
1695- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
1696- * detection/OCR to an inclusive 1-based page range.
1695+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
16971696 */
16981697 export interface Pdf {
16991698 /**
1700- * Last 1-based PDF page to parse. When omitted, parsing ends at the last page.
1701- * Must be greater than or equal to start when both are provided .
1699+ * Last PDF page to parse (1-based, inclusive). Defaults to the final page. Must
1700+ * be >= start.
17021701 */
17031702 end ?: number ;
17041703
@@ -1713,7 +1712,7 @@ export namespace BatchSubmitParams {
17131712 shouldParse ?: boolean ;
17141713
17151714 /**
1716- * First 1-based PDF page to parse. When omitted, parsing starts at the first page.
1715+ * First 1-based PDF page to parse.
17171716 */
17181717 start ?: number ;
17191718 }
@@ -1994,8 +1993,7 @@ export namespace BatchSubmitParams {
19941993 maxAgeMs ?: number | null ;
19951994
19961995 /**
1997- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
1998- * detection/OCR to an inclusive 1-based page range.
1996+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
19991997 */
20001998 pdf ?: Options . Pdf ;
20011999
@@ -2017,13 +2015,12 @@ export namespace BatchSubmitParams {
20172015
20182016 export namespace Options {
20192017 /**
2020- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
2021- * detection/OCR to an inclusive 1-based page range.
2018+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
20222019 */
20232020 export interface Pdf {
20242021 /**
2025- * Last 1-based PDF page to parse. When omitted, parsing ends at the last page.
2026- * Must be greater than or equal to start when both are provided .
2022+ * Last PDF page to parse (1-based, inclusive). Defaults to the final page. Must
2023+ * be >= start.
20272024 */
20282025 end ?: number ;
20292026
@@ -2038,7 +2035,7 @@ export namespace BatchSubmitParams {
20382035 shouldParse ?: boolean ;
20392036
20402037 /**
2041- * First 1-based PDF page to parse. When omitted, parsing starts at the first page.
2038+ * First 1-based PDF page to parse.
20422039 */
20432040 start ?: number ;
20442041 }
@@ -2418,8 +2415,7 @@ export namespace BatchSubmitParams {
24182415 maxAgeMs ?: number | null ;
24192416
24202417 /**
2421- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
2422- * detection/OCR to an inclusive 1-based page range.
2418+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
24232419 */
24242420 pdf ?: Options . Pdf ;
24252421
@@ -2446,13 +2442,12 @@ export namespace BatchSubmitParams {
24462442
24472443 export namespace Options {
24482444 /**
2449- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
2450- * detection/OCR to an inclusive 1-based page range.
2445+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
24512446 */
24522447 export interface Pdf {
24532448 /**
2454- * Last 1-based PDF page to parse. When omitted, parsing ends at the last page.
2455- * Must be greater than or equal to start when both are provided .
2449+ * Last PDF page to parse (1-based, inclusive). Defaults to the final page. Must
2450+ * be >= start.
24562451 */
24572452 end ?: number ;
24582453
@@ -2467,7 +2462,7 @@ export namespace BatchSubmitParams {
24672462 shouldParse ?: boolean ;
24682463
24692464 /**
2470- * First 1-based PDF page to parse. When omitted, parsing starts at the first page.
2465+ * First 1-based PDF page to parse.
24712466 */
24722467 start ?: number ;
24732468 }
@@ -2815,8 +2810,7 @@ export namespace BatchSubmitParams {
28152810 maxAgeMs ?: number | null ;
28162811
28172812 /**
2818- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
2819- * detection/OCR to an inclusive 1-based page range.
2813+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
28202814 */
28212815 pdf ?: Options . Pdf ;
28222816
@@ -2838,13 +2832,12 @@ export namespace BatchSubmitParams {
28382832
28392833 export namespace Options {
28402834 /**
2841- * PDF parsing controls. Use start/end to limit text extraction and embedded-image
2842- * detection/OCR to an inclusive 1-based page range.
2835+ * PDF handling. `start`/`end` limit parsing to an inclusive, 1-based page range.
28432836 */
28442837 export interface Pdf {
28452838 /**
2846- * Last 1-based PDF page to parse. When omitted, parsing ends at the last page.
2847- * Must be greater than or equal to start when both are provided .
2839+ * Last PDF page to parse (1-based, inclusive). Defaults to the final page. Must
2840+ * be >= start.
28482841 */
28492842 end ?: number ;
28502843
@@ -2859,7 +2852,7 @@ export namespace BatchSubmitParams {
28592852 shouldParse ?: boolean ;
28602853
28612854 /**
2862- * First 1-based PDF page to parse. When omitted, parsing starts at the first page.
2855+ * First 1-based PDF page to parse.
28632856 */
28642857 start ?: number ;
28652858 }
0 commit comments