@@ -130,6 +130,7 @@ def top_pages(
130130 query : str ,
131131 filter : Optional [Dict [str , object ]] | Omit = omit ,
132132 include_content : bool | Omit = omit ,
133+ include_metadata : bool | Omit = omit ,
133134 latency_mode : Literal ["low" , "high" ] | Omit = omit ,
134135 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
135136 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -155,6 +156,9 @@ def top_pages(
155156
156157 include_content: If set to true, then the content of all pages will be returned.
157158
159+ include_metadata: Whether or not to include the document metadata in the response. If not
160+ provided, then the default will be `False`.
161+
158162 latency_mode: This option selects between our two latency modes. The higher latency mode takes
159163 longer, but can allow for more accurate responses. If desired, test both to
160164 customize your search experience for your particular use-case, or use the
@@ -178,6 +182,7 @@ def top_pages(
178182 "query" : query ,
179183 "filter" : filter ,
180184 "include_content" : include_content ,
185+ "include_metadata" : include_metadata ,
181186 "latency_mode" : latency_mode ,
182187 },
183188 query_top_pages_params .QueryTopPagesParams ,
@@ -371,6 +376,7 @@ async def top_pages(
371376 query : str ,
372377 filter : Optional [Dict [str , object ]] | Omit = omit ,
373378 include_content : bool | Omit = omit ,
379+ include_metadata : bool | Omit = omit ,
374380 latency_mode : Literal ["low" , "high" ] | Omit = omit ,
375381 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
376382 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -396,6 +402,9 @@ async def top_pages(
396402
397403 include_content: If set to true, then the content of all pages will be returned.
398404
405+ include_metadata: Whether or not to include the document metadata in the response. If not
406+ provided, then the default will be `False`.
407+
399408 latency_mode: This option selects between our two latency modes. The higher latency mode takes
400409 longer, but can allow for more accurate responses. If desired, test both to
401410 customize your search experience for your particular use-case, or use the
@@ -419,6 +428,7 @@ async def top_pages(
419428 "query" : query ,
420429 "filter" : filter ,
421430 "include_content" : include_content ,
431+ "include_metadata" : include_metadata ,
422432 "latency_mode" : latency_mode ,
423433 },
424434 query_top_pages_params .QueryTopPagesParams ,
0 commit comments