stophy 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -164,7 +164,10 @@ type ExtractResultResponses = {
164
164
  * The extracted data.
165
165
  */
166
166
  200: {
167
- success: true;
167
+ /**
168
+ * False when status is failed.
169
+ */
170
+ success: boolean;
168
171
  status: "completed" | "failed";
169
172
  data: {
170
173
  [key: string]: ExtractResultSchema0;
@@ -735,7 +738,7 @@ type SearchData = {
735
738
  */
736
739
  country?: string;
737
740
  /**
738
- * Two-letter language for web results, like de. It steers which pages come back; some results can still be in other languages.
741
+ * Two-letter language for web results, like de. A web source that does not support this language for the selected country can return results in another language with a warning.
739
742
  */
740
743
  lang?: string;
741
744
  } | {
@@ -772,7 +775,7 @@ type SearchData = {
772
775
  */
773
776
  country?: string;
774
777
  /**
775
- * Two-letter language for web results, like de. It steers which pages come back; some results can still be in other languages.
778
+ * Two-letter language preference, like de. Applies to web results when web is selected, otherwise to news where supported. Results from a source that cannot honor it may be in another language and come with a warning.
776
779
  */
777
780
  lang?: string;
778
781
  includeDomains?: Array<string>;
@@ -794,11 +797,11 @@ type SearchData = {
794
797
  */
795
798
  highlights?: boolean;
796
799
  /**
797
- * With formats, reads each web and news result, as many as scrapeLimit or limit asks for, within timeout, and fills each web result's description from it. Without formats no page is read and nothing more is charged. Takes the options of scrape: formats (markdown, html, rawHtml, links, images, summary, screenshot, json and the rest), onlyMainContent, includeTags, excludeTags, maxAge, minAge, waitFor, mobile, timeout (per page), headers, actions, location, parsers, profile and zeroDataRetention. Costs what scrape costs for each page read: $1 per 1,000 pages, plus $3 per 1,000 pages for each summary or json with a schema or prompt that returns something.
800
+ * With formats, reads each web and news result, as many as scrapeLimit or limit asks for, within timeout, and fills each web result's description from it. Without formats no page is read and nothing more is charged. Takes the options of scrape: formats (markdown, html, rawHtml, links, images, summary, screenshot, json and the rest), onlyMainContent, includeTags, excludeTags, maxAge, minAge, waitFor, mobile, timeout (per page), headers, actions, location, parsers, profile and zeroDataRetention. redactPII uses patterns on web descriptions, news snippets, research snippets and video snippets, even without formats, when sources has web or news. Titles and URLs are unchanged. Snippets can still contain names and places that patterns miss. With formats, page reads and their add-ons use scrape pricing, starting at $1 per 1,000 pages for a standard read.
798
801
  */
799
802
  scrapeOptions?: {
800
803
  /**
801
- * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. json with rules or a parser, and attributes, cost nothing more. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
804
+ * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. JSON with CSS rules and attributes add nothing. A named parser uses its own price. Any page read or other paid format you ask for is charged separately. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
802
805
  */
803
806
  formats?: Array<("markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video" | "screenshot" | "changeTracking" | "product" | "menu") | {
804
807
  type: "markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video";
@@ -1089,7 +1092,7 @@ type SearchData = {
1089
1092
  saveChanges?: boolean;
1090
1093
  };
1091
1094
  /**
1092
- * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 pages. Not with a screenshot.
1095
+ * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 scraped URLs, not per PDF page. Not with a screenshot.
1093
1096
  */
1094
1097
  zeroDataRetention?: boolean;
1095
1098
  };
@@ -1644,9 +1647,6 @@ type SearchResponses = {
1644
1647
  }>;
1645
1648
  };
1646
1649
  warning?: string;
1647
- creditsUsed: number;
1648
- costUsd: number;
1649
- requestId?: string;
1650
1650
  };
1651
1651
  };
1652
1652
  type SearchResponse = SearchResponses[keyof SearchResponses];
@@ -1657,7 +1657,7 @@ type ScrapeData = {
1657
1657
  */
1658
1658
  url: string;
1659
1659
  /**
1660
- * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. json with rules or a parser, and attributes, cost nothing more. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
1660
+ * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. JSON with CSS rules and attributes add nothing. A named parser uses its own price. Any page read or other paid format you ask for is charged separately. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
1661
1661
  */
1662
1662
  formats?: Array<("markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video" | "screenshot" | "changeTracking" | "product" | "menu") | {
1663
1663
  type: "markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video";
@@ -1948,7 +1948,7 @@ type ScrapeData = {
1948
1948
  saveChanges?: boolean;
1949
1949
  };
1950
1950
  /**
1951
- * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 pages. Not with a screenshot.
1951
+ * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 scraped URLs, not per PDF page. Not with a screenshot.
1952
1952
  */
1953
1953
  zeroDataRetention?: boolean;
1954
1954
  /**
@@ -2056,14 +2056,10 @@ type ScrapeResponses = {
2056
2056
  cacheState?: "hit" | "miss" | "stale";
2057
2057
  cachedAt?: string;
2058
2058
  scrapeId?: string;
2059
- creditsUsed?: number;
2060
2059
  costUsd?: number;
2061
2060
  [key: string]: unknown | string | number | ("hit" | "miss" | "stale") | number | undefined;
2062
2061
  };
2063
2062
  };
2064
- creditsUsed: number;
2065
- costUsd: number;
2066
- requestId?: string;
2067
2063
  };
2068
2064
  };
2069
2065
  type ScrapeResponse = ScrapeResponses[keyof ScrapeResponses];
@@ -2287,7 +2283,7 @@ type ExtractData = {
2287
2283
  */
2288
2284
  proxy?: "auto" | "basic" | "enhanced" | "stealth";
2289
2285
  /**
2290
- * Send false to neither read nor keep a stored copy of this page.
2286
+ * Send false to skip reading and saving stored copies. Use zeroDataRetention to read live without saving a copy.
2291
2287
  */
2292
2288
  storeInCache?: boolean;
2293
2289
  /**
@@ -2329,7 +2325,7 @@ type ExtractData = {
2329
2325
  saveChanges?: boolean;
2330
2326
  };
2331
2327
  /**
2332
- * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 pages. Not with a screenshot.
2328
+ * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 scraped URLs, not per PDF page. Not with a screenshot.
2333
2329
  */
2334
2330
  zeroDataRetention?: boolean;
2335
2331
  };
@@ -2376,9 +2372,6 @@ type ExtractResponses = {
2376
2372
  success: true;
2377
2373
  id?: string;
2378
2374
  invalidURLs: Array<string>;
2379
- creditsUsed: number;
2380
- costUsd: number;
2381
- requestId?: string;
2382
2375
  };
2383
2376
  };
2384
2377
  type ExtractResponse = ExtractResponses[keyof ExtractResponses];
@@ -2504,6 +2497,10 @@ type BrowserTaskStatusResponses = {
2504
2497
  steps?: Array<string>;
2505
2498
  url?: string;
2506
2499
  title?: string;
2500
+ /**
2501
+ * The page the task ended on, as the browser showed it, so you can check the answer against it.
2502
+ */
2503
+ pageText?: string;
2507
2504
  seconds?: number;
2508
2505
  fields?: {
2509
2506
  [key: string]: BrowserTaskStatusSchema0;
@@ -2787,7 +2784,7 @@ type ParseResponses = {
2787
2784
  */
2788
2785
  200: {
2789
2786
  success: true;
2790
- data?: {
2787
+ data: {
2791
2788
  markdown?: string;
2792
2789
  html?: string;
2793
2790
  rawHtml?: string;
@@ -2804,16 +2801,14 @@ type ParseResponses = {
2804
2801
  [key: string]: ParseSchema0;
2805
2802
  }>;
2806
2803
  warning?: string;
2807
- metadata?: {
2804
+ metadata: {
2808
2805
  title?: string;
2809
2806
  contentType?: string;
2810
2807
  numPages?: number;
2811
2808
  ocrPages?: number;
2809
+ costUsd: number;
2812
2810
  };
2813
2811
  };
2814
- creditsUsed: number;
2815
- costUsd: number;
2816
- requestId?: string;
2817
2812
  };
2818
2813
  };
2819
2814
  type ParseResponse = ParseResponses[keyof ParseResponses];
@@ -2839,6 +2834,10 @@ type MapData = {
2839
2834
  * List each page once, without its ?query part.
2840
2835
  */
2841
2836
  ignoreQueryParameters?: boolean;
2837
+ /**
2838
+ * Send false to list distinct addresses such as /docs/a, /docs/a/ and /docs/a.md.
2839
+ */
2840
+ deduplicateSimilarURLs?: boolean;
2842
2841
  /**
2843
2842
  * Send true to build the list again instead of reusing one made in the last 6 hours.
2844
2843
  */
@@ -2902,9 +2901,6 @@ type MapResponses = {
2902
2901
  title?: string;
2903
2902
  description?: string;
2904
2903
  }>;
2905
- creditsUsed: number;
2906
- costUsd: number;
2907
- requestId?: string;
2908
2904
  };
2909
2905
  };
2910
2906
  type MapResponse = MapResponses[keyof MapResponses];
@@ -2975,7 +2971,7 @@ type CrawlData = {
2975
2971
  */
2976
2972
  scrapeOptions?: {
2977
2973
  /**
2978
- * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. json with rules or a parser, and attributes, cost nothing more. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
2974
+ * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. JSON with CSS rules and attributes add nothing. A named parser uses its own price. Any page read or other paid format you ask for is charged separately. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
2979
2975
  */
2980
2976
  formats?: Array<("markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video" | "screenshot" | "changeTracking" | "product" | "menu") | {
2981
2977
  type: "markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video";
@@ -3266,7 +3262,7 @@ type CrawlData = {
3266
3262
  saveChanges?: boolean;
3267
3263
  };
3268
3264
  /**
3269
- * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 pages. Not with a screenshot.
3265
+ * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 scraped URLs, not per PDF page. Not with a screenshot.
3270
3266
  */
3271
3267
  zeroDataRetention?: boolean;
3272
3268
  };
@@ -3324,9 +3320,6 @@ type CrawlResponses = {
3324
3320
  url?: string;
3325
3321
  status?: "scraping";
3326
3322
  queuePosition?: number;
3327
- creditsUsed: number;
3328
- costUsd: number;
3329
- requestId?: string;
3330
3323
  };
3331
3324
  };
3332
3325
  type CrawlResponse = CrawlResponses[keyof CrawlResponses];
@@ -3361,9 +3354,6 @@ type CrawlCancelResponses = {
3361
3354
  200: {
3362
3355
  status: "cancelled";
3363
3356
  success: true;
3364
- creditsUsed: number;
3365
- costUsd: number;
3366
- requestId?: string;
3367
3357
  };
3368
3358
  };
3369
3359
  type CrawlCancelResponse = CrawlCancelResponses[keyof CrawlCancelResponses];
@@ -3377,6 +3367,10 @@ type CrawlStatusData = {
3377
3367
  * Cut every text value in the response to this many characters. A value that was cut ends with …, and a page whose text was cut has isTruncated set to true. A screenshot is never cut. Leave it out to get the full text.
3378
3368
  */
3379
3369
  maxTextLength?: number;
3370
+ /**
3371
+ * Send ck_start to start reading with checkpoints. Send the returned checkpoint here to resume, even when no more pages are ready.
3372
+ */
3373
+ checkpoint?: string;
3380
3374
  /**
3381
3375
  * The cursor from the previous response. Send it as is.
3382
3376
  */
@@ -3424,6 +3418,8 @@ type CrawlStatusResponses = {
3424
3418
  duration?: number;
3425
3419
  expiresAt?: string;
3426
3420
  next?: string;
3421
+ checkpoint?: string;
3422
+ message?: string;
3427
3423
  data: Array<{
3428
3424
  markdown?: string;
3429
3425
  summary?: string;
@@ -3485,7 +3481,6 @@ type CrawlStatusResponses = {
3485
3481
  [key: string]: unknown | string | number | ("hit" | "miss" | "stale") | number | undefined;
3486
3482
  };
3487
3483
  }>;
3488
- requestId?: string;
3489
3484
  };
3490
3485
  };
3491
3486
  type CrawlStatusResponse = CrawlStatusResponses[keyof CrawlStatusResponses];
@@ -3521,7 +3516,7 @@ type BatchScrapeData = {
3521
3516
  */
3522
3517
  ignoreInvalidURLs?: boolean;
3523
3518
  /**
3524
- * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. json with rules or a parser, and attributes, cost nothing more. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
3519
+ * What to return: markdown (clean page text), summary (a short summary of the page), html (the cleaned page), rawHtml (the page as sent), audio and video (for a YouTube link: the audio track as an M4A file, or the video as an MP4 file, as a link that works for 1 hour), rawBase64 (the bytes the site sent, Base64 encoded, from a live read; metadata.contentType says what they are), links (every link on the page), images (every image address), screenshot (a link to a JPEG of the visible page, kept for 7 days), changeTracking (what changed in the markdown since your key last read this page with the same options, kept 30 days; add modes ["git-diff","json"] with a schema or prompt to compare fields too), question (send { "type": "question", "question": "..." } to get answer, left out with a warning when the page does not state one), product (title, brand, category, url, description and variants with price, sale, availability and images, left out with a warning when there is none) and menu (merchant, currency and sections of items with prices, left out with a warning when there is none) network (the JSON the page loaded while it rendered, up to 30 responses) and branding (the page's colors, fonts, typography, spacing, button and input styles, logo and brand images, read from how the page looks, with a field left out when the page does not show it). Send { "type": "screenshot", "fullPage": true } for the whole page. Send { "type": "highlights", "query": "refund policy" } for the passages that best match a query. Send { "type": "json", "schema": { "type": "object", "properties": { "price": { "type": "number" } } } } or { "type": "json", "prompt": "the price and the stock" } for fields filled from the page, each checked against it. Send { "type": "json", "parser": "amazon-product" } to get a site's own data as json instead of reading the page; GET /v1/parsers lists the parsers. Send { "type": "json", "rules": { "title": "h1", "links": { "selector": "a", "type": "list", "output": "@href" } } } to read the page with CSS rules and no model, at the page's own price. Send { "type": "attributes", "selectors": [{ "selector": "a", "attribute": "href" }] } for attribute values, returned in attributes. Without a parser or rules, json needs a schema or a prompt and is filled from the page. json with a schema or a prompt, summary, highlights, question, product, menu and changeTracking in json mode add $3 per 1,000 pages each when they return something. JSON with CSS rules and attributes add nothing. A named parser uses its own price. Any page read or other paid format you ask for is charged separately. A screenshot, network or branding read costs $1 per 1,000 pages, the same as any page. A PDF comes back as markdown only, and adds $0.50 per 1,000 pages of text from its text layer and $2.50 per 1,000 pages of text read from its picture that comes back. A CSV or an Excel .xlsx file comes back as markdown tables.
3525
3520
  */
3526
3521
  formats?: Array<("markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video" | "screenshot" | "changeTracking" | "product" | "menu") | {
3527
3522
  type: "markdown" | "summary" | "html" | "rawHtml" | "rawBase64" | "links" | "images" | "network" | "branding" | "audio" | "video";
@@ -3812,7 +3807,7 @@ type BatchScrapeData = {
3812
3807
  saveChanges?: boolean;
3813
3808
  };
3814
3809
  /**
3815
- * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 pages. Not with a screenshot.
3810
+ * Send true to keep nothing from this call: no stored copy is read or made, and nothing from it is logged. Adds $2 per 1,000 scraped URLs, not per PDF page. Not with a screenshot.
3816
3811
  */
3817
3812
  zeroDataRetention?: boolean;
3818
3813
  /**
@@ -3865,9 +3860,6 @@ type BatchScrapeResponses = {
3865
3860
  status?: "scraping";
3866
3861
  queuePosition?: number;
3867
3862
  invalidURLs: Array<string>;
3868
- creditsUsed: number;
3869
- costUsd: number;
3870
- requestId?: string;
3871
3863
  };
3872
3864
  };
3873
3865
  type BatchScrapeResponse = BatchScrapeResponses[keyof BatchScrapeResponses];
@@ -3902,9 +3894,6 @@ type BatchScrapeCancelResponses = {
3902
3894
  200: {
3903
3895
  status: "cancelled";
3904
3896
  success: true;
3905
- creditsUsed: number;
3906
- costUsd: number;
3907
- requestId?: string;
3908
3897
  };
3909
3898
  };
3910
3899
  type BatchScrapeCancelResponse = BatchScrapeCancelResponses[keyof BatchScrapeCancelResponses];
@@ -3918,6 +3907,10 @@ type BatchScrapeStatusData = {
3918
3907
  * Cut every text value in the response to this many characters. A value that was cut ends with …, and a page whose text was cut has isTruncated set to true. A screenshot is never cut. Leave it out to get the full text.
3919
3908
  */
3920
3909
  maxTextLength?: number;
3910
+ /**
3911
+ * Send ck_start to start reading with checkpoints. Send the returned checkpoint here to resume, even when no more pages are ready.
3912
+ */
3913
+ checkpoint?: string;
3921
3914
  /**
3922
3915
  * The cursor from the previous response. Send it as is.
3923
3916
  */
@@ -3965,6 +3958,7 @@ type BatchScrapeStatusResponses = {
3965
3958
  duration?: number;
3966
3959
  expiresAt?: string;
3967
3960
  next?: string;
3961
+ checkpoint?: string;
3968
3962
  data: Array<{
3969
3963
  markdown?: string;
3970
3964
  summary?: string;
@@ -4026,7 +4020,6 @@ type BatchScrapeStatusResponses = {
4026
4020
  [key: string]: unknown | string | number | ("hit" | "miss" | "stale") | number | undefined;
4027
4021
  };
4028
4022
  }>;
4029
- requestId?: string;
4030
4023
  };
4031
4024
  };
4032
4025
  type BatchScrapeStatusResponse = BatchScrapeStatusResponses[keyof BatchScrapeStatusResponses];
@@ -4156,14 +4149,11 @@ declare function bindSurface(call: Caller): {
4156
4149
  success: true;
4157
4150
  id?: string;
4158
4151
  invalidURLs: Array<string>;
4159
- creditsUsed: number;
4160
- costUsd: number;
4161
- requestId?: string;
4162
4152
  }>) & {
4163
4153
  result: (input: {
4164
4154
  id: string;
4165
4155
  }, options?: RequestOptions) => Promise<{
4166
- success: true;
4156
+ success: boolean;
4167
4157
  status: "completed" | "failed";
4168
4158
  data: {
4169
4159
  [key: string]: ExtractResultSchema0;
@@ -4850,9 +4840,6 @@ declare function bindSurface(call: Caller): {
4850
4840
  }>;
4851
4841
  };
4852
4842
  warning?: string;
4853
- creditsUsed: number;
4854
- costUsd: number;
4855
- requestId?: string;
4856
4843
  }>) & {
4857
4844
  developer: (body: {
4858
4845
  query: string;
@@ -5085,14 +5072,10 @@ declare function bindSurface(call: Caller): {
5085
5072
  cacheState?: "hit" | "miss" | "stale";
5086
5073
  cachedAt?: string;
5087
5074
  scrapeId?: string;
5088
- creditsUsed?: number;
5089
5075
  costUsd?: number;
5090
5076
  [key: string]: unknown | string | number | ("hit" | "miss" | "stale") | number | undefined;
5091
5077
  };
5092
5078
  };
5093
- creditsUsed: number;
5094
- costUsd: number;
5095
- requestId?: string;
5096
5079
  }>;
5097
5080
  browser: {
5098
5081
  task: ((body: {
@@ -5127,6 +5110,7 @@ declare function bindSurface(call: Caller): {
5127
5110
  steps?: Array<string>;
5128
5111
  url?: string;
5129
5112
  title?: string;
5113
+ pageText?: string;
5130
5114
  seconds?: number;
5131
5115
  fields?: {
5132
5116
  [key: string]: BrowserTaskStatusSchema0;
@@ -5219,7 +5203,7 @@ declare function bindSurface(call: Caller): {
5219
5203
  };
5220
5204
  } | undefined, options?: RequestOptions) => Promise<{
5221
5205
  success: true;
5222
- data?: {
5206
+ data: {
5223
5207
  markdown?: string;
5224
5208
  html?: string;
5225
5209
  rawHtml?: string;
@@ -5236,16 +5220,14 @@ declare function bindSurface(call: Caller): {
5236
5220
  [key: string]: ParseSchema0;
5237
5221
  }>;
5238
5222
  warning?: string;
5239
- metadata?: {
5223
+ metadata: {
5240
5224
  title?: string;
5241
5225
  contentType?: string;
5242
5226
  numPages?: number;
5243
5227
  ocrPages?: number;
5228
+ costUsd: number;
5244
5229
  };
5245
5230
  };
5246
- creditsUsed: number;
5247
- costUsd: number;
5248
- requestId?: string;
5249
5231
  }>;
5250
5232
  map: (body: {
5251
5233
  url: string;
@@ -5253,6 +5235,7 @@ declare function bindSurface(call: Caller): {
5253
5235
  sitemap?: "skip" | "include" | "only";
5254
5236
  includeSubdomains?: boolean;
5255
5237
  ignoreQueryParameters?: boolean;
5238
+ deduplicateSimilarURLs?: boolean;
5256
5239
  ignoreCache?: boolean;
5257
5240
  limit?: number;
5258
5241
  timeout?: number;
@@ -5267,9 +5250,6 @@ declare function bindSurface(call: Caller): {
5267
5250
  title?: string;
5268
5251
  description?: string;
5269
5252
  }>;
5270
- creditsUsed: number;
5271
- costUsd: number;
5272
- requestId?: string;
5273
5253
  }>;
5274
5254
  crawl: ((body: {
5275
5255
  url: string;
@@ -5442,14 +5422,12 @@ declare function bindSurface(call: Caller): {
5442
5422
  url?: string;
5443
5423
  status?: "scraping";
5444
5424
  queuePosition?: number;
5445
- creditsUsed: number;
5446
- costUsd: number;
5447
- requestId?: string;
5448
5425
  }>) & {
5449
5426
  status: (input: {
5450
5427
  id: string;
5451
5428
  } & {
5452
5429
  maxTextLength?: number;
5430
+ checkpoint?: string;
5453
5431
  cursor?: string;
5454
5432
  }, options?: RequestOptions) => Promise<{
5455
5433
  success: true;
@@ -5476,6 +5454,8 @@ declare function bindSurface(call: Caller): {
5476
5454
  duration?: number;
5477
5455
  expiresAt?: string;
5478
5456
  next?: string;
5457
+ checkpoint?: string;
5458
+ message?: string;
5479
5459
  data: Array<{
5480
5460
  markdown?: string;
5481
5461
  summary?: string;
@@ -5534,7 +5514,6 @@ declare function bindSurface(call: Caller): {
5534
5514
  [key: string]: unknown | string | number | ("hit" | "miss" | "stale") | number | undefined;
5535
5515
  };
5536
5516
  }>;
5537
- requestId?: string;
5538
5517
  }>;
5539
5518
  cancel: (input: {
5540
5519
  id: string;
@@ -5543,9 +5522,6 @@ declare function bindSurface(call: Caller): {
5543
5522
  }, options?: RequestOptions) => Promise<{
5544
5523
  status: "cancelled";
5545
5524
  success: true;
5546
- creditsUsed: number;
5547
- costUsd: number;
5548
- requestId?: string;
5549
5525
  }>;
5550
5526
  };
5551
5527
  batch: {
@@ -5710,14 +5686,12 @@ declare function bindSurface(call: Caller): {
5710
5686
  status?: "scraping";
5711
5687
  queuePosition?: number;
5712
5688
  invalidURLs: Array<string>;
5713
- creditsUsed: number;
5714
- costUsd: number;
5715
- requestId?: string;
5716
5689
  }>) & {
5717
5690
  status: (input: {
5718
5691
  id: string;
5719
5692
  } & {
5720
5693
  maxTextLength?: number;
5694
+ checkpoint?: string;
5721
5695
  cursor?: string;
5722
5696
  }, options?: RequestOptions) => Promise<{
5723
5697
  success: true;
@@ -5744,6 +5718,7 @@ declare function bindSurface(call: Caller): {
5744
5718
  duration?: number;
5745
5719
  expiresAt?: string;
5746
5720
  next?: string;
5721
+ checkpoint?: string;
5747
5722
  data: Array<{
5748
5723
  markdown?: string;
5749
5724
  summary?: string;
@@ -5802,7 +5777,6 @@ declare function bindSurface(call: Caller): {
5802
5777
  [key: string]: unknown | string | number | ("hit" | "miss" | "stale") | number | undefined;
5803
5778
  };
5804
5779
  }>;
5805
- requestId?: string;
5806
5780
  }>;
5807
5781
  cancel: (input: {
5808
5782
  id: string;
@@ -5811,9 +5785,6 @@ declare function bindSurface(call: Caller): {
5811
5785
  }, options?: RequestOptions) => Promise<{
5812
5786
  status: "cancelled";
5813
5787
  success: true;
5814
- creditsUsed: number;
5815
- costUsd: number;
5816
- requestId?: string;
5817
5788
  }>;
5818
5789
  };
5819
5790
  };
@@ -5838,6 +5809,18 @@ declare class Surface {
5838
5809
  constructor(call: Caller);
5839
5810
  }
5840
5811
 
5812
+ interface ResultsOptions {
5813
+ checkpoint?: string;
5814
+ pollIntervalMs?: number;
5815
+ timeoutMs?: number;
5816
+ signal?: AbortSignal;
5817
+ onCheckpoint?: (checkpoint: string) => void;
5818
+ }
5819
+ interface ResultsEnd {
5820
+ status: string;
5821
+ checkpoint: string;
5822
+ }
5823
+
5841
5824
  interface StophyOptions {
5842
5825
  apiKey?: string;
5843
5826
  baseUrl?: string;
@@ -5855,6 +5838,8 @@ type JsonFormat = Extract<NonNullable<ScrapeData["body"]["formats"]>[number], {
5855
5838
  type ParserOptions = NonNullable<JsonFormat["options"]>;
5856
5839
  declare class Stophy extends Surface {
5857
5840
  constructor(input?: StophyClientInput);
5841
+ crawlResults(id: string, options?: ResultsOptions): AsyncGenerator<NonNullable<CrawlStatusResponse["data"]>[number], ResultsEnd>;
5842
+ batchScrapeResults(id: string, options?: ResultsOptions): AsyncGenerator<NonNullable<BatchScrapeStatusResponse["data"]>[number], ResultsEnd>;
5858
5843
  parsed(parser: ParserName, url: string, options?: ParserOptions, request?: RequestOptions): Promise<ScrapeResponse>;
5859
5844
  }
5860
5845
 
@@ -5871,6 +5856,7 @@ declare class StophyError extends Error {
5871
5856
  readonly status: number;
5872
5857
  readonly requestId?: string;
5873
5858
  readonly details: Record<string, JsonValue>;
5859
+ readonly outcomeUnknown?: true;
5874
5860
  constructor(message: string, options: {
5875
5861
  status: number;
5876
5862
  code?: string;
@@ -5881,4 +5867,4 @@ declare class StophyError extends Error {
5881
5867
  });
5882
5868
  }
5883
5869
 
5884
- export { type BatchScrapeCancelData, type BatchScrapeCancelError, type BatchScrapeCancelErrors, type BatchScrapeCancelResponse, type BatchScrapeCancelResponses, type BatchScrapeData, type BatchScrapeError, type BatchScrapeErrors, type BatchScrapeInputSchema0, type BatchScrapeInputSchema1, type BatchScrapeInputSchema2, type BatchScrapeResponse, type BatchScrapeResponses, type BatchScrapeStatusData, type BatchScrapeStatusError, type BatchScrapeStatusErrors, type BatchScrapeStatusResponse, type BatchScrapeStatusResponses, type BatchScrapeStatusSchema0, type BrowserTaskData, type BrowserTaskError, type BrowserTaskErrors, type BrowserTaskInputSchema0, type BrowserTaskResponse, type BrowserTaskResponses, type BrowserTaskStatusData, type BrowserTaskStatusError, type BrowserTaskStatusErrors, type BrowserTaskStatusResponse, type BrowserTaskStatusResponses, type BrowserTaskStatusSchema0, type CallOptions, type ClientOptions, type CrawlCancelData, type CrawlCancelError, type CrawlCancelErrors, type CrawlCancelResponse, type CrawlCancelResponses, type CrawlData, type CrawlError, type CrawlErrors, type CrawlInputSchema0, type CrawlInputSchema1, type CrawlInputSchema2, type CrawlResponse, type CrawlResponses, type CrawlStatusData, type CrawlStatusError, type CrawlStatusErrors, type CrawlStatusResponse, type CrawlStatusResponses, type CrawlStatusSchema0, type ExtractData, type ExtractError, type ExtractErrors, type ExtractInputSchema0, type ExtractResponse, type ExtractResponses, type ExtractResultData, type ExtractResultError, type ExtractResultErrors, type ExtractResultResponse, type ExtractResultResponses, type ExtractResultSchema0, type FetchLike, type GetLimitsData, type GetLimitsError, type GetLimitsErrors, type GetLimitsResponse, type GetLimitsResponses, type GetLogsData, type GetLogsError, type GetLogsErrors, type GetLogsResponse, type GetLogsResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type IdempotencyKey, type ListEndpoints26Schema0, type ListEndpointsData, type ListEndpointsError, type ListEndpointsErrors, type ListEndpointsResponse, type ListEndpointsResponses, type ListParsersData, type ListParsersResponse, type ListParsersResponses, type MapData, type MapError, type MapErrors, type MapResponse, type MapResponses, type MaxTextLength, type ParseData, type ParseError, type ParseErrors, type ParseInputSchema0, type ParseResponse, type ParseResponses, type ParseSchema0, type ParserName, type ParserOptions, type PollSignUpData, type PollSignUpError, type PollSignUpErrors, type PollSignUpResponse, type PollSignUpResponses, type RevokeKeyData, type RevokeKeyError, type RevokeKeyErrors, type RevokeKeyResponse, type RevokeKeyResponses, type ScrapeData, type ScrapeError, type ScrapeErrors, type ScrapeInputSchema0, type ScrapeInputSchema1, type ScrapeInputSchema2, type ScrapeResponse, type ScrapeResponses, type ScrapeSchema0, type SearchData, type SearchDeveloperData, type SearchDeveloperError, type SearchDeveloperErrors, type SearchDeveloperResponse, type SearchDeveloperResponses, type SearchError, type SearchErrors, type SearchInputSchema0, type SearchInputSchema1, type SearchInputSchema2, type SearchResponse, type SearchResponses, type SearchSchema0, type SignUpData, type SignUpError, type SignUpErrors, type SignUpResponse, type SignUpResponses, Stophy, type StophyClientInput, StophyError, type StophyErrorCode, type StophyOptions, Surface, type _Error, Stophy as default };
5870
+ export { type BatchScrapeCancelData, type BatchScrapeCancelError, type BatchScrapeCancelErrors, type BatchScrapeCancelResponse, type BatchScrapeCancelResponses, type BatchScrapeData, type BatchScrapeError, type BatchScrapeErrors, type BatchScrapeInputSchema0, type BatchScrapeInputSchema1, type BatchScrapeInputSchema2, type BatchScrapeResponse, type BatchScrapeResponses, type BatchScrapeStatusData, type BatchScrapeStatusError, type BatchScrapeStatusErrors, type BatchScrapeStatusResponse, type BatchScrapeStatusResponses, type BatchScrapeStatusSchema0, type BrowserTaskData, type BrowserTaskError, type BrowserTaskErrors, type BrowserTaskInputSchema0, type BrowserTaskResponse, type BrowserTaskResponses, type BrowserTaskStatusData, type BrowserTaskStatusError, type BrowserTaskStatusErrors, type BrowserTaskStatusResponse, type BrowserTaskStatusResponses, type BrowserTaskStatusSchema0, type CallOptions, type ClientOptions, type CrawlCancelData, type CrawlCancelError, type CrawlCancelErrors, type CrawlCancelResponse, type CrawlCancelResponses, type CrawlData, type CrawlError, type CrawlErrors, type CrawlInputSchema0, type CrawlInputSchema1, type CrawlInputSchema2, type CrawlResponse, type CrawlResponses, type CrawlStatusData, type CrawlStatusError, type CrawlStatusErrors, type CrawlStatusResponse, type CrawlStatusResponses, type CrawlStatusSchema0, type ExtractData, type ExtractError, type ExtractErrors, type ExtractInputSchema0, type ExtractResponse, type ExtractResponses, type ExtractResultData, type ExtractResultError, type ExtractResultErrors, type ExtractResultResponse, type ExtractResultResponses, type ExtractResultSchema0, type FetchLike, type GetLimitsData, type GetLimitsError, type GetLimitsErrors, type GetLimitsResponse, type GetLimitsResponses, type GetLogsData, type GetLogsError, type GetLogsErrors, type GetLogsResponse, type GetLogsResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageResponse, type GetUsageResponses, type IdempotencyKey, type ListEndpoints26Schema0, type ListEndpointsData, type ListEndpointsError, type ListEndpointsErrors, type ListEndpointsResponse, type ListEndpointsResponses, type ListParsersData, type ListParsersResponse, type ListParsersResponses, type MapData, type MapError, type MapErrors, type MapResponse, type MapResponses, type MaxTextLength, type ParseData, type ParseError, type ParseErrors, type ParseInputSchema0, type ParseResponse, type ParseResponses, type ParseSchema0, type ParserName, type ParserOptions, type PollSignUpData, type PollSignUpError, type PollSignUpErrors, type PollSignUpResponse, type PollSignUpResponses, type ResultsEnd, type ResultsOptions, type RevokeKeyData, type RevokeKeyError, type RevokeKeyErrors, type RevokeKeyResponse, type RevokeKeyResponses, type ScrapeData, type ScrapeError, type ScrapeErrors, type ScrapeInputSchema0, type ScrapeInputSchema1, type ScrapeInputSchema2, type ScrapeResponse, type ScrapeResponses, type ScrapeSchema0, type SearchData, type SearchDeveloperData, type SearchDeveloperError, type SearchDeveloperErrors, type SearchDeveloperResponse, type SearchDeveloperResponses, type SearchError, type SearchErrors, type SearchInputSchema0, type SearchInputSchema1, type SearchInputSchema2, type SearchResponse, type SearchResponses, type SearchSchema0, type SignUpData, type SignUpError, type SignUpErrors, type SignUpResponse, type SignUpResponses, Stophy, type StophyClientInput, StophyError, type StophyErrorCode, type StophyOptions, Surface, type _Error, Stophy as default };