@@ -152,6 +152,7 @@ def list(
152152 created_at_on_or_before : Union [str , datetime , None ] | Omit = omit ,
153153 document_input_type : Optional [str ] | Omit = omit ,
154154 document_input_value : Optional [str ] | Omit = omit ,
155+ expand : SequenceNotStr [str ] | Omit = omit ,
155156 job_ids : Optional [SequenceNotStr [str ]] | Omit = omit ,
156157 organization_id : Optional [str ] | Omit = omit ,
157158 page_size : Optional [int ] | Omit = omit ,
@@ -169,7 +170,9 @@ def list(
169170 List extraction jobs with optional filtering and pagination.
170171
171172 Filter by `configuration_id`, `status`, `document_input_value`, or creation date
172- range. Results are returned newest-first.
173+ range. Results are returned newest-first. Use `expand=configuration` to include
174+ the full configuration used, and `expand=extract_metadata` for usage metrics and
175+ per-field metadata.
173176
174177 Args:
175178 configuration_id: Filter by configuration ID
@@ -182,6 +185,8 @@ def list(
182185
183186 document_input_value: Filter by document input value
184187
188+ expand: Additional fields to include: configuration, extract_metadata
189+
185190 job_ids: Filter by specific job IDs
186191
187192 page_size: Number of items per page
@@ -213,6 +218,7 @@ def list(
213218 "created_at_on_or_before" : created_at_on_or_before ,
214219 "document_input_type" : document_input_type ,
215220 "document_input_value" : document_input_value ,
221+ "expand" : expand ,
216222 "job_ids" : job_ids ,
217223 "organization_id" : organization_id ,
218224 "page_size" : page_size ,
@@ -352,12 +358,12 @@ def get(
352358 """
353359 Get a single extraction job by ID.
354360
355- Returns the job status, configuration, and results when complete. Use
356- `expand=extract_metadata` to include usage metrics and per-field metadata
357- (citations, confidence scores) .
361+ Returns the job status and results when complete. Use `expand=configuration` to
362+ include the full configuration used, and `expand=extract_metadata` for usage
363+ metrics and per-field metadata .
358364
359365 Args:
360- expand: Additional fields to include: extract_metadata
366+ expand: Additional fields to include: configuration, extract_metadata
361367
362368 extra_headers: Send extra headers
363369
@@ -739,6 +745,7 @@ def list(
739745 created_at_on_or_before : Union [str , datetime , None ] | Omit = omit ,
740746 document_input_type : Optional [str ] | Omit = omit ,
741747 document_input_value : Optional [str ] | Omit = omit ,
748+ expand : SequenceNotStr [str ] | Omit = omit ,
742749 job_ids : Optional [SequenceNotStr [str ]] | Omit = omit ,
743750 organization_id : Optional [str ] | Omit = omit ,
744751 page_size : Optional [int ] | Omit = omit ,
@@ -756,7 +763,9 @@ def list(
756763 List extraction jobs with optional filtering and pagination.
757764
758765 Filter by `configuration_id`, `status`, `document_input_value`, or creation date
759- range. Results are returned newest-first.
766+ range. Results are returned newest-first. Use `expand=configuration` to include
767+ the full configuration used, and `expand=extract_metadata` for usage metrics and
768+ per-field metadata.
760769
761770 Args:
762771 configuration_id: Filter by configuration ID
@@ -769,6 +778,8 @@ def list(
769778
770779 document_input_value: Filter by document input value
771780
781+ expand: Additional fields to include: configuration, extract_metadata
782+
772783 job_ids: Filter by specific job IDs
773784
774785 page_size: Number of items per page
@@ -800,6 +811,7 @@ def list(
800811 "created_at_on_or_before" : created_at_on_or_before ,
801812 "document_input_type" : document_input_type ,
802813 "document_input_value" : document_input_value ,
814+ "expand" : expand ,
803815 "job_ids" : job_ids ,
804816 "organization_id" : organization_id ,
805817 "page_size" : page_size ,
@@ -939,12 +951,12 @@ async def get(
939951 """
940952 Get a single extraction job by ID.
941953
942- Returns the job status, configuration, and results when complete. Use
943- `expand=extract_metadata` to include usage metrics and per-field metadata
944- (citations, confidence scores) .
954+ Returns the job status and results when complete. Use `expand=configuration` to
955+ include the full configuration used, and `expand=extract_metadata` for usage
956+ metrics and per-field metadata .
945957
946958 Args:
947- expand: Additional fields to include: extract_metadata
959+ expand: Additional fields to include: configuration, extract_metadata
948960
949961 extra_headers: Send extra headers
950962
0 commit comments