RunsResponseJobrunsInnerMetrics

pydantic model openapi_client.models.runs_response_jobruns_inner_metrics.RunsResponseJobrunsInnerMetrics

Present on unstructured completed runs. Structured runs omit Metrics.

Fields:
field files_failed: Optional[StrictInt] = None (alias 'FilesFailed')

Documents that failed to index.

field modified_files_indexed: Optional[StrictInt] = None (alias 'ModifiedFilesIndexed')

Modified documents indexed.

field sources_attached: Optional[StrictInt] = None (alias 'SourcesAttached')

Number of sources included in the sync.

field files_deleted: Optional[StrictInt] = None (alias 'FilesDeleted')

Documents deleted during the sync.

field metadata_files_modified: Optional[StrictInt] = None (alias 'MetadataFilesModified')

Metadata documents modified.

field new_files_indexed: Optional[StrictInt] = None (alias 'NewFilesIndexed')

New documents indexed.

field files_scanned: Optional[StrictInt] = None (alias 'FilesScanned')

Documents scanned.

field metadata_files_scanned: Optional[StrictInt] = None (alias 'MetadataFilesScanned')

Metadata documents scanned.

to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of RunsResponseJobrunsInnerMetrics from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of RunsResponseJobrunsInnerMetrics from a dict

Return type:

Optional[Self]