@@ -2701,6 +2701,15 @@ export interface WebAnswersParams {
27012701 * timeoutOpts object.
27022702 */
27032703 timeoutOpts ?: WebAnswersParams . TimeoutOpts ;
2704+
2705+ /**
2706+ * Set to enabled to bypass shared caches and omit request and response content
2707+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
2708+ * omitted. Requires zero data retention to be enabled for your organization
2709+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
2710+ * Successful ZDR responses include X-Context-ZDR: true.
2711+ */
2712+ zdr ?: 'enabled' | 'disabled' ;
27042713}
27052714
27062715export namespace WebAnswersParams {
@@ -2829,6 +2838,15 @@ export interface WebExtractParams {
28292838 * crawled page.
28302839 */
28312840 waitForMs ?: number ;
2841+
2842+ /**
2843+ * Set to enabled to bypass shared caches and omit request and response content
2844+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
2845+ * omitted. Requires zero data retention to be enabled for your organization
2846+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
2847+ * Successful ZDR responses include X-Context-ZDR: true.
2848+ */
2849+ zdr ?: 'enabled' | 'disabled' ;
28322850}
28332851
28342852export namespace WebExtractParams {
@@ -2943,6 +2961,15 @@ export interface WebExtractCompetitorsParams {
29432961 * timeoutOpts object.
29442962 */
29452963 timeoutOpts ?: WebExtractCompetitorsParams . TimeoutOpts ;
2964+
2965+ /**
2966+ * Set to enabled to bypass shared caches and omit request and response content
2967+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
2968+ * omitted. Requires zero data retention to be enabled for your organization
2969+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
2970+ * Successful ZDR responses include X-Context-ZDR: true.
2971+ */
2972+ zdr ?: 'enabled' | 'disabled' ;
29462973}
29472974
29482975export namespace WebExtractCompetitorsParams {
@@ -3069,6 +3096,15 @@ export interface WebExtractStyleguideParams {
30693096 * timeoutOpts object.
30703097 */
30713098 timeoutOpts ?: WebExtractStyleguideParams . TimeoutOpts ;
3099+
3100+ /**
3101+ * Set to enabled to bypass shared caches and omit request and response content
3102+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
3103+ * omitted. Requires zero data retention to be enabled for your organization
3104+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
3105+ * Successful ZDR responses include X-Context-ZDR: true.
3106+ */
3107+ zdr ?: 'enabled' | 'disabled' ;
30723108}
30733109
30743110export namespace WebExtractStyleguideParams {
@@ -3403,9 +3439,10 @@ export interface WebScreenshotParams {
34033439
34043440 /**
34053441 * Set to enabled to bypass shared caches and omit request and response content
3406- * from retained usage logs. Requires zero data retention to be enabled for your
3407- * organization (contact support@context.dev), otherwise the request fails with
3408- * ZDR_NOT_ENABLED. Successful ZDR responses include X-Context-ZDR: true.
3442+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
3443+ * omitted. Requires zero data retention to be enabled for your organization
3444+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
3445+ * Successful ZDR responses include X-Context-ZDR: true.
34093446 */
34103447 zdr ?: 'enabled' | 'disabled' ;
34113448}
@@ -3743,6 +3780,15 @@ export interface WebSearchParams {
37433780 * timeoutOpts object.
37443781 */
37453782 timeoutOpts ?: WebSearchParams . TimeoutOpts ;
3783+
3784+ /**
3785+ * Set to enabled to bypass shared caches and omit request and response content
3786+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
3787+ * omitted. Requires zero data retention to be enabled for your organization
3788+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
3789+ * Successful ZDR responses include X-Context-ZDR: true.
3790+ */
3791+ zdr ?: 'enabled' | 'disabled' ;
37463792}
37473793
37483794export namespace WebSearchParams {
@@ -4500,9 +4546,10 @@ export interface WebWebScrapeBytesParams {
45004546
45014547 /**
45024548 * Set to enabled to bypass shared caches and omit request and response content
4503- * from retained usage logs. Requires zero data retention to be enabled for your
4504- * organization (contact support@context.dev), otherwise the request fails with
4505- * ZDR_NOT_ENABLED. Successful ZDR responses include X-Context-ZDR: true.
4549+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
4550+ * omitted. Requires zero data retention to be enabled for your organization
4551+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
4552+ * Successful ZDR responses include X-Context-ZDR: true.
45064553 */
45074554 zdr ?: 'enabled' | 'disabled' ;
45084555}
@@ -4840,9 +4887,10 @@ export interface WebWebScrapeHTMLParams {
48404887
48414888 /**
48424889 * Set to enabled to bypass shared caches and omit request and response content
4843- * from retained usage logs. Requires zero data retention to be enabled for your
4844- * organization (contact support@context.dev), otherwise the request fails with
4845- * ZDR_NOT_ENABLED. Successful ZDR responses include X-Context-ZDR: true.
4890+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
4891+ * omitted. Requires zero data retention to be enabled for your organization
4892+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
4893+ * Successful ZDR responses include X-Context-ZDR: true.
48464894 */
48474895 zdr ?: 'enabled' | 'disabled' ;
48484896}
@@ -5031,6 +5079,15 @@ export interface WebWebScrapeImagesParams {
50315079 * shorter deadline is rejected with 400 TIMEOUT_TOO_SHORT_FOR_WAIT.
50325080 */
50335081 waitForMs ?: number | null ;
5082+
5083+ /**
5084+ * Set to enabled to bypass shared caches and omit request and response content
5085+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
5086+ * omitted. Requires zero data retention to be enabled for your organization
5087+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
5088+ * Successful ZDR responses include X-Context-ZDR: true.
5089+ */
5090+ zdr ?: 'enabled' | 'disabled' ;
50345091}
50355092
50365093export namespace WebWebScrapeImagesParams {
@@ -5094,7 +5151,7 @@ export namespace WebWebScrapeImagesParams {
50945151
50955152 /**
50965153 * Host materializable images on the Brand.dev CDN and return their URL and MIME
5097- * type.
5154+ * type. Ignored when zero data retention is enabled.
50985155 */
50995156 hostedUrl ?: boolean ;
51005157
@@ -5456,9 +5513,10 @@ export interface WebWebScrapeMdParams {
54565513
54575514 /**
54585515 * Set to enabled to bypass shared caches and omit request and response content
5459- * from retained usage logs. Requires zero data retention to be enabled for your
5460- * organization (contact support@context.dev), otherwise the request fails with
5461- * ZDR_NOT_ENABLED. Successful ZDR responses include X-Context-ZDR: true.
5516+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
5517+ * omitted. Requires zero data retention to be enabled for your organization
5518+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
5519+ * Successful ZDR responses include X-Context-ZDR: true.
54625520 */
54635521 zdr ?: 'enabled' | 'disabled' ;
54645522}
@@ -5624,9 +5682,10 @@ export interface WebWebScrapeSitemapParams {
56245682
56255683 /**
56265684 * Set to enabled to bypass shared caches and omit request and response content
5627- * from retained usage logs. Requires zero data retention to be enabled for your
5628- * organization (contact support@context.dev), otherwise the request fails with
5629- * ZDR_NOT_ENABLED. Successful ZDR responses include X-Context-ZDR: true.
5685+ * from retained usage logs. Asset uploads are skipped, so hosted image URLs are
5686+ * omitted. Requires zero data retention to be enabled for your organization
5687+ * (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
5688+ * Successful ZDR responses include X-Context-ZDR: true.
56305689 */
56315690 zdr ?: 'enabled' | 'disabled' ;
56325691}
0 commit comments