InsertDocumentRequest

October 23, 2025 ยท View on GitHub

Object containing data for inserting a new document into the table

Properties

NameTypeDescriptionNotes
tablestrName of the table to insert the document into
clusterstrName of the cluster to insert the document into[optional]
idintDocument ID. If not provided, an ID will be auto-generated[optional]
docobjectObject containing document data

Example

from manticoresearch.models.insert_document_request import InsertDocumentRequest

# TODO update the JSON string below
json = "{}"
# create an instance of InsertDocumentRequest from a JSON string
insert_document_request_instance = InsertDocumentRequest.from_json(json)
# print the JSON string representation of the object
print(InsertDocumentRequest.to_json())

# convert the object into a dict
insert_document_request_dict = insert_document_request_instance.to_dict()
# create an instance of InsertDocumentRequest from a dict
insert_document_request_from_dict = InsertDocumentRequest.from_dict(insert_document_request_dict)

[Back to Model list] [Back to API list] [Back to README]